Displaying 5 results from an estimated 5 matches for "1400kbit".
Did you mean:
100kbit
2006 Feb 16
2
tc filter problem
...ly use on a different system currently. Is this a
tc/iproute/kernel type incompatibility? Any ideas how to debug it?
Thanks, Jeremy
# create a qdisc on T1 interface
tc qdisc add dev w1g1 root handle 1: htb default 77
OK
# create a master class
tc class add dev w1g1 parent 1: classid 1:1 htb rate 1400kbit
OK
# create a leaf class
tc class add dev w1g1 parent 1:1 classid 1:10 htb rate 175kbit \
ceil 1400kbit prio 0
OK
# create a SFQ qdisc within our subclass
tc qdisc add dev w1g1 parent 1:10 handle 10: sfq perturb 10
OK
# filter traffic on iptables mark 10
tc filter add dev w1g1 parent 1:0 pr...
2003 Jun 12
11
htb problem
...th htb , I set up root class and
sub-classess:
$TC qdisc add dev eth0 root handle 1: htb
$TC class add dev eth0 parent 1: classid 1:1 htb rate 1990kbit ceil 2000kbit
$TC class add dev eth0 parent 1:1 classid 1:10 htb rate 190kbit ceil 200kbit
$TC class add dev eth0 parent 1:1 classid 1:11 htb rate 1400kbit ceil
1600kbit
$TC class add dev eth0 parent 1:1 classid 1:12 htb rate 1000kbit ceil
1500kbit
$TC class add dev eth0 parent 1:1 classid 1:13 htb rate 1000kbit ceil
1500kbit
$TC class add dev eth0 parent 1:1 classid 1:14 htb rate 1000kbit ceil
1200kbit
, filters and queuing disciplines :
#filter
$TC...
2007 Feb 14
0
Marking packets with iptables (NEWBIE)
...default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 3000kbit ceil 6000kbit
burst 15k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 2000kbit ceil
4000kbit burst 15k
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 1400kbit ceil
2000kbit burst 15k
tc qdisc add dev eth0 parent 1:20 handle 20: sfq perturb 10
Then I mark the packet with this commands:
iptables -F -t mangle
iptables -A PREROUTING -t mangle -p tcp --sport 80 -j MARK --set-mark 2
And I realize the filter:
tc filter add dev eth0 protocol ip parent 1:0 prio...
2009 Apr 30
15
Shorewall Firewall con Openswan and OpenVPN
Hello guys,
I past the last days trying to configure my shorewall 4.06 firewall to
allow openvpn bridging connection.
My scenario is the following:
roadwarrior (openvpn client) -------------> Internet ------------>
(X.Y.W.Z - eth0) Firewall/Gateway (10.x.x.254 - eth1) --------> Local
Lan -------> OpenVPN Server (10.x.x.249 - br0)
where 10.x.x.0-254 is my private lan
X.Y.Z.W is
2007 Aug 30
17
Question about how TC enforces bandwidth limiting
Hello,
I run one of my PCs as my personal router, with iptables+tc to control
traffic and be my firewall.
In TC, I use a combination of htb, qdisc and sfq (as well as prio) to
classify bandwidth. In my current setup, I have 10 classifications of my
bandwidth. (Even I admit this is probably more than I need, but at this
point I''m still learning, so I''ll just leave them be.)