Re: Htb on trunked line

Linux Advanced Routing and Traffic Control

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

 



I have try to create vlan from both side, eth0.106 and eth1.106 also br0.106
but why traffic from vlan 106 didn't enter into eth0.106,eth1.106,br0.106
although there's traffic.

Here's the interfaces statistic :

br0       Link encap:Ethernet  HWaddr 00:04:75:DA:26:34
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4101545 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:255233879 (243.4 Mb)  TX bytes:0 (0.0 b)

br0.106   Link encap:Ethernet  HWaddr 00:04:75:DA:26:34
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:04:75:E9:58:B3
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2064270 errors:0 dropped:0 overruns:1 frame:0
          TX packets:2377003 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:152157356 (145.1 Mb)  TX bytes:342126806 (326.2 Mb)
          Interrupt:5 Base address:0xd800

eth0.106  Link encap:Ethernet  HWaddr 00:04:75:E9:58:B3
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth1      Link encap:Ethernet  HWaddr 00:04:75:DA:26:34
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2462723 errors:0 dropped:0 overruns:1 frame:0
          TX packets:1976909 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:348059246 (331.9 Mb)  TX bytes:146839806 (140.0 Mb)
          Interrupt:9 Base address:0xd880

eth1.106  Link encap:Ethernet  HWaddr 00:04:75:DA:26:34
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Here is tcpdump result from br0 :

14:47:00.374281 802.1Q vlan#106 P0 noc5.xxx.xxx.xx.33288 >
IP-160-227.xxx.xxx.xx.ssh: . ack 112 win 63712 <nop,nop,timestamp 9250021
146295576> (DF) [tos 0x10]
14:47:00.578201 802.1d config 8001.00:0a:b7:ea:fa:00.8002 root
8001.00:0a:b7:ea:fa:00 pathcost 0 age 0 max 20 hello 2 fdelay 15
14:47:00.579819 0:a:b7:ea:fa:2 > 1:0:c:cc:cc:cd snap ui/C len=39
14:47:00.698593 802.1Q vlan#102 P7 1:0:c:cc:cc:cd > 0:a:b7:ea:fa:2 snap ui/C
len=39
14:47:00.710374 802.1Q vlan#106 P7 1:0:c:cc:cc:cd > 0:a:b7:ea:fa:2 snap ui/C
len=39
14:47:01.215717 802.1Q vlan#1 P2 CDP v2, ttl=180s DevID 'sw2-customer-5thfl'
Addr (1): IPv4 192.168.2.6 PortID 'FastEthernet0/8' CAP 0x28[|cdp]

Any suggestion why ?


----- Original Message -----
From: "Ryan Goldberg" <rgoldber-list-lartc@xxxxxxxxxxxx>
To: "Kristiadi Himawan" <kristiadi_himawan@xxxxxxxxxx>
Sent: Thursday, October 02, 2003 1:43 AM
Subject: Re:  Htb on trunked line


> On Wed, 2003-10-01 at 13:41, Kristiadi Himawan wrote:
> > Dear All,
> >
> > I have configuration like this :
> >
> > DVB     Modem
> > |                |                                 ___Link A
> > \               /     trunk                    /
> > CiscoRouter ------------CiscoSwitch-------Link B
> >                                                  \___Link C
>
> Plug the linux box into the switch, set the link to dot1q, add
> subinterfaces on the linux box, set As and Cs routes to each other via
> the IPs on those subinterfaces, and do the shaping on those
> subinterfaces.  Should work no problem.
>
> Or are you trying to put the linux box in between the switch and
> router?  Then you'd have to talk dot1q to both devices and bridge each
> corresponding valn to each othter (e.g eth0.3 bridged with eth1.3) and
> do the shaping on those interfaces.  That should also work.
>
> Ryan
>
>
>
> I don't about trying to shape on a "raw" trunked link...
>
>

_______________________________________________
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