[iproute2] iproute2 question
From: thomas yang <hidden>
Date: 2010-03-22 17:13:00
quoted
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')