Shaping per machine

Linux Advanced Routing and Traffic Control

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

 




I'm trying to shape each machine on an interface to 256k each, but I'm getting stuck and only able to shape an entire interface to 256k. What should I be doing differently here?

tc qdisc del dev eth0 root

tc qdisc add dev eth0 root handle 1: htb default 10

tc class add dev eth0 parent 1: classid 1:1 htb rate 100MBit ceil 100MBit

tc qdisc add dev eth0 parent 1:10 handle 110: sfq perturb 10

tc class add dev eth0 parent 1:1 classid 1:10 htb \
        rate 256kbit ceil 256kbit prio 0

tc filter add dev eth0 parent 1:0 protocol ip pref 1 u32 \
        match ip src 10.7.15.0/24 flowid 1:10
Thanks
dave



--
Dave Weis
djweis@xxxxxxxxxxxxxxxxxx
http://www.internetsolver.com/

_______________________________________________
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