multiple gateways
multiple gateways
Hello,
I want to have a setup like i want 2 gateways on same LAN ; both gateways are internet enabled and serve Internet to private LAN. Is there any option like i setup secondary gateway for a client just like we mention secondary DNS. If its not possible then please suggest a solution is one gateway goes down the client automatically switch to other gateway.
I use Linux box with named, DHCP and squid on one gateways and second gateway is simply a DSL modem.
I want to have a setup like i want 2 gateways on same LAN ; both gateways are internet enabled and serve Internet to private LAN. Is there any option like i setup secondary gateway for a client just like we mention secondary DNS. If its not possible then please suggest a solution is one gateway goes down the client automatically switch to other gateway.
I use Linux box with named, DHCP and squid on one gateways and second gateway is simply a DSL modem.
-
- Naik
- Posts: 86
- Joined: Thu Apr 03, 2003 6:44 pm
-
- Naik
- Posts: 86
- Joined: Thu Apr 03, 2003 6:44 pm
can you draw a simple diagram?
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Naik
- Posts: 86
- Joined: Thu Apr 03, 2003 6:44 pm
Another thing i want to know, how's your DSL modem configured, i mean is your DSL modem doing NAT or is it in bridge mode and you assign fixed live IP directly to your system to access internet through DSL modem.
As your modem is connected on the same LAN as ur linux box then when u'll change the gw of ur linux box to the IP of the DSL modem then all the traffic of your linux box will go through the DSL modem. So, you'll have to do the config for multiple gw on ur linux box.
if u still can't figure out the solution then just let me know the IPs of both gateways and i'll provide u the solution.
As your modem is connected on the same LAN as ur linux box then when u'll change the gw of ur linux box to the IP of the DSL modem then all the traffic of your linux box will go through the DSL modem. So, you'll have to do the config for multiple gw on ur linux box.
if u still can't figure out the solution then just let me know the IPs of both gateways and i'll provide u the solution.
hail to linux!!!
helllo,
I have seen in windows that we can manually give multiple gateways and multiple IPs so manually its possible to switch between gateways. For automation purpose I found an option in dhcp that can add a route in client to other gateway. That is "option static-routes" command. But I am still stuck with it as it adds a route with 255.255.255.255 subnet at cleint end. Cant figure it out how it will work when one goes down.
I have seen in windows that we can manually give multiple gateways and multiple IPs so manually its possible to switch between gateways. For automation purpose I found an option in dhcp that can add a route in client to other gateway. That is "option static-routes" command. But I am still stuck with it as it adds a route with 255.255.255.255 subnet at cleint end. Cant figure it out how it will work when one goes down.