All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Proxy Arp with same left/right IP address.
@ 2002-02-13 15:35 Adrian Chung
  2002-02-13 15:52 ` Ard van Breemen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Adrian Chung @ 2002-02-13 15:35 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-13 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-13 15:35 [LARTC] Proxy Arp with same left/right IP address Adrian Chung
2002-02-13 15:52 ` 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

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.