LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Running dual default gateway's (https://www.linuxquestions.org/questions/linux-newbie-8/running-dual-default-gateways-4175462137/)

maurer2 05-15-2013 02:02 PM

Running dual default gateway's
 
We are changing services and the database is running on a default gateway. The new service is a different one (obviously) and I would LIKE to be able to run them both for a little while before the second service provider goes away. Is there a simple way to set this up? I have a Quad NIC. When I tried it, it will default to one or the other.

acid_kewpie 05-15-2013 02:09 PM

what would a dual default gateway mean?? you can't have two defaults, it makes no sense! :confused:

maurer2 05-15-2013 03:27 PM

Each NIC would have it's own gateway but on the same machine. Talking to 2 service providers.
Ok eth0 traffic can only flow through eth0.
Eth1 traffic flows only through Eth1. Not defaulting to eth0
Is that better?

acid_kewpie 05-15-2013 03:53 PM

no, it's not better, what is "eth0 traffic"? Traffic selects it's egress port based on the destination as defined by the routing table. You can't put the cart before the horse.

Take a look at Chapter 4 at lartc.org, it might be useful for you.

maurer2 05-16-2013 09:22 AM

Great, I will. Thank you.


All times are GMT -5. The time now is 10:43 AM.