Two Output Gateways
Hello,
Currently running Kernel 2.4.31 with iptables 1.3.3
i-----------i
i R1 i--------i
i-----------i i i-----------i
i-- i S1 i
i-----------i i i-----------i
i R2 i---------i
i-----------iSceanario
Two internet connections comming into R1 and R2
R1 and R2 both connect to internal destination server S1 Due to software restrictions have to use one default route. Simple script to validate gw availablilty and swap if necessary
Reqirements
Returning traffic from incoming connections over the same router as where it originated.
i.e. If default gatway is set to be R1 incoming connections are fine if originated
on connection R1. However connections initiated through R2 timeout.
Have tried numerous combinations of iptables, iproute2 and cannot get it to work.
Is it possible to mark which router the traffic originated and push the return traffic over
that router for instance ?
Any help greatly appreciated.
Regards
/Steve
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Quoted 7 lines · Steve Wakelin
Hello,
Is it possible to mark which router the traffic originated and push the return traffic over
that router for instance ?
Try http://selab.edu.ms/twiki/bin/view/Networking/RoutesKeeperProject
for one solution. The site appears to be down at the moment but hopefully it'll reappear after the weekend. I'm running two feeds here and it handles incoming stuff from either port just fine and copes with the loss of one feed well enough that sometimes I haven't noticed for some time (usenet collection requires use of specific ports for specific servers and when one fails it tips me off that a feed is down).
Dave
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc