debasis das
2010-Sep-13 09:41 UTC
[Bridge] help needed regarding configuration for bridging
Hi all, I have a Linux box with 3 interfaces eth0,eth1 and eth2. Could anyone please let me know whether the following configuration would be valid : *#brctl addbr br1 #brctl addif br1 eth1 #ifconfig br1 up # brctl show bridge name bridge id STP enabled interfaces br1 8000.001000000007 no eth1 # brctl addbr br0 # brctl addif br0 eth0 # ifconfig br0 up # vconfig add br0 5 # brctl addif br1 br0.5 # brctl show bridge name bridge id STP enabled interfaces br1 8000.001000000006 no br0.5 eth1 br0 8000.001000000006 no # # ifconfig br0.5 up* Thanks. Debasis -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20100913/8c9e7f95/attachment.htm
Stephen Hemminger
2010-Sep-13 14:54 UTC
[Bridge] help needed regarding configuration for bridging
On Mon, 13 Sep 2010 15:11:21 +0530 debasis das <fordebasis at gmail.com> wrote:> Hi all, > I have a Linux box with 3 interfaces eth0,eth1 and eth2. > Could anyone please let me know whether the following configuration > would be valid : > > *#brctl addbr br1 > #brctl addif br1 eth1 > #ifconfig br1 up > # brctl show > bridge name bridge id STP enabled interfaces > br1 8000.001000000007 no eth1 > > > # brctl addbr br0 > # brctl addif br0 eth0 > # ifconfig br0 up > # vconfig add br0 5 > # brctl addif br1 br0.5A bridge can not be added to a bridge. --