[Bridge] frame destinated to individual port MAC address

Stephen Hemminger shemminger at vyatta.com
Fri Aug 15 15:03:20 PDT 2008


On Fri, 15 Aug 2008 23:03:14 +0200
Benoit PAPILLAULT <benoit.papillault at free.fr> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Malcolm Scott a écrit :
> | At 22:06 today, Benoit PAPILLAULT wrote:
> |
> |> I am in a very preliminary phase, trying to learn how to implement
> |> routing and bridging under Linux. In order for the routing protocol to
> |> have proper topology view, it somehow needs to assign a unique IP on all
> |> interfaces and for bridging and those interfaces needs to be in the same
> |> bridge.
> |
> | By my understanding (and it's a while since I read that paper so I
> might be
> | wrong) you don't need unique IP addresses on all interfaces;
> everything uses
> | MAC addresses.  To quote section 4.2 of the draft:
> |
> |     o  it runs directly over Layer 2, so therefore may be run with zero
> |        configuration (no IP addresses need to be assigned)
> |
> 
> Correct since the spec is using IS-IS. However, i'd like to use OSPF
> instead. I'm reading IS-IS and OSPF details to understand whever a
> unique IP is needed per interface. A single IP over the whole would be
> more convenient I must admit.
> 

Linux has weak-address model so IP per interface is not going
to do what you expect. Use SO_BINDTODEVICE


More information about the Bridge mailing list