LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 08-26-2007, 01:35 PM   #1
Myrion
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
Configure 3 NICs (2 EXT, 1 INT): Can't access both EXTs


EDIT: ACK! Sorry the title was a cut/paste from a document, and is incorrect. It should read: Configure 2 NICs (2 EXT): Can't access both EXTs.

Hi Folks,

I've search the forums and the general internet for an answer to this perplexing problem I'm experiencing and can't seem to find a scenario that is similar to mine. Here is my setup and problem:

Linux (FC7) server has 2 NICs, both of which are on the same subnet and have static IPs. Below is an example of what my setup would look like:

eth0: IP=71.245.97.81 SUBNETMASK=255.255.255.0 GW=71.245.97.1
eth1: IP=71.245.97.82 SUBNETMASK=255.255.255.0 GW=71.245.97.1

Trying to accomplish:
I'm trying to configure the linux routing table so that incoming BIND queries on eth1, port 53, go out eth1 (the same way they came in). Additionally, I want incoming BIND queries on eth0, port 53, to go out eth0 (the same way they came in). In essence, I have ns1.myserver.com pointed to eth0 and ns2.myserver.com pointed to eth1.

Herein lies the problem -- When I add a default gateway, it has to be one OR the other, but that doesn't work for my setup. When searching the forums and internet, I find lots of solutions if you happen to have two different networks setup on two different NICs. I do not -- both are on the same network.

Keep in mind that I have Netfilter already configured to process and route/forward packets where they need to go. The big problem I have is routing responses out of both eth1 and eth0 (depending on how they come in, of course).

Any help with this would be most appreciated!!

--myrion

Last edited by Myrion; 08-26-2007 at 01:36 PM.
 
Old 06-11-2008, 02:13 PM   #2
svenskmoms
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Hm. Sounds like my problem exactly.

Two external IPs. Same netmask, same gateway.

Only of the EXTs work.
When eth1 is active eth0 can receive pings but does not reply.
ping -I eth0 google.com resolves but does not send anything.

I've been trying to solve this problem for several days now with arp_proxying, statically adding external IPs, messing with route, etc... Nothing.

Anyone have an explanation as to why it doesn't work?
 
  


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
SiL3114 SATA 6-Port Raid Card(2x Ext. + 2x Int) hatebreeder Linux - Hardware 0 08-26-2006 12:35 PM
OpenBSD pf x2 ext nics help Fredstar *BSD 1 06-05-2006 04:01 PM
cvs hangs with :ext: access fax Linux - Software 3 07-09-2005 01:46 PM
EXT 3 ... access in windoze mailavj Linux - Software 6 05-28-2005 03:14 AM
Why wont this work. FP Exts. vadertech Linux - General 1 07-20-2003 05:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:44 AM.

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