LARTC
[Top] [All Lists]

[LARTC] ip route tos not always work

To: lartc@mailman.ds9a.nl
Subject: [LARTC] ip route tos not always work
From: "Michael Chung" <hcccc.chung@gmail.com>
Date: Fri, 29 Jun 2007 23:39:21 +0800
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oYQEk4t4rWQhMlCfc5Ozh0SBJE2VG+Ta/cAFPQvok36/SdhjhgglJ0X/tKrRSbY7j3vMJ2pz7jrZ0xABxvxRFQ8V/YC+VPdQhBJQb8ak+0SKZvi5BgCwFfwyOOIJmk1/prjFBRwD5ATSJtXbMCF+QZt1r7rUOsL6avAnI/QvFTE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iKU1DWS3JtDrIkGN2V1uWC6wRWz9U8L7BDpqIV3gvFuNXB9vG+k67E//jKouXh3O74WHC8QfPufO4LymtBrg/P3AKNenQW4tv9PGTW61TYZMXpve+HeJmCL8i7K941WYwRb0rIrJDlqmrdlUqwwCrYGBhwufJGPgjyMr8J1Mb+o=
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
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@stu.ust.hk
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>