mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "andrei.popa" <andrei.popa@i-neo.ro>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: "arp -s ip mac" doesn't work with newer kernels
Date: Wed, 26 Oct 2005 19:10:38 +0300	[thread overview]
Message-ID: <1130343038.6285.7.camel@ierdnac> (raw)


"arp -s ip mac" doesn't work:
I assign a static MAC to an IP, and if that IP changes his MAC, the
connection with the server still works. In previous kernels if the MAC
was different from the MAC assigned in "arp -s IP MAC" the client didn't
see the server, so no traffic was done between the client and the
server.

inoxid ~ # uname -a
Linux inoxid 2.6.13.1-inoxid17 #4 SMP Sun Sep 18 07:37:20 EEST 2005 i686
Pentium III (Coppermine) GenuineIntel GNU/Linux

(static entry done with "arp -s 85.120.33.151 00:11:D8:5F:91:9B" )
inoxid ~ # arp -an 85.120.33.151
? (85.120.33.151) at 00:11:D8:5F:91:9B [ether] PERM on eth1

inoxid ~ # arping -I eth1 85.120.33.151
ARPING 85.120.33.151 from 85.120.33.1 eth1
Unicast reply from 85.120.33.151 [00:11:D8:5F:8A:BD]  1.685ms
Unicast reply from 85.120.33.151 [00:11:D8:5F:8A:BD]  1.893ms
Sent 2 probes (1 broadcast(s))
Received 2 response(s)

inoxid ~ # tcpdump -i eth1 -e src host 85.120.33.151 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol
decode
listening on eth1, link-type EN10MB (Ethernet), capture size 68 bytes
19:07:59.044205 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 81.18.71.253.54062: .
3046778176:3046779636(1460) ack 3121120561 win 65256
19:07:59.044236 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 81.18.71.253.54062: .
1460:2920(1460) ack 1 win 65256
19:07:59.048841 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 84.234.110.106.3602: .
4280281117:4280282577(1460) ack 113703100 win 64982
19:07:59.048954 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 84.234.110.106.3602: .
1460:2920(1460) ack 1 win 64982
19:07:59.052030 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 84.234.110.106.3602: .
2920:4380(1460) ack 1 win 64982
19:07:59.052155 00:11:d8:5f:8a:bd > 00:b0:d0:49:24:87, ethertype IPv4
(0x0800), length 1514: IP 85.120.33.151.25693 > 84.234.110.106.3602: .
4380:5840(1460) ack 1 win 64982



                 reply	other threads:[~2005-10-26 16:12 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=1130343038.6285.7.camel@ierdnac \
    --to=andrei.popa@i-neo.ro \
    --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

Powered by JetHome