I have downloaded sol_qemu_tap that wrapper for TAP,
run the script
#./sol_qemu_tap dsl.sh
Now I can see the tap0 when qemu is running.
# ifconfig tap0
tap0: flags=1000851<UP,POINTOPOINT,RUNNING,MULTICAST,IPv4> mtu 1500 index 34
inet 192.168.10.250 --> 192.168.10.10 netmask ffffff00
ether a:0:20:1b:dd:b
Where 192.168.10.250 is the address of the QEMU Host and 192.168.10.10 is the
address assigned to the QEMU Guest.
Below is QEMU host(solaris 10 x86 u3) interface's status:
# ifconfig iwi0
iwi0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 32
inet 192.168.1.10 netmask ffffff00 broadcast 192.168.1.255
ether 0:e:35:d4:75:b3
When the QEMU guest(windows 2003) boot,I changed the network configuration
ip address:192.168.10.10
netmasks:255.255.255.0
default gateway:192.168.10.250
But QEMU guest could't communicate with QEMU host,the QEMU guest could't
receive
anything packet,could't ping QEMU host,why?
--
This message posted from opensolaris.org