From: David L. <dav...@st...> - 2001-08-28 01:39:44
|
Hello all: Anyone see where I might have gone wrong? uml invocation: linux eth0=ethertap,tap0,fe:fd:0:0:0:1,192.168.0.254 con0=fd:0 ; fd:1 con=pty after uml boot on uml machine: uml-tenacity:~# ifconfig eth0 Link encap:Ethernet HWaddr FE:FD:00:00:00:01 inet addr:192.168.0.200 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1484 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 Interrupt:4 uml-tenacity:~# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface router * 255.255.255.255 UH 0 0 0 eth0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default router 0.0.0.0 UG 0 0 0 eth0 default router 0.0.0.0 UG 1 0 0 eth0 on host machine: [root@tenacity /root]# ifconfig tap0 Link encap:Ethernet HWaddr FE:FD:00:00:00:00 inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:174 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 Interrupt:5 [root@tenacity /root]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.200 * 255.255.255.255 UH 0 0 0 tap0 171.64.72.0 * 255.255.255.0 U 0 0 0 eth0 192.168.0.0 * 255.255.255.0 U 0 0 0 tap0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo Now if I try to ping either machine from the other, it complains that the host is unreachable. When I keep a tcpdump to monitor the interface, I see: 18:34:31.120252 > arp who-has 192.168.0.200 tell 192.168.0.254 (fe:fd:0:0:0:0) 18:34:32.120252 > arp who-has 192.168.0.200 tell 192.168.0.254 (fe:fd:0:0:0:0) When I ping from the host machine, and nothing when I ping from the virtual machine. However, there are no replies. It seems like the two interfaces are not connected somehow? Any advice is appreicated. Thanks... David Lie |