Hi, I have been using rt_rules to force certain traffic out one or the other of my iSP's, and it has worked will for years. I seem to have done "something" that has caused the following behavior.
One ISP is vlan5 and it's flaky. The other is vlan7 and it's mostly stable. The two ISP's are set up with balance so that normal users' traffic could be assigned to either. Certain IP's however should always use vlan7 if it's up. The rt_rules entry is numbered above 1000 because, we have various networks of our own we need to route to. This is done via entries in the routes file specifying table main. After a shorewall reload, there are no "default" routes in the main table. Correct. However if vlan5 goes down briefly or if I simulate that by: ifconfig vlan5 down; sleep 2; ifconfig vlan5 up - then a default route to the gateway of vlan5 gets added to table main. The preference for vlan7 (being after the main table) is then not applied. shorewall reload fixes it. Any ideas of why this would be occurring? Or, is there a way to trigger shorewall reload whenever a link changes state? Thanks, Norm Henderson
_______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users