Re: bridge and ip addresses on enslaved interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shawn Delaney schreef:
> In the documentation I've seen so far a bridge is created with no IP address for its enslaved interfaces and optionally with an IP address on the bridge interface. For example, I create a bridge like so:
>
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
>
> ifconfig eth0 0.0.0.0
> ifconfig eth1 0.0.0.0
> ifconfig br0 10.0.0.10 netmask 255.255.0.0
>
>
> This works fine. However if I do the following:
>
> ifconfig eth0 10.0.0.10 netmask 255.255.0.0
> ifconfig eth1 10.1.0.10 netmask 255.255.0.0
> ifconfig br0 0.0.0.0
>
>   
Sounds like you want to make a brouter. You can use the ebtables broute
table for that. See:
http://ebtables.sourceforge.net/examples/basic.html#ex_brouter

cheers,
Bart


-- 
Bart De Schuymer
www.artinalgorithms.be

_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux