Re: trouble setting default route for load-balancing routing tables
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Thanks a million! Now I'll check to see if these rules (added later in the script) are working: + ip rule add to 22.214.171.124/27 table T1 + ip rule add to 126.96.36.199/27 table T1 These are supposed to route all traffic to IPs in those subnets through table T1, overriding load-balancing for those destinations. <snip>However, it ignores my rules which should direct certain traffic over a particular interface.
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, even though that interface is "weighted" to receive a lot less traffic: + ip route add default scope global nexthop via 192.168.100.11 dev eth0 weight 92 nexthop via 192.168.90.1 dev eth1 weight 7 Now for tests with multiple connections... :) -- 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