Hi folks, I’m trying to shape two
clients in my LAN when accessing the internet. Actual situation is that EVERY
traffic goes into When I disable the definition
of As I’m somewhat new to
this, I’m stuck and don’t know what I have to change in order to
make it work. Here’s part of the
script: tc qdisc tc qdisc del dev $DEV ingress 2>
/dev/null > /dev/null iptables -t mangle -A FORWARD -s 192.168.0.51/29 -j MARK --set-mark 8 iptables -t mangle -A FORWARD -s
192.168.0.55/29 -j MARK --set-mark 128 ###### uplink tc qdisc add dev $DEV root handle 1: htb default 20 tc class add dev $DEV parent 1: classid 1:1 htb rate ${UPLINK}kbit burst 6k tc class add dev $DEV parent 1:1 classid burst 6k prio 1 tc class add dev $DEV parent 1:1 classid burst 6k prio 2 tc class add dev $DEV parent 1:1 classid tc class add dev $DEV parent 1:1 classid tc qdisc add dev $DEV parent tc qdisc add dev $DEV parent tc qdisc add dev $DEV parent tc qdisc add dev $DEV parent tc filter add dev $DEV parent 1:0 protocol
ip prio 10 u32 \ match ip tos 0x10 0xff flowid 1:10 tc filter add dev $DEV parent 1:0 protocol
ip prio 10 u32 \ match ip protocol 1
0xff flowid 1:10 tc filter add dev $DEV parent 1: protocol
ip prio 10 u32 \
match ip protocol 6 0xff \ match u8
0x05 0x0f at 0 \ match u16
0x0000 0xffc0 at 2 \ match u8
0x10 0xff at 33 \ flowid 1:10 tc filter add dev $DEV parent 1:0 protocol ip prio 30 handle 8 fw flowid tc filter add dev $DEV parent 1:0 protocol ip prio 40 handle 128 fw flowid Can someone help me out ? What goes wrong here ? Thanks in advance. Stephan. |