LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Network interface order

[ILUG] Network interface order

Ronan Cunniffe rcunniff at stp.dias.ie
Fri May 14 16:43:13 IST 2004



On Fri, 14 May 2004, Brian Brazil wrote:

> On Fri, May 14, 2004 at 04:30:44PM +0100, Niall O Broin wrote:
> > I have a Linux router with three NICs, which works fine. I now want to build
> > standby hardware for that so that if it fails anyone can just switch to the
> > standby box by plugging it in, mains and networks, and turning it on.
> > However, if I have three identical NICs in a box how do I know which will
> > become eth0, eth1 and eth2 at boot time?
>
> Interrogate the MAC address. Debian comes with a relavent script. Think
> its in ifupdown...

Failing that, unless the driver or the motherboard is weird, it should
be PCI slot order (assuming they're PCI devices)

(The kernel provides a standard way for drivers to walk find relevant
devices - it walks them along each bus in turn looking for the magic
device signature.)

Ronan



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell