mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: andrew may <acmay@acmay.homeip.net>
To: kernel list <linux-kernel@vger.kernel.org>
Cc: netdev@oss.sgi.com
Subject: 2.4.12 problems with routes
Date: Fri, 19 Oct 2001 15:13:26 -0700	[thread overview]
Message-ID: <20011019151326.A13503@ecam.san.rr.com> (raw)

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


                 reply	other threads:[~2001-10-19 22:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019151326.A13503@ecam.san.rr.com \
    --to=acmay@acmay.homeip.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome