I have two machines connected through a switch
one with a multihomed debian lenny machine
eth1 dhcp to cable modem
eth0 ip no 192.168.0.2 nm 255.255.255.0
another
windows xp machine
eth0 192.168.0.3
I can ping from the windows machine successfully. But when I tries to do the same from the linux machine, it waits for a long time.
When I issue the arp command
Address HWtype HWaddress Flags Mask Iface116.68.80.1 ether 00:1B
5:FF:69:05 C eth1
192.168.0.3 ether 00:1C:C0
E
2:14 C
sun:/home/sunil# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 192.168.0.2 255.255.255.0 UG 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
116.68.80.0 * 255.255.240.0 U 0 0 0 eth1
default 116.68.80.1 0.0.0.0 UG 0 0
sun:/home/sunil# tcpdump
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
09:38:19.814396 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 1, length 64
09:38:20.824139 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 2, length 64
09:38:21.824188 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 3, length 64
09:38:22.824230 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 4, length 64
09:38:23.824266 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 5, length 64
09:38:24.812289 arp who-has 192.168.0.3 tell 192.168.0.2
09:38:24.812363 arp reply 192.168.0.3 is-at 00:1c:c0:de:d2:14 (oui Unknown)
09:38:24.824309 IP 192.168.0.2 > 192.168.0.3: ICMP echo request, id 22550, seq 6, length 64
8 packets captured
8 packets received by filter
0 packets dropped by kernel