Re: vlan traffic shaping.

Linux Advanced Routing and Traffic Control

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

 



hello. I soon will have similar problem.

Do you know any vlan hardware switches from middle shelf price which can shape traffic on one interface between different vlans on it? With borrowing, not borrowing and priorityzing?

Linux1--34rmbit----hw_switch--34m--linux2
                             \--internet

On linux box side i consider  such scenario of solving my problem.
Vlan1=linux1-linux2
Vlan2=linux1-internet
Vlan3=linux2-internet

Vlan1+vlan2=34m, vlan2 cir=8 mbit
Vlan3 cir=8 mbit
All in duplex.

So i will create 2 queues in linux1, one for vlan1 and one for vlan2.
Build script that will do:
 tc -s ls dev eth0.1
Tc -s ls dev eth0.2

the script will be executed every second and will look for total bandwidth... When sum exceeds 33 mbits it will then set :
Tc class replace / qdisc replace, to decrease the bandwidth of vlan1, to improve vlan2.

I consider some checking of external link statistics if needed.

What do you think about that, if i cannot mix queues of eth0, eth0.1 and eth0.2 ???



_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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