---- stevens <teawater at vip.163.com> wrote: > Thank you for your reply. > I want to access Internet in QEMU guest,so I had tried two meanings.
> > When I run the QEMU,my solaris host configurated this: > # ifconfig -a > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 > index 1 > inet 127.0.0.1 netmask ff000000 > bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 > inet 192.168.1.250 netmask ffffff00 broadcast 192.168.1.255 > ether 0:11:43:44:2:8e > tap0: flags=1002851<UP,POINTOPOINT,RUNNING,MULTICAST,UNNUMBERED,IPv4> mtu > 1500 index 6 > inet 192.168.1.250 --> 192.168.1.10 netmask ffffff00 > ether a:0:20:38:50:a9 The problem is that you have set both your network for the bge0 and the tap0 to the same address. Try a different address for you bge0 > And QEMU guest(windows 2003) use rtl8139 nic,I have configured guest in this: > ip address:192.168.1.10 > netmask:255.255.255.0 > default gateway:192.168.1.250 > But guest receive nothing. You have two interfaces with the same IP address. No surprise there. > > (2)When started qemu like this: > /usr/local/bin/qemu -net nic,model=rtl8139 -net user -hda > /export/home/stevens/windows/win2003/win2003.img -localtime -kernel-kqemu > Now I set guest OS DHCP client,but guest can't get any ip address. I have to suspect Win2003 is the culprit. Check the rtl8139 driver in win2003.
