Displaying 1 result from an estimated 1 matches for "tunip".
Did you mean:
tulip
2005 Mar 23
2
limiting bandwidth on iface
...37 $tc qdisc add dev $tun parent 1:20 handle 20: sfq perturb 5
~ 38
~ 39 # now take care of what is up- and what ist down-steam
~ 40 U32="$tc filter add dev $tun protocol ip parent 1:0 prio 1 u32"
~ 41 # everything that is from me is upstream
~ 42 $U32 match ip src $tunip flowid 1:20
~ 43 # everthing that comes to me is downstream
~ 44 $U32 match ip dst $tunip flowid 1:10
- -----snap-----
eplanations:
$tunip is the ip of this end of the tunnel
$tc = tc
OK, I tryied this setup and noticed that approximately every 60 seconds,
the bandwidth gues up to about 2...