public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortelnetworks.com>
To: sourav@csa.iisc.ernet.in
Cc: linux-kernel@vger.kernel.org
Subject: Re: Arp problem
Date: Mon, 23 Jul 2001 16:13:16 -0400	[thread overview]
Message-ID: <3B5C855C.959ABB@nortelnetworks.com> (raw)
In-Reply-To: <Pine.SOL.3.96.1010724011120.10879A-100000@kohinoor.csa.iisc.ernet.in>

Sourav Sen wrote:
> 
> Hi,
>         I have a machine with multiple network cards with different IP
> addresses assigned. All are in the same network (I need this for
> whatever reason). But when a arp request
> appears on the wire for any of these IP addresses, all the interfaces go
> ahead and give their respective ethernet addresses against that IP
> address (I have seen this with tcpdump). This causes the other machines to
> pick up wrong ethernet address against the IP address.

Yep, this is the default behaviour since multiple links on one subnet is
an unusual situation (I ran into the same problem).  The solution is to apply
the arpfilter patch to the kernel, recompile, and then write a 1 to
/proc/sys/net/ipv4/conf/all/arp_filter to enable it for all interfaces.
This patch enforces that NICs will only respond to arps for IP addresses
that they own.

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com

  reply	other threads:[~2001-07-23 20:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-23 19:46 Arp problem Sourav Sen
2001-07-23 20:13 ` Chris Friesen [this message]
2001-07-24  1:03   ` Ben Greear
2001-07-24  1:10     ` Paul Jakma
2001-07-24  1:19       ` Ben Greear
2001-07-24  1:29         ` Paul Jakma
2001-07-24  1:24       ` Matthew Dharm
2001-07-24 12:09       ` Dominik Kubla
2001-07-24 12:17         ` Michael Poole
2001-07-24 14:03           ` Dominik Kubla
2001-07-24 14:15           ` Paul Jakma
2001-07-24 14:20         ` Paul Jakma
2001-07-24 16:34         ` Alan Cox
2001-07-24 20:31           ` Paul Jakma
2001-07-24 23:11             ` Alan Cox
2001-07-25 10:40               ` Dominik Kubla
2001-07-26  6:54                 ` Alexey Kuznetsov
2001-07-24  1:13     ` Chris Friesen

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=3B5C855C.959ABB@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sourav@csa.iisc.ernet.in \
    /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