From madghost, 3 Months ago, written in Plain Text.
  1. local network 172.31.99.0/24 my computer 172.31.99.2/32
  2. Scheme: LAN -> eth0 -> Linux server -> eth1 -> Internet
  3.  
  4.  
  5. tc qdisc add dev eth0 root handle 1: htb default 100
  6. tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit
  7.  
  8. tc class add dev eth0 parent 1:1 classid 1:100 htb rate 1mbit
  9. tc class add dev eth0 parent 1:1 classid 1:2 htb rate 10mbit
  10.  
  11. tc filter add dev eth0 protocol ip parent 1:0 prio 1 u32 match ip src 172.31.99.0/24 flowid 1:2
  12.  
  13. tc -s class dev eth0
  14.  
  15. no traffic on class 1:2 why ?
  16.  
  17.  

Replies to tc filter match dosn't work rss

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