search for: protocop

Displaying 2 results from an estimated 2 matches for "protocop".

Did you mean: protocol
2007 Jan 08
0
TC on multiple nics
...EROUTING -j server-prerouting /sbin/iptables -t mangle -A server-prerouting -j CONNMARK --restore-mark # bridge traffic - input (eth0 -> eth1) /sbin/tc qdisc add dev eth1 handle 1: root htb default 1 /sbin/iptables -t mangle -A server-prerouting -m physdev --physdev-in eth0 --physdev-out eth1-j protocop-all /sbin/iptables -t mangle -A POSTROUTING -m physdev --physdev-in eth0 physdev-out eth1 -j server-all-chains /sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 3000Kbit /sbin/tc filter add dev eth1 parent 1:0 protocol all u32 match u32 0 0 classid 1:1 # bridge traffic - output (eth1 -&gt...
2006 Dec 13
0
classid, prio and position
...the lower classid or would it be the one which is first on the list? /sbin/tc class add dev eth1 parent 1:1 classid 1:11 htb rate 2000kbit ceil 2000kbit prio 3 quantum 1532 /sbin/iptables -t mangle -N test-chain-eth1-1:11 /sbin/iptables -t mangle -A test-all-chains -m connmark --mark 0x44444445 -j protocop-chain-eth1-1:11 /sbin/iptables -t mangle -A test-all -m physdev --physdev-in eth0 -s 192.168.2.0/24 -d 192.168.2.0/24 -j MARK --set-mark 0x44444445 /sbin/iptables -t mangle -A test-all -m physdev --physdev-in eth0 -s 192.168.2.0/24 -d 192.168.2.0/24 -j RETURN /sbin/tc class add dev eth1 parent 1:1...