Displaying 1 result from an estimated 1 matches for "4000bps".
Did you mean:
8000bps
2003 Oct 12
1
couldn''t get available bandwith
...ach gateway, also,
acts as iptables NAT gateway.
The outgoing bandwith is 300 kbit, and we tried this (i.e.) on each tunnel:
tc qdisc add dev tun2 handle 1:0 root dsmark indices 4 default_index 0
tc qdisc add dev tun2 handle 2:0 parent 1:0 htb
tc class add dev tun2 parent 2:0 classid 2:1 htb rate 4000bps ceil 4000bps
tc class add dev tun2 parent 2:1 classid 2:2 htb rate 250bps ceil 1000bps
tc qdisc add dev tun2 handle 3:0 parent 2:2 sfq
tc class add dev tun2 parent 2:1 classid 2:3 htb rate 250bps ceil 3500bps
tc qdisc add dev tun2 handle 4:0 parent 2:3 sfq
tc class add dev tun2 parent 2:1 classid 2...