Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux TOS based routing not working anymore.. used to work.. help appreciated

Reply
Thread Tools Display Modes

Linux TOS based routing not working anymore.. used to work.. help appreciated

 
 
javacocoon@gmail.com
Guest
Posts: n/a

 
      06-23-2007, 08:54 PM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SP2 - WPA Personal Won't Work Anymore Joe Windows Networking 8 03-19-2007 01:37 PM
HELP: DNS and DHCP not working anymore?? John Doe Windows Networking 8 03-17-2005 08:17 PM
remote desktop isn't working anymore Ed Windows Networking 3 04-14-2004 02:00 PM
linux routing rules (based on session source) Moonstruck Linux Networking 3 09-16-2003 01:32 AM
linux routing rules (based on session source) Moonstruck Linux Networking 0 09-13-2003 02:13 PM



1 2 3 4 5 6 7 8 9 10 11