Help I need some help in order to use networking inside lguest.
I always get some strange errors, and networking doesn't work. I tried the http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img image. I modprobe tun. I lanch lguest as root: lguest --tunnet=10.0.2.15 --block=initrd-1.1-i386.img 48 /usr/src/linux/arch/i386/boot/bzImage root=/dev/vda ro And networking at best doesn't work at all, and at worst crash lguest. Here is what I did: I check that the tap0 interface exist: It exist and it has 10.0.2.15 IP. Inside lguest, I type: ifconfig eth0 10.0.2.2 ping -c 2 10.0.2.15 PING 10.0.2.15 (10.0.2.15): 56 data bytes --- 10.0.2.15 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss A tcpdump inside the host show me: [EMAIL PROTECTED]:~# tcpdump -n -i tap0 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on tap0, link-type EN10MB (Ethernet), capture size 96 bytes 10:12:53.097598 arp who-has 10.0.2.15 tell 10.0.2.2 10:12:53.136157 arp reply 10.0.2.15 is-at 00:ff:91:46:d5:ea 10:12:54.096546 arp who-has 10.0.2.15 tell 10.0.2.2 10:12:54.096621 arp reply 10.0.2.15 is-at 00:ff:91:46:d5:ea 10:12:55.096637 arp who-has 10.0.2.15 tell 10.0.2.2 10:12:55.096712 arp reply 10.0.2.15 is-at 00:ff:91:46:d5:ea 10:13:38.271076 arp who-has 10.0.2.15 tell 10.0.2.2 10:13:38.271148 arp reply 10.0.2.15 is-at 00:ff:91:46:d5:ea It should be Ok, but ir don't work. I then figured that the Mac address of the interface tap0 is the same as the interface inside lguest. I tried a @[EMAIL PROTECTED]> ifconfig eth0 down @[EMAIL PROTECTED]> ifconfig eth0 hw ether 00:FF:91:46:D5:EB 10.0.2.2 up @[EMAIL PROTECTED]> ping -c 2 10.0.2.15 PING 10.0.2.15 (10.0.2.15): 56 data bytes virtio_net 1: id 0 is not a head! lguest: Guest moved used index from 23 to 160 [EMAIL PROTECTED]:~# And I come back inside the host! I tried to change the mac address inside the host but with no luck, it still doesn't ping. I tried to arping 10.0.2.2 from host, and still no reply. So here is my questions: -is it normal that the tap0 and eth0 inside lguest share the same MAC? -How can I setup my networking? -Do you have any lead? The lguest.txt just says it works, but I don't know where to search. Thanks for helping. Eurolines : Voyagez au meilleur prix : http://www.alinto.com/pub/ _______________________________________________ Lguest mailing list [email protected] https://ozlabs.org/mailman/listinfo/lguest
