Here is the scenario

0. Linux System: Linux ubuntumega2 2.6.17-10-server

1. I have one eth card and 3 dialup modems.

2. Connections come in thru eth card and go thru squid and then go out
thru the modems. Squid sets the TOS based on certain criteria.

3. I have script in ip-up.d to add routing rule(s) for each of the ppp
connections.

4. The thing was working fine for a while and then one fine day, I see
connections getting routed over to predominantly over ppp0 - thats
faster too.

5. Very rarely I see them going our over the ppp interface they are
supposed to go out.

Any ideas ?



5. ip rule show .. lists something like
0: from all lookup local
32070: from all tos throughput lookup ppp2
32071: from all tos 0x14 lookup ppp1
32072: from all tos reliability lookup ppp0
32073: from all tos throughput lookup ppp2
32074: from all tos 0x14 lookup ppp1
32075: from all tos reliability lookup ppp0
32076: from all tos throughput lookup ppp2
32077: from all tos 0x14 lookup ppp1
32078: from all tos reliability lookup ppp0
32079: from all tos throughput lookup ppp2
32080: from all tos 0x14 lookup ppp1
32081: from all tos reliability lookup ppp0
32082: from all tos throughput lookup ppp2
32083: from all tos 0x14 lookup ppp1
32084: from all tos reliability lookup ppp0
32085: from all tos throughput lookup ppp2
32086: from all tos 0x14 lookup ppp1
32087: from all tos reliability lookup ppp0
32088: from all tos throughput lookup ppp2
32089: from all tos 0x14 lookup ppp1
......
32765: from all tos reliability lookup ppp0
32766: from all lookup main
32767: from all lookup default