On Sat, 26 Feb 2005 03:20:44 +0100, Judicator <(E-Mail Removed)>
wrote:
>Hello,
>
>I have a load balanced linux router working (thanks to lartc website).
>
>In fact, It's working too much well ..... Some protocols, like IM
>protocols (ICQ, MSN) need to keep the same route with the server .....
>And my system is keeping switching route for each data sent ..... and
>cause disconections or the IM network is impossible to connect ......
>
>
>Is there a way to force a specific route depending on the destination
>ports ?
>
>An iptable rule missing ? an ip route setting missing ? don't know
Did you apply Julian's route patch? It is not just for Dead Gateway
Detection.
http://www.ssi.bg/~ja/dgd.txt
http://www.ssi.bg/~ja/dgd-usage.txt
http://www.ssi.bg/~ja/nano.txt
Have you looked at this? Perhaps there is something common that could
be used in applying CONNMARK. BEWARE: nexthop will probably not
compile.
http://selab.edu.ms/twiki/bin/view/N...inuxNetworking
I have just the opposite "problem"; `ip route flush cache` is required
to shake loose the persistent routing.
http://linux-ip.net/html/tools-ip-ro...te-flush-cache
Here is how I special case by IP
ip rule add prio 50 to $DestIP/32 table $TBL
where $TBL points to the interface I want the connection to use.
buck