lkml.org 
[lkml]   [2005]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sequence of network cards
Arjan van de Ven wrote:
>>Is the algorithm for assignment of eth? numbers by Linux kernel
>>documented anywhere?
>
>
> it's generally on a pci bus order. However... if you switch to acpi by
> going from 2.4 to 2.6, the pci bus order might change.
>
> The good news is that you can do a few things to mitigate this:
> 1) Several distros (including Fedora Core) allow you to bind ethX
> numbers to mac addresses, eg effectively persistent binding of ethX
> numbers to specific cards
> 2) you can rename ethX to ethY yourself with nameif and similar tools.

I knew about nameif, I was unaware of the bind to MAC solution, and
thank you much for it. As the number of cards goes up it scales easily.

--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-19 23:39    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site