Re: trouble setting default route for load-balancing routing tables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 20 Nov 2011 14:34:06 -0600, Andrew Beverley <andy@xxxxxxxxxxx> wrote:

On Sun, 2011-11-20 at 09:10 -0600, Lloyd Standish wrote:
Now that the default routes are set in tables T1 and T0, the above
 rules to "override" the load-balancing appear to work perfectly.  The
 router will ONLY send packets to T1 (eth1) for those subnets,

Ah, got you. So you're splitting the network by subnets and routing over
the link depending on the subnet. Therefore packets from one client PC
will always go over the same link?


No, the subnets define destination IPs, not LAN IPs.  The subnets for a Costa Rican bank that chokes if traffic from a user during a "session" changes source IP.  The rules force all connections to those subnets to go out through the same IP, so the bank won't see an change in source IP due to my router's load-balancing.

(A change in IP to a given destination over a short period would not be likely to happen even *without* this rule, since routes are cached, and cached routes are not subject to load-balancing.)

--
Lloyd
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux