Displaying 1 result from an estimated 1 matches for "sixfour".
2005 Apr 27
4
do I need to iptables mark in this scenario?
...h1 - many users
I''m using a NAT to allow my users Internet access.
On some users, I wish to shape their download speeds as to not overload
our outside connection.
Here is what I do to shape them at 64k down: (only two users shown in
this example(but I have hundreds that will be shaped))
SIXFOUR=64
DEV=eth1
# clean up qdiscs
tc qdisc del dev $DEV root 2> /dev/null > /dev/null
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 50mbit
# DELL
tc class add dev $DEV parent 1: classid 1:1 cbq rate ${SIXFOUR}kbit
allot 1500 prio 5 bounded isolated
tc filter add dev $DEV parent 1...