-   Linux - Networking (
-   -   3 network cards and 2 default gateways (

Oderus 10-18-2004 01:50 PM

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 * U 0 0 0 eth2 * U 0 0 0 eth0 * U 0 0 0 eth1
loopback * U 0 0 0 lo
default UG 0 0 0 eth1
default UG 0 0 0 eth0

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. =)

Oderus 10-19-2004 04:38 PM

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.

chort 10-20-2004 04:04 AM

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...

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