The ping going out goes to the correct route but
a ping reply from the other machine goes to the
default route.
On the echo req it has the correct dst, but on the echo reply
the dst is the default route.
The output is from 2 seperate pings and I cut down on the output.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.25.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.0.0 172.25.4.17 255.255.0.0 UG 0 0 0 eth0
0.0.0.0 172.25.3.1 0.0.0.0 UG 0 0 0 eth0
pie:~# arp -an
? (172.25.3.1) at 00:20:9C:13:08:24 [ether] on eth0
? (172.25.4.15) at 00:D0:B7:BF:D3:37 [ether] on eth0
? (172.25.4.17) at 00:60:08:A6:A4:3D [ether] on eth0
pie:~# tcpdump -r bad-mac -n -v -e
14:47:49.275170 0:d0:b7:3f:af:5 0:20:9c:13:8:24 0800 98: 172.25.4.9 > 192.168.12.1: icmp: echo reply (ttl 255, id 12687, len 84)
14:47:51.389840 0:d0:b7:3f:af:5 0:60:8:a6:a4:3d 0800 98: 172.25.4.9 > 192.168.12.1: icmp: echo request (DF) (ttl 64, id 0, len 84)
pie:~# route -n
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/