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-----------i Sceanario 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
On Sat, 2005-10-08 at 22:21 +0100, Steve Wakelin wrote:> 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