All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Chung <adrian@enfusion-group.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Proxy Arp with same left/right IP address.
Date: Wed, 13 Feb 2002 15:35:15 +0000	[thread overview]
Message-ID: <marc-lartc-101361454812335@msgid-missing> (raw)

Hey everyone!  I came across this link today:

http://www.sjdjweis.com/linux/proxyarp/

Which I thought was very interesting.  But I don't quite understand
how, or what effect assigning the same IP address to both the left and
right side interfaces of the pseudo-bridge has.

In the article, the author describes a mechanism for being able to
shape/filter traffic to an entire ISP assigned subnet.

Basically, use proxy arp, assign the same ISP IP to both interfaces on
the router, and use iproute2 to create routes to the router on one
interface, and the rest of the network on the other.

It's almost identical to the Proxy-Arp/Pseudo Bridge part of the LARTC
HOWTO.

Except that I'm confused as to how the kernel deals with the fact that
both interfaces have the same IP address.

I guess logically it doesn't matter to the kernel, because the routes
clearly delineate which interface to send packets to, proxy-arp
connects the two LANs, and both interfaces have different MAC
addresses.

It just seems wrong. :)

--
Adrian Chung (adrian at enfusion-group dot com)
http://www.enfusion-group.com/~adrian
GPG Fingerprint: C620 C8EA 86BA 79CC 384C E7BE A10C 353B 919D 1A17
[toad.enfusion-group.com] up 1:44, 1 user, load average: 0.00

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

             reply	other threads:[~2002-02-13 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13 15:35 Adrian Chung [this message]
2002-02-13 15:52 ` [LARTC] Proxy Arp with same left/right IP address Ard van Breemen
2002-02-13 16:00 ` Adrian Chung
2002-02-13 16:07 ` Ard van Breemen
2002-02-13 16:13 ` Adrian Chung

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=marc-lartc-101361454812335@msgid-missing \
    --to=adrian@enfusion-group.com \
    --cc=lartc@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 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.