netdev
[Top] [All Lists]

2.4.12 problems with routes

To: kernel list <linux-kernel@xxxxxxxxxxxxxxx>
Subject: 2.4.12 problems with routes
From: andrew may <acmay@xxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2001 15:13:26 -0700
Cc: netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
I have a strange problem in 2.4.12 that a ping from 
my machine 172.25.4.9 to 192.168.12.1 works but a 
ping the other way does not.

The ping going out goes to the correct route but
a ping reply from the other machine goes to the
default route.

>From my setup, and a dump of 2 packets that show that MAC dst.

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


<Prev in Thread] Current Thread [Next in Thread>
  • 2.4.12 problems with routes, andrew may <=