Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems with Multiple Network Adapters

Reply
Thread Tools Display Modes

Problems with Multiple Network Adapters

 
 
Dave
Guest
Posts: n/a

 
      03-04-2004, 04:49 PM

Forgive a bit of a newbie question, but I can't find an answer
anywhere so far.

I have three network adapters in a Redhat 8 machine (eth0, eth1, and
eth2)

Each has an IP on the 192.168.1.x subnet (the only subnet in the
office). Each points at a different gateway. I.E. eth0 points at
192.168.1.1, eth1 points at 192.168.1.2, and eth2 points at
192.168.1.3)

I'm trying to set up a FTP server to respond on all three IPs, in case
one goes down.

If all the cards have a valid connection to my LAN then they all work
and respond. If eth2 is unplugged from the LAN, none of the cards
respond and the machine is completely off the network.

At the console, the machine insists on trying to ping out to the lan
over eth2, and therefore returns host unreachable.

Can point me in the right direction on getting Linux to multihome the
way I want it?

Thanks in Advance,

Dave
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      03-04-2004, 06:39 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave <(E-Mail Removed)_nospam> wrote:

[..]

> I have three network adapters in a Redhat 8 machine (eth0, eth1, and
> eth2)


> Each has an IP on the 192.168.1.x subnet (the only subnet in the
> office). Each points at a different gateway. I.E. eth0 points at
> 192.168.1.1, eth1 points at 192.168.1.2, and eth2 points at
> 192.168.1.3)


[..]

> Can point me in the right direction on getting Linux to multihome the
> way I want it?


It's not a question of what you want, more about how networking
works, you shouldn't have multiple IP from the same subnet on
different NICs, unless you are using the bonding driver.

Perhaps, you tell us what you are going to try and with a little
luck someone has an idea. Right now it sounds as if you want to
get a small switch/hub?

- --
Michael Heiming - RHCE (GPG-Key ID: 0xEDD27B94)

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAR4XUAkPEju3Se5QRAnATAKCeBkMkFwF8lSaY/M9KJgfL/UhR0ACdHCtr
thz9LFaLbIiAYZqFGvuUGa4=
=Ft+l
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      03-04-2004, 08:03 PM
Thanks for the reply.

Basically I want ot use one linux ftp driver to handle ftp posts from
3 different firer lines.

If line one goes down I have code that tells the posting software to
look at the next IP address.

I'm not looking for a switch or a hub. I need one one machine to act
as a redundant/failover ftp server in the case of one or two internet
lines going down.

Each one NATs to a public IP through a seperate firewall device (3
cards pointing to 3 firewalls, one card per firewall)



On Thu, 4 Mar 2004 20:39:01 +0100, Michael Heiming
<michael+(E-Mail Removed)> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Dave <(E-Mail Removed)_nospam> wrote:
>
>[..]
>
>> I have three network adapters in a Redhat 8 machine (eth0, eth1, and
>> eth2)

>
>> Each has an IP on the 192.168.1.x subnet (the only subnet in the
>> office). Each points at a different gateway. I.E. eth0 points at
>> 192.168.1.1, eth1 points at 192.168.1.2, and eth2 points at
>> 192.168.1.3)

>
>[..]
>
>> Can point me in the right direction on getting Linux to multihome the
>> way I want it?

>
>It's not a question of what you want, more about how networking
>works, you shouldn't have multiple IP from the same subnet on
>different NICs, unless you are using the bonding driver.
>
>Perhaps, you tell us what you are going to try and with a little
>luck someone has an idea. Right now it sounds as if you want to
>get a small switch/hub?


 
Reply With Quote
 
Jacob Westenbach
Guest
Posts: n/a

 
      03-04-2004, 08:16 PM
"Dave" <(E-Mail Removed)_nospam> wrote in message
news:(E-Mail Removed)...
> Thanks for the reply.
>
> Basically I want ot use one linux ftp driver to handle ftp posts from
> 3 different firer lines.
>
> If line one goes down I have code that tells the posting software to
> look at the next IP address.
>
> I'm not looking for a switch or a hub. I need one one machine to act
> as a redundant/failover ftp server in the case of one or two internet
> lines going down.
>
> Each one NATs to a public IP through a seperate firewall device (3
> cards pointing to 3 firewalls, one card per firewall)
>
>
>
> On Thu, 4 Mar 2004 20:39:01 +0100, Michael Heiming
> <michael+(E-Mail Removed)> wrote:
>
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Dave <(E-Mail Removed)_nospam> wrote:
> >
> >[..]
> >
> >> I have three network adapters in a Redhat 8 machine (eth0, eth1, and
> >> eth2)

> >
> >> Each has an IP on the 192.168.1.x subnet (the only subnet in the
> >> office). Each points at a different gateway. I.E. eth0 points at
> >> 192.168.1.1, eth1 points at 192.168.1.2, and eth2 points at
> >> 192.168.1.3)

> >
> >[..]
> >
> >> Can point me in the right direction on getting Linux to multihome the
> >> way I want it?

> >
> >It's not a question of what you want, more about how networking
> >works, you shouldn't have multiple IP from the same subnet on
> >different NICs, unless you are using the bonding driver.
> >
> >Perhaps, you tell us what you are going to try and with a little
> >luck someone has an idea. Right now it sounds as if you want to
> >get a small switch/hub?

>

I think you're going to need smart gateways that keep each other apprised of
their status. If/when one of the incoming lines fails - that gateway will
need to forward its traffic to one of the other two. However, if I
understand you correctly, the traffic is inbound to your ftp server rather
than it being the origination point. If so, you'll need a gateway box that
can handle all three inbound lines, recognize the loss of connectivity on
each, and then load balance the traffic between the other two lines.

JW


 
Reply With Quote
 
Dave
Guest
Posts: n/a

 
      03-04-2004, 08:37 PM
On Thu, 04 Mar 2004 21:16:59 GMT, "Jacob Westenbach"
<(E-Mail Removed)> wrote:

>"Dave" <(E-Mail Removed)_nospam> wrote in message
>news:(E-Mail Removed).. .
>> Thanks for the reply.
>>
>> Basically I want ot use one linux ftp driver to handle ftp posts from
>> 3 different firer lines.
>>
>> If line one goes down I have code that tells the posting software to
>> look at the next IP address.
>>
>> I'm not looking for a switch or a hub. I need one one machine to act
>> as a redundant/failover ftp server in the case of one or two internet
>> lines going down.
>>
>> Each one NATs to a public IP through a seperate firewall device (3
>> cards pointing to 3 firewalls, one card per firewall)
>>
>>
>>
>> On Thu, 4 Mar 2004 20:39:01 +0100, Michael Heiming
>> <michael+(E-Mail Removed)> wrote:
>>
>> >-----BEGIN PGP SIGNED MESSAGE-----
>> >Hash: SHA1
>> >
>> >Dave <(E-Mail Removed)_nospam> wrote:
>> >
>> >[..]
>> >
>> >> I have three network adapters in a Redhat 8 machine (eth0, eth1, and
>> >> eth2)
>> >
>> >> Each has an IP on the 192.168.1.x subnet (the only subnet in the
>> >> office). Each points at a different gateway. I.E. eth0 points at
>> >> 192.168.1.1, eth1 points at 192.168.1.2, and eth2 points at
>> >> 192.168.1.3)
>> >
>> >[..]
>> >
>> >> Can point me in the right direction on getting Linux to multihome the
>> >> way I want it?
>> >
>> >It's not a question of what you want, more about how networking
>> >works, you shouldn't have multiple IP from the same subnet on
>> >different NICs, unless you are using the bonding driver.
>> >
>> >Perhaps, you tell us what you are going to try and with a little
>> >luck someone has an idea. Right now it sounds as if you want to
>> >get a small switch/hub?

>>

>I think you're going to need smart gateways that keep each other apprised of
>their status. If/when one of the incoming lines fails - that gateway will
>need to forward its traffic to one of the other two. However, if I
>understand you correctly, the traffic is inbound to your ftp server rather
>than it being the origination point. If so, you'll need a gateway box that
>can handle all three inbound lines, recognize the loss of connectivity on
>each, and then load balance the traffic between the other two lines.
>
>JW
>


Each of the cards has a seperate private IP address which then gets
NATed to a Public IP address, each on a different ISP.

All I want is for the three cards to respond regardless is one goes
down. Right now if I unplug the network cable on eth2, all three
cards stop responding to PING on my LAN, instead of just the card with
the unplugged cable.

I'm trying to figure out why all three cards stop responding on their
unique IPs if the cable to eth2 is unplugged. For instance, the IPs
are 192.168.1.90 , 192.168.1.91, and 192.168.1.92. If the card
assigned .92 does not have a cable connected to the LAN, then ALL the
cards stop responding to ping and the whole machine drops off the
network.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network adapters, netsh and WMI problems in vista ollie jones Windows Networking 0 10-28-2008 04:23 PM
multiple network adapters brian75844@gmail.com Windows Networking 0 10-08-2007 03:29 PM
Why use multiple Network Adapters for Servers? JoeF Windows Networking 3 07-24-2006 02:54 PM
Problems uninstalling old network adapters PeterE Wireless Networks 5 02-02-2005 12:11 AM
multiple network adapters scott Windows Networking 0 01-23-2004 10:03 PM



1 2 3 4 5 6 7 8 9 10 11