Hello,

I am experiencing some odd behavior.  I have a host and guest running
2.6.17.8.  I can ping the UML guest from the host (and vice versa),
but the UML guest can not ping itself.

On the host I have a predefined tap interface:
tap0      Link encap:Ethernet  HWaddr C6:35:F3:11:66:F8
          inet addr:192.168.42.1  Bcast:192.168.42.3  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I run UML using tap0:
linux ubda=FedoraCore5-x86-root_fs root=/dev/ubda eth0=tuntap,tap0

And it starts up and has a eth0 with the following information:

[EMAIL PROTECTED] ~]# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr FE:FD:C0:A8:2A:02
          inet addr:192.168.42.2  Bcast:192.168.42.3  Mask:255.255.255.252
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:5

I can ping the host from the guest:
[EMAIL PROTECTED] ~]# ping -c 1 192.168.42.1
PING 192.168.42.1 (192.168.42.1) 56(84) bytes of data.
64 bytes from 192.168.42.1: icmp_seq=1 ttl=64 time=22.7 ms

--- 192.168.42.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 22.760/22.760/22.760/0.000 ms

And conversely the guest from the host:
[EMAIL PROTECTED] ~]$ ping -c 1 192.168.42.2
PING 192.168.42.2 (192.168.42.2) 56(84) bytes of data.
64 bytes from 192.168.42.2: icmp_seq=0 ttl=64 time=2.92 ms

--- 192.168.42.2 ping statistics ---1 packets transmitted, 1 received,
0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.925/2.925/2.925/0.000 ms, pipe 2

However the guest can't ping itself:
[EMAIL PROTECTED] ~]# ping -c 1 192.168.42.2
PING 192.168.42.2 (192.168.42.2) 56(84) bytes of data.

--- 192.168.42.2 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

Any suggestions?

Thanks,
Charles

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to