Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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. =)
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.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.