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 table T1
+ ip rule add to table T1

These are supposed to route all traffic to IPs in those subnets through table T1, overriding load-balancing for those destinations.


 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 dev eth0 weight 92 nexthop via 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

[Linux Netfilter Development]     [Linux Kernel Networking Development]     [Linux Networking Development]     [Linux Kernel Development]     [Linux Resources]     [LARTC]     [Bugtraq]     [Consulting]     [Free Internet Dating]     [Yosemite Forum]     [Photo]

Add to Google Powered by Linux