ip route tos not always work

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I need to setup different route with different tos value.

I can use the flowing command to add a tos route to routing table.
ip route 192.168.0.2/32 via 192.168.0.1 tos 0x1c and
ip route 192.168.0.2/32 via 192.168.0.1 tos 0x40

I used "ping -Q" to test it with different tos, the output packet is
marked correctly.

The problem that is only the tos value defined at
/etc/iproute/rt_dsfield can route base on the tos route. tos 0x1c work
but 0x40 not work.

Do any one know why?
Thank you!
--
Regards,
Michael Chung Pui Kei
Computer Engineering Year 3
School of Engineering
Hong Kong University of Science and Technology

Email Address: eg_cpkaa@xxxxxxxxxx
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux