Skip to main content

Thread: Traffic Shaping per IP with TC


hello,

im trying shape download speed per ip using tc. i'm having limited sucess each ip hitting correct class based on filter define there huge amount of latency & seems shaping whole interface.

trying shape following ip's on vlan 41 , 150 respectively:
10.3.41.90 / 10.3.150.124

using following tc commands:

tc qdisc del dev eth3.41 root
tc qdisc del dev eth3.150 root

tc qdisc add dev eth3.41 root handle 1 htb default 10
tc class add dev eth3.41 parent 1: classid 1:1 htb rate 100mbit
tc class add dev eth3.41 parent 1: classid 1:10 htb rate 256kbit
tc filter add dev eth3.41 parent 1: protocol ip handle 800::90 prio 1 u32 match ip dst 10.3.41.90


tc qdisc add dev eth3.150 root handle 1 htb default 10
tc class add dev eth3.150 parent 1: classid 1:1 htb rate 100mbit
tc class add dev eth3.150 parent 1: classid 1:10 htb rate 256kbit
tc filter add dev eth3.150 parent 1: protocol ip handle 800::90 prio 1 u32 match ip dst 10.3.150.124


have attached 2 screens below showing each class working.

questions :

1 ) tc handle vlan interfaces correctly?
2 ) there anyway tune commands using reduce latency , delay?
3 ) commands using applying filters correctly?






appreciate can give me,
cheers
jm



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Traffic Shaping per IP with TC


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support