qos with bridge

Linux Advanced Routing and Traffic Control

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

 



Hello ...
 
I try to build bridge with qos features but Im not success . Im using ebtables, kernel bridge support and tc but still cant get packets in correct class.
 
here's my config
ebtables:
 
ebtables -P INPUT ACCEPT
ebtables -P OUTPUT ACCEPT
ebtables -P FORWARD ACCEPT
ebtables -F
ebtables -A FORWARD -p ipv4 --ip-dst xx.xx.xx.xx -i eth0 -j mark --set-mark 1 --mark-target CONTINUE --log-ip
ebtables -A FORWARD -p ipv4 --ip-dst yy.yy.yy.yy -i eth0 -j mark --set-mark 2 --mark-target CONTINUE --log-ip

 

I see in log packet when is marked. But I cant see packet in correct class .

tc:

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 30

tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit burst 15k

tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 400kbit burst 15k
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 100kbit

tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
tc qdisc add dev eth0 parent 1:30 handle 30: pfifo

tc filter add dev eth0 parent 1: protocol ip prio 3 handle 1 fw classid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 3 handle 2 fw classid 1:20

Any advice ?

has anybody working configuration  with shaping on bridge ?
If yes can you  provide your config and infos what you used for it ?

thanks

 

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