From: "Allen Lau" <pflau@us.ibm.com>
To: Julian Anastasov <ja@ssi.bg>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] strict interface arp patch for Linux 2.4.2
Date: Sat, 22 Sep 2001 22:14:38 -0400 [thread overview]
Message-ID: <OFF8C7D800.364E6389-ON85256AD0.00046061@raleigh.ibm.com> (raw)
Hello,
> > In this example, 1.1.1.11 2.2.2.22 are virtual ip's which can float
between
> > boxes and interfaces.
> > I want virtual ip 1.1.1.11 to be known to clients through eth0 node1
> > (2.2.2.22 eth1 node2). Node1 can redirect 1.1.1.11 traffic to eth0
node2.
> > node1 node2
> > lo:1 1.1.1.11 lo:1 1.1.1.11
> > lo:2 2.2.2.22 lo:2 2.2.2.22
> >
> > eth0 1.1.1.1 eth1 2.2.2.1 eth0 1.1.1.2 eth1 2.2.2.2
> > eth0:1 1.1.1.11 eth1:1 2.2.2.22
> >
arp_filter is not enough:
with arp_filter enabled, both node 1 and 2 will answer to "who is 1.1.1.11?".
hidden patch + arp_filter:
If the hidden and arp_filter patches can be applied on top of each other(?),
one still has to be careful configuring the system. In the example with
loopback hidden, you'll notice that no one will answer "who is 1.1.1.11?".
Further, arp_filter (which is based on routing) may have side effects from
asymmetric routing, multiple nic's on same subnet, and default routes.
This example illustrates the problem and that the distributions does not have
enough to solve. In addition, I need something simpler for field deployment.
Strict_interface_arp I hope will provide the needed simplicity and control.
> The question is why you want 2.2.2.1 to be advertised as source
> through eth0 ? May be your question is wrong and should contain eth1?
> inet_select_addr() obviously selects source IP from the device you
> request.
That's the "arp flux" problem which strict_interface_arp solves.
In Linux arp requests, it is possible for 2.2.2.1 eth1 node1 to be advertised
as source by eth0 node1. For illustration, eth0 is 10/100M and eth1 is gigabit.
It'll cause clients to redirect traffic for the gigabit to the 10/100M port.
It does not appear rp_filter can solve this.
Regards
Allen Lau
--
Julian Anastasov <ja@ssi.bg>
next reply other threads:[~2001-09-23 2:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-23 2:14 Allen Lau [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-09-24 21:54 Allen Lau
[not found] <OFF8C7D800.364E6389-ON85256AD0.00046061@raleigh.ibm.com >
2001-09-23 14:23 ` Julian Anastasov
2001-09-20 23:34 Allen Lau
2001-09-20 16:12 Allen Lau
2001-09-20 18:18 ` David S. Miller
2001-09-20 22:19 ` 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=OFF8C7D800.364E6389-ON85256AD0.00046061@raleigh.ibm.com \
--to=pflau@us.ibm.com \
--cc=ja@ssi.bg \
--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
all inboxes | Powered by JetHome®