1

NAT with multiple gateways

view story
linux-howto

http://serverfault.com – I have the following setup: My Lan is 10.56.8.0/23 I have a gateway with internet access(INETIP-A) and the LAN IP 10.56.9.1 I have another gateway with internet access(INETIP-B) and the LAN IP 10.56.9.15 I have a PC used as default gateway for every host on the network with the IP 10.56.9.5. I want to do all my changes here. The default internet connection is via 10.56.9.15 (it's faster), but I only have control over 10.56.9.1, so for some specific hosts this should be the route. To achieve this in a general way, I set up 10.56.9.5 as a router establishing 10.56.9.15 as default GW and addi (HowTos)