All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] help needed regarding configuration for bridging
@ 2010-09-13  9:41 debasis das
  2010-09-13 14:54 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: debasis das @ 2010-09-13  9:41 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 712 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 965 bytes --]

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

* Re: [Bridge] help needed regarding configuration for bridging
  2010-09-13  9:41 [Bridge] help needed regarding configuration for bridging debasis das
@ 2010-09-13 14:54 ` Stephen Hemminger
  2010-09-13 18:29   ` Simon Barber
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2010-09-13 14:54 UTC (permalink / raw)
  To: debasis das; +Cc: bridge

On Mon, 13 Sep 2010 15:11:21 +0530
debasis das <fordebasis@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.5

A bridge can not be added to a bridge.

-- 

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

* Re: [Bridge] help needed regarding configuration for bridging
  2010-09-13 14:54 ` Stephen Hemminger
@ 2010-09-13 18:29   ` Simon Barber
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Barber @ 2010-09-13 18:29 UTC (permalink / raw)
  To: bridge

I think you're looking for more vlan capability than the current Linux 
bridging code has. I posted a patch a few years back to add vlan aware 
bridging to the kernel - it would be great if someone updated it to the 
current kernel. Here's a reference:

https://lists.linux-foundation.org/pipermail/bridge/2006-September/005046.html

Simon


On 09/13/2010 07:54 AM, Stephen Hemminger wrote:
> On Mon, 13 Sep 2010 15:11:21 +0530
> debasis das<fordebasis@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.5
>
> A bridge can not be added to a bridge.
>

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

end of thread, other threads:[~2010-09-13 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-13  9:41 [Bridge] help needed regarding configuration for bridging debasis das
2010-09-13 14:54 ` Stephen Hemminger
2010-09-13 18:29   ` Simon Barber

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.