From: Daniel Gryniewicz <dang@fprintf.net>
To: linux-kernel@vger.kernel.org
Subject: arp bug
Date: Mon, 7 Jan 2002 18:41:44 -0500 [thread overview]
Message-ID: <20020107184144.1bdc1ee2.dang@fprintf.net> (raw)
I've encountered what I believe to be an arp bug. Here's the situation:
I have quite a number of boxes, connected together via a number of networks.
(It's a routing testbed) In this case, there are two boxes in question, box A
and box B. Here's the relevent portion of the config of both boxes:
Box A: (netbsd)
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:b0:d0:99:e6:ab
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 10.131.10.22 netmask 0xff800000 broadcast 10.255.255.255
inet6 fe80::2b0:d0ff:fe99:e6ab%ex0 prefixlen 64 scopeid 0x5
inet6 fec0:0:0:30a::16 prefixlen 64
iso 47.0.5.80.ff.ff.0.0.0.6.0.0.0.0.0.a.83.a.16.0
netmask ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.0.0.0
fxp2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:02:b3:03:4f:05
media: Ethernet autoselect (100baseTX)
status: active
inet 10.3.37.22 netmask 0xffffff80 broadcast 10.3.37.127
inet6 fe80::202:b3ff:fe03:4f05%fxp2 prefixlen 64 scopeid 0x3
inet6 fec0:0:0:325::16 prefixlen 64
iso 47.0.5.80.ff.ff.0.0.0.4.0.0.0.0.0.a.3.21.16.0
netmask ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.ff.0.0.0
Box B: (linux 2.4.17)
eth0 Link encap:Ethernet HWaddr 00:B0:D0:99:E5:E6
inet addr:10.131.10.13 Bcast:10.255.255.255 Mask:255.128.0.0
inet6 addr: fe80::2b0:d0ff:fe99:e5e6/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7325 errors:0 dropped:0 overruns:1 frame:0
TX packets:416 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:5 Base address:0xe880
eth4 Link encap:Ethernet HWaddr 00:02:B3:03:4C:EE
inet addr:10.3.37.13 Bcast:10.3.37.127 Mask:255.255.255.128
inet6 addr: fe80::202:b3ff:fe03:4cee/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0x6000
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.3.37.0 0.0.0.0 255.255.255.128 U 40 0 0 eth4
0.0.0.0 10.254.10.1 0.0.0.0 UG 40 0 0 eth0
If I now change the default route on box B from 10.254.10.1 to 10.3.37.22
(using route del/route add), then Box B sends the following arp, captured via
tcpdump on box A:
17:49:12.393126 arp who-has 10.3.37.22 tell 10.131.10.13
This triggers a bug in NetBSD, which is how I found out about this, but should
that be "tell 10.3.37.13"? If it was, this would work. As near as I can
tell, Linux does this type of thing whenever I change my default route from
it's initial one to one on another interface. This bug occures in (at least)
2.4.17, 2.4.5, and 2.2.20, so it's probably in all versions.
Thanks,
Daniel
---
Recursion n.:
See Recursion.
-- Random Shack Data Processing Dictionary
next reply other threads:[~2002-01-07 23:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-07 23:41 Daniel Gryniewicz [this message]
2002-01-08 4:51 ` arp bug Szekeres Bela
-- strict thread matches above, loose matches on Subject: below --
2002-01-08 23:33 Julian Anastasov
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=20020107184144.1bdc1ee2.dang@fprintf.net \
--to=dang@fprintf.net \
--cc=linux-kernel@vger.kernel.org \
/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