[<prev] [next>] [day] [month] [year] [list]
Message-ID: <f4f837ab1003221012q37a5e6cdg2aac2aad06b7446e@mail.gmail.com>
Date: Tue, 23 Mar 2010 01:12:57 +0800
From: thomas yang <lampsu@...il.com>
To: netdev@...r.kernel.org
Subject: [iproute2] iproute2 question
>>
>> I want to reduce the packet loss that happens while routers converge
>> after a topology change due to a failure, use precalculated backup
>> table to do rapid failure repair (repair faster than routing daemon,
>> fast reroute).
>> I do static routing on my linux routers. When some link failed,
>> I want to use backup tables to route packets. Can iproute2 do this?
>
> You could probably kludge something with multiple route tables
> and modifying a single 'ip rule'.
> Something like:
> http://www.linuxhorizon.ro/iproute2.html
>
I want to use different routing tables with different TOS (or DSCP)
e.g.
iptables -t mangle -A PREROUTING -j TOS --set-tos 0x10
...
then,
ip rule add tos 0x10 table 100
ip rule add tos 0x08 table 200
...
but there are only five TOS values 0x00,0x02,0x04,0x08,0x10. I need
more TOS values.
Does cmd 'ip rule' support DSCP ? (e.g. 'ip rule add dscp 0x11 tables 10')
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists