Re: Htb on trunked line

Linux Advanced Routing and Traffic Control

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

 



Here is my scenario,

# create bridge 0
brctl addbr br0
brctl stp br0 off
brctl addif br0 eth0
brctl addif br0 eth1

ifconfig eth0 up
ifconfig eth1 up
ifconfig br0 up

#create vlan 106
vconfig add eth0 106
vconfig add eth1 106

#create bridge 106  (vlan 106)
brctl addbr br106
brctl addif br106 eth0.106
brctl addif br106 eth1.106

I expect packet with vlan 106 would go to br106 and the others to br0.

Am I right?

----- Original Message ----- 
From: "Ryan Goldberg" <rgoldber-list-lartc@xxxxxxxxxxxx>
To: "Kristiadi Himawan" <kristiadi_himawan@xxxxxxxxxx>
Cc: <lartc@xxxxxxxxxxxxxxx>
Sent: Monday, October 06, 2003 5:58 PM
Subject: Re:  Htb on trunked line


> On Mon, 2003-10-06 at 01:14, Kristiadi Himawan wrote:
> > So you already succeed on bridging per vlan,
> > could you tell me how to make such kind of configuration
> 
> I'll see if I can remember to grab the config from work today.  But
> there shouldn't be much do it.  For instance our linux box sits between
> a router and a 2924.  We trunk on port 24, and bridge 23 vlans across
> into ports 1 - 23.  The linux box has eth0 and eth1, and interfaces
> eth0.1, eth1.1 through eth0.23, eth1.23 are configured (vlans), and then
> we create 23 bridges br1 through br23 and apply shaping to eth0.x and
> eth1.x.
> 
> Ryan
> 
> _______________________________________________
> LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> 

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux