Order eth0, eth1, ...

This is a discussion on Order eth0, eth1, ... within the Linux Networking forums, part of the Linux Forums category; I have a machine with 3 identical PCI NICs. I've noticed which wil get eth0, eth1, ... is determinded by ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-09-2003
Visvanath Ratnaweera
 
Posts: n/a
Default Order eth0, eth1, ...

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
  #2 (permalink)  
Old 11-10-2003
Ben
 
Posts: n/a
Default Re: Order eth0, eth1, ...

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
  #3 (permalink)  
Old 11-12-2003
Bill
 
Posts: n/a
Default Re: Order eth0, eth1, ...

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
  #4 (permalink)  
Old 11-12-2003
Visvanath Ratnaweera
 
Posts: n/a
Default Re: Order eth0, eth1, ...

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
  #5 (permalink)  
Old 11-13-2003
Ben
 
Posts: n/a
Default Re: Order eth0, eth1, ...

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 Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0