[Fedora-xen] Re: ARP failing when I ping from host to guest
kewlemer
kewlemer at gmail.com
Sat Oct 27 20:11:14 UTC 2007
> The problem is that I'm unable to ping from the host to the guest (to
> 192.168.122.195). tcpdump shows that guest is not responding to ARPs
> for 192.168.122.195. Can anyone tell me why?
>
To be more specific, I'm doing a tcpdump on guest's
eth0(192.168.122.195). When the host pings 192.168.122.195, I see
following -
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
12:15:49.058031 arp who-has 192.168.122.195 tell 192.168.122.1
12:15:51.065437 arp who-has 192.168.122.195 tell 192.168.122.1
12:15:52.069123 arp who-has 192.168.122.195 tell 192.168.122.1
12:15:53.071852 arp who-has 192.168.122.195 tell 192.168.122.1
12:15:55.077218 arp who-has 192.168.122.195 tell 192.168.122.1
When the guest's eth0 is receiving ARP for it's right IP address, why
is it not responding?
Here are the routing tables -
HOST-
[root at fed-amd64 ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window
irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0
0 0 eth0
192.168.122.0 0.0.0.0 255.255.255.0 U 0
0 0 virbr0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0
0 0 eth0
[root at fed-amd64 ~]#
GUEST-
[root at guest~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0
0 virbr0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0
0 0 eth0
0.0.0.0 192.168.122.1 0.0.0.0 UG 0
0 0 eth0
[root at guest ~]#
> When I ping from the guest to to 192.168.122.1 and 192.168.122.195,
> both go through. But when I ssh into either of them to make sure I'm
> reaching the host, the ssh lands into the guest itself. This means the
> ping response on the guest is from itself - so the guest is also
> unable to reach the host.
>
Please ignore this. I figured that I have to use host's
eth0(192.168.1.9) to access the host from the guest.
Thanks,
KM
More information about the Fedora-xen
mailing list