LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-18-2004, 01:50 PM   #1
Oderus
Member
 
Registered: Sep 2004
Posts: 52

Rep: Reputation: 15
3 network cards and 2 default gateways


I have what I consider a unique setup which I need help with.

I have a Dual Pentium Pro 200 mhz Compaq Proliant 2500 server with 3 NIC's.
I want my eth0 and eth1 to pull seperate IP addresses and have eth2 used as DHCP.
Currently it is setup like this and DNS forwarding works well but browsing does not.
when I ping my Shaw IP from my laptop, it works. When I ping the gateway, it doesn't.
I do have IP forwarding enabled and I think I know the problem..

Problem is that I have 2 default gateway's on the server and I know I should only have one.

root@cerveza:/etc# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth2
68.146.92.0 * 255.255.252.0 U 0 0 0 eth0
68.146.92.0 * 255.255.252.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 68.146.92.1 0.0.0.0 UG 0 0 0 eth1
default 68.146.92.1 0.0.0.0 UG 0 0 0 eth0
root@cerveza:/etc#

Is there a way to have a virtual gateway to include both gateways?
Thanks in advance cause I know this forum kicks ass and someone will know the answer. =)

Last edited by Oderus; 10-18-2004 at 02:00 PM.
 
Old 10-19-2004, 04:38 PM   #2
Oderus
Member
 
Registered: Sep 2004
Posts: 52

Original Poster
Rep: Reputation: 15
Well it seems that either no one knows the answer or I'm asking the wrong people.
I got more replies from a similar post in dist-slackware than I did in networking, how unfortunate.
 
Old 10-20-2004, 04:04 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Hi there. As was pointed out by a few people in your second thread, starting multiple threads for the same issue is against the site rules and not good Netiquette.

It looks like you have two IPs on the same subnet applied to two different NICs that are both on the same switch, which is not going to work. You will need an interface bonding driver in order for this to be allowed. There have been several posts on this same topic on this forum recently, so I'm sure you could get a lot of information by simply searching the Networking forum (use the "Search this Forum" feature near the bottom right corner of the page) for terms like "interface bonding", "two internet gateways", etc...
 
  


Reply


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 default gateways jireson Linux - Networking 3 02-04-2006 02:24 AM
how are multiple default gateways handled? eantoranz Linux - Networking 9 06-01-2005 03:09 PM
Two sound cards: Which one is default? dominik81 Linux - Hardware 2 04-10-2005 07:37 PM
Change default sound card with 2 cards kev Linux - Hardware 5 05-04-2004 10:54 AM
routes, default gateways, ip's internet connecting - Much Stress mudelf Linux - Networking 2 09-29-2003 07:13 PM


All times are GMT -5. The time now is 04:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration