LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2013, 02:02 PM   #1
maurer2
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Unhappy 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.
 
Old 05-15-2013, 02:09 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what would a dual default gateway mean?? you can't have two defaults, it makes no sense!
 
Old 05-15-2013, 03:27 PM   #3
maurer2
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-15-2013, 03:53 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 05-16-2013, 09:22 AM   #5
maurer2
LQ Newbie
 
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Great, I will. Thank you.
 
  


Reply



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
openvpn not running on the default gateway sebelk Linux - Networking 4 10-27-2012 10:15 AM
adding default gateway and aditional gateway veru.naresh Linux - Networking 1 06-13-2012 07:34 AM
normal default gateway reapperas with openvpn redirect-gateway jonnytabpni Linux - Networking 2 04-23-2009 02:11 PM
HELP default gateway MrSavage Linux - Newbie 2 01-10-2005 07:46 AM
What's a default gateway and do I need one? Travis86 Linux - Newbie 8 05-25-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 PM.

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