From: Ben Greear <greearb@candelatech.com>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: sourav@csa.iisc.ernet.in, linux-kernel@vger.kernel.org
Subject: Re: Arp problem
Date: Mon, 23 Jul 2001 18:03:03 -0700 [thread overview]
Message-ID: <3B5CC947.2E027588@candelatech.com> (raw)
In-Reply-To: <Pine.SOL.3.96.1010724011120.10879A-100000@kohinoor.csa.iisc.ernet.in> <3B5C855C.959ABB@nortelnetworks.com>
Chris Friesen wrote:
>
> 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.
The arp-filter patch is in the kernel since about 2.4.4, so you just need
to turn it on...
Ben
>
> --
> 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Ben Greear <greearb@candelatech.com> <Ben_Greear@excite.com>
President of Candela Technologies Inc http://www.candelatech.com
ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear
next prev parent reply other threads:[~2001-07-24 1:03 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
2001-07-24 1:03 ` Ben Greear [this message]
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=3B5CC947.2E027588@candelatech.com \
--to=greearb@candelatech.com \
--cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.