From: Sergey Popovich <popovich_sergei@mail.ru>
To: netdev@vger.kernel.org
Subject: Incorrect ARP behavior when multiple/none IPv4 address assigned to interface
Date: Tue, 23 Oct 2012 14:28:17 +0300 [thread overview]
Message-ID: <50867F51.3030500@mail.ru> (raw)
Hello!
We have following setup:
------------------------
PC1 | |
ip: 10.0.1.2/24 | | Linux Router (3.7-rc2)
gw: 10.0.1.1 |--------eth0-| Lo0: 10.10.10.10/32
| Lo255: 10.0.1.1/24
PC2 |--------eth1-| 10.0.2.1/24
ip: 10.0.1.3/24 | | eth[0-2]: no ip address
gw: 10.0.1.1 | | ip route 10.0.1.2/32 dev eth0 src 10.0.1.1
+-| ip route 10.0.1.3/32 dev eth1 src 10.0.1.1
| | ip route 10.0.2.2/32 dev eth2 src 10.0.2.1
PC3 |-----eth2--+
ip: 10.0.2.2/24 |
gw: 10.0.2.1 |
Problem with ARP Requests sent with incorrect source address
(10.10.10.10 instead of 10.0.1.1):
# tcpdump -vv -ieth0 -s1500 -nnpe 'arp'
13:28:57.395181 08:00:27:3b:63:ae > 0a:00:27:00:00:00, ethertype ARP
(0x0806), length 42: Ethernet (len 6),.
IPv4 (len 4), Request who-has 10.0.1.2 tell 10.10.10.10, length 28
13:28:58.395257 08:00:27:3b:63:ae > 0a:00:27:00:00:00, ethertype ARP
(0x0806), length 42: Ethernet (len 6),.
IPv4 (len 4), Request who-has 10.0.1.2 tell 10.10.10.10, length 28
13:28:59.395207 08:00:27:3b:63:ae > 0a:00:27:00:00:00, ethertype ARP
(0x0806), length 42: Ethernet (len 6),.
IPv4 (len 4), Request who-has 10.0.1.2 tell 10.10.10.10, length 28
13:29:01.393739 08:00:27:3b:63:ae > ff:ff:ff:ff:ff:ff, ethertype ARP
(0x0806), length 42: Ethernet (len 6),.
IPv4 (len 4), Request who-has 10.0.1.2 tell 10.0.1.1, length 28
13:29:01.393862 0a:00:27:00:00:00 > 08:00:27:3b:63:ae, ethertype ARP
(0x0806), length 60: Ethernet (len 6),.
IPv4 (len 4), Reply 10.0.1.2 is-at 0a:00:27:00:00:00, length 46
Detailed information about this (and other, that triggers same case with
ARP) network topology usage in real world
can be found at https://bugzilla.kernel.org/show_bug.cgi?id=49311
Sorry for early bug report.
--
SP5474-RIPE
Sergey Popovich
next reply other threads:[~2012-10-23 11:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-23 11:28 Sergey Popovich [this message]
2012-10-24 0:15 ` Incorrect ARP behavior when multiple/none IPv4 address assigned to interface Julian Anastasov
2012-10-24 7:18 ` Sergey Popovich
2012-10-24 9:06 ` Julian Anastasov
2012-10-24 10:37 ` Sergey Popovich
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=50867F51.3030500@mail.ru \
--to=popovich_sergei@mail.ru \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).