Displaying 2 results from an estimated 2 matches for "tosvalue".
Did you mean:
  to_value
  
2001 Feb 15
0
ip route - TOS argument does not allways work
...es, and tried
to do this with ip. I noticed that ip does not recognice all possible
values for the TOS byte, even when I enter them in
/etc/iproute/rt_dsfield.
to demonstrate this, I added prohibit rules for different marked packets
and tried if the packets are dropped when I try to "ping -Q tosvalue
<somehost>":
#: ip route add prohibit default tos 0xb8
#: ip route add prohibit default tos 0x11  
#: ip route add prohibit default tos 0x10 
#: ip route add prohibit default tos 0x02 
#: ip route
<some rules snipped>
prohibit default tos high 
prohibit default tos test 
prohibi...
2007 Nov 26
1
prio qdisc broken?
...each of the bands:
    INTERFACE=wifi0
    tc qdisc add dev $INTERFACE root handle 1: prio
    tc qdisc add dev $INTERFACE parent 1:1 handle 10: pfifo
    tc qdisc add dev $INTERFACE parent 1:2 handle 20: pfifo
    tc qdisc add dev $INTERFACE parent 1:3 handle 30: pfifo
Then I used "ping -Q TOSVALUE target" to send packets with different TOS
values  through the interface. "tcpdump -vvv" confirmed the correct TOS values
in the  outgoing packets.
With "tc -s qdisc ls dev wifi0" I could observe the effects of the  different TOS
values. The result: no effect at all! Every...