Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-22-2005, 04:58 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 3

Rep: Reputation: 0
Post Multiple Gateways

Hi Linux Gurus,

I have been trying to sort out this problem science a while and I am not an expert in Linux System Admin, this could be a simple problem for an Lniux Expert.

Well, I have two linux firewall systems F1 and F2, which are connected to two ISP's ISP1 and ISP2. The firewall systems have connected with second nic card into the local network which has two more local servers LS1 and LS2.

Now I defined gateway for LS1 and LS2 as F1 and able to access internet from LS1 and LS2 and as well as able to access the services from LS1 and LS2 from outside world using IP Tables Port Farwarding.

Until this every thing works great !

Now about the problem

Let say my firewall system F1, which is assigned as a gateway to LS1 and LS2 failed then I can't able to access some of the service like FTP on my local servers from outside because the gateway server (F1) for my local servers is unavailable.

What I would like to do ?

I would like to setup both my firewall systems as two gateways to my local systems so that if one fails one will act as a gateway, simply like primary / secondary gateways. I am not sure we can assign multiple gateways or not. But logically it seems possible.

Can you please help me on this, If possible please give me a link where I can find detailed instructions as well.

Feel free to ask me if you need any information regarding this problem.

thanks in advance.

Old 02-22-2005, 08:28 PM   #2
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
I'm not sure that i quite get what it is you're trying to do, but as for "multiple gateways" you should be able to add multiple default routes with different levels of priority. That may handle the primary and secondary part of your idea.

Hope this helps....lemme know...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple gateways efm Linux - Newbie 4 06-10-2005 08:50 AM
Multiple Gateways Jon Doe Linux - Networking 9 03-07-2005 03:26 PM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 05:01 PM
multiple gateways john8675309 Linux - Software 0 05-24-2004 06:27 PM
multiple ips, multiple gateways, one interface drpixel Linux - Networking 6 12-04-2002 12:56 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration