Networking Forums

Networking Forums > Computer Networking > Linux Networking > Trouble with multiple ethernet cards

Reply
Thread Tools Display Modes

Trouble with multiple ethernet cards

 
 
Lord Maniac
Guest
Posts: n/a

 
      07-24-2003, 12:53 AM
Running Red Hat 9 kernel 2.4.20

Here's my configuration:
3 Ethernet cards, all the same, with a Myson chipset
eth0 for my adsl modem
eth1 for client 1
eth2 for client 2

The ip addresses are:
eth0: 10.0.0.150
eth1: 192.168.0.1
eth2: 192.168.0.3

all cards have their subnet to 255.255.255.0


+---+----------->client1
adsl-> |box|
+---+----------->client2

Here comes the problem, I can only connect to one of my clients, pings
result in network unreachable if i try the other one, and it depends on
which interface goes up first.

If set the the ip's to 192.168.0.1 and 192.168.1.1 for testing and it
worked, apperantly they just won't work if they are in the same subnet.

Does anyone know why this is? It looks really weird to me, maybe linux uses
the wrong interface, so it tries to ping on eth2 when it needs client 1 or
otherwise.

Thanks in advance,

Robert


 
Reply With Quote
 
 
 
 
Ian Northeast
Guest
Posts: n/a

 
      07-24-2003, 07:50 PM
Lord Maniac wrote:
>
> Running Red Hat 9 kernel 2.4.20
>
> Here's my configuration:
> 3 Ethernet cards, all the same, with a Myson chipset
> eth0 for my adsl modem
> eth1 for client 1
> eth2 for client 2
>
> The ip addresses are:
> eth0: 10.0.0.150
> eth1: 192.168.0.1
> eth2: 192.168.0.3
>
> all cards have their subnet to 255.255.255.0
>
> +---+----------->client1
> adsl-> |box|
> +---+----------->client2
>
> Here comes the problem, I can only connect to one of my clients, pings
> result in network unreachable if i try the other one, and it depends on
> which interface goes up first.
>
> If set the the ip's to 192.168.0.1 and 192.168.1.1 for testing and it
> worked, apperantly they just won't work if they are in the same subnet.


No, it won't. How is it supposed to know which one to use? It appears to
be doing the best it can and using the first to come up.

Put them in different subnets or invest a few euros in a small switch.

Regards, Ian
 
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
How to host multiple SSL websites using multiple network cards rou DPL Windows Networking 3 08-01-2007 05:32 PM
Multiple ethernet cards to increase server speed? bmearns Linux Networking 6 05-17-2007 01:07 AM
Multiple Ethernet Cards with Same network driver keshavreddyg@indiatimes.com Linux Networking 0 08-21-2006 12:27 PM
Trouble with dual pcmcia ethernet cards JoseA30468 Linux Networking 1 12-27-2003 11:52 AM
PROBLEM: Notebook w/PCMCIA ethernet & docking station ethernet / Multiple NICs / Only use one at a time ---==[Quasar]==--- Linux Networking 0 09-19-2003 04:03 AM



1 2 3 4 5 6 7 8 9 10 11