Networking Forums

Networking Forums > Computer Networking > Linux Networking > Order eth0, eth1, ...

Reply
Thread Tools Display Modes

Order eth0, eth1, ...

 
 
Visvanath Ratnaweera
Guest
Posts: n/a

 
      11-09-2003, 03:07 PM
I have a machine with 3 identical PCI NICs.

I've noticed which wil get eth0, eth1, ... is determinded
by the physical order in which they sit in the PCI slots,
that is *provided* they are "active" (connected to the switch
in my case).

Remove a cable and reboot, that NIC won't be assigned an
interface!

Which mechanism controls that?

Can't I force the same eth0, eth1, .. irespective of
wheather they are cabled or not?

Thanks in advance!

Visvanath.

 
Reply With Quote
 
 
 
 
Ben
Guest
Posts: n/a

 
      11-10-2003, 08:14 PM
Visvanath Ratnaweera wrote:
> I have a machine with 3 identical PCI NICs.
>
> I've noticed which wil get eth0, eth1, ... is determinded
> by the physical order in which they sit in the PCI slots,
> that is *provided* they are "active" (connected to the switch
> in my case).
>
> Remove a cable and reboot, that NIC won't be assigned an
> interface!
>
> Which mechanism controls that?


Here's a thread here which I started a few days back, on
just that topic:

http://groups.google.com/groups?thre....supernews.com

If you'll scroll up to threads started 11/4/2003 and look for one
entitled "Assigning eth0 to a particular NIC", you should find
it.

For the moment, I don't have time to investigate further, but
feel free to add to the thread as you pursue the issue. If
you find additional resources on the topic (other than those
I found) please link them into the thread. I did find some info,
but nothing like a comprehensive coverage of the topic.

Ben


 
Reply With Quote
 
Bill
Guest
Posts: n/a

 
      11-12-2003, 04:08 AM
I read somewhere (I can't remember where) that eth are assigned by MAC address.
I have 2 identical PCI cards (same manufacturer) in my box. The lowest MAC
address is assigned eth0 no matter what slot it's in. Both cards were in the
box when I installed RedHat. I haven't set up any boxes that had only 1 card
then added a new card later so I don't know what would happen in that case.
Bill in Sacramento, California....
 
Reply With Quote
 
Visvanath Ratnaweera
Guest
Posts: n/a

 
      11-12-2003, 07:27 AM
Hi

Ben wrote:
> Here's a thread here which I started a few days back, on
> just that topic:
>
> http://groups.google.com/groups?thre....supernews.com
>
> If you'll scroll up to threads started 11/4/2003 and look for one
> entitled "Assigning eth0 to a particular NIC", you should find
> it.


Shifted to that thread already. See my posting.

Visvanath.

 
Reply With Quote
 
Ben
Guest
Posts: n/a

 
      11-13-2003, 08:00 PM
Bill wrote:
> I read somewhere (I can't remember where) that eth are assigned by MAC address.
> I have 2 identical PCI cards (same manufacturer) in my box. The lowest MAC
> address is assigned eth0 no matter what slot it's in. Both cards were in the
> box when I installed RedHat. I haven't set up any boxes that had only 1 card
> then added a new card later so I don't know what would happen in that case.
> Bill in Sacramento, California....


. . . already covered in thread above.

Ben

 
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
eth0 and eth1 on same subnet using netmask Martin Klar Linux Networking 3 09-15-2007 02:35 PM
eth0 answering for eth1 ?? hobbzilla Linux Networking 1 07-24-2006 09:47 PM
eth1 and eth0 different networks and not accessible H. S. Linux Networking 9 05-21-2005 01:57 AM
socket programming using either eth0 or eth1 David Peters Linux Networking 4 11-23-2004 12:33 PM
Eth0 and eth1 Captain Beefheart Linux Networking 7 07-22-2004 06:39 PM



1 2 3 4 5 6 7 8 9 10 11