Originally Posted by
bwana_zulu
Hello,
I have two routers in my net: 1.2.3.4 and 5.6.7.8. I want to connect them both to wl500g and set up a split access to route all traffic through the router the incoming traffic comes in. It means that if the traffic comes in through 1.2.3.4 the response should go out through 1.2.3.4. I tried with ip route but with no success. Could you know a working sollution -what firmware should I use and how to configure wl500g? Should I connect my routers to wl500g via switch to WAN port? How to set up mulithome on WAN port? Could I connect one router (let's say default) to WAN and second to LANx?
Greetings,
michal
Never tried this with wl500g, but it worked fine on one of my linux boxes - you just need to use policy routing and route based on the source address.
This is just an example (you need configure IP alias for the WAN interface first):
Code:
ip route add table 101 via WAN1_GW
ip route add table 102 via WAN2_GW
ip rule add from WAN1_IP table 101
ip rule add from WAN2_IP table 102