From madghost, 10 Months ago, written in Plain Text.
This paste is a reply to tc filter match dosn't work from madghost - go back
local network 172.31.99.0/24 my computer 172.31.99.2/32
Scheme: LAN -> eth0 -> Linux server -> eth1 -> Internet


tc qdisc add dev eth0 root handle 1: htb default 100
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit

tc class add dev eth0 parent 1:1 classid 1:100 htb rate 1mbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 10mbit

tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 172.31.99.0/24 flowid 1:2

tc -s class ls dev eth0

no traffic on class 1:2 why ?

Replies to Re: tc filter match dosn't work rss

Title Name Language When
Re: Re: tc filter match dosn't work madghost text 10 Months ago.
captcha