[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: OpenRC as Init System for Debian



On Fri, 27 Apr 2012, Svante Signell <svante.signell@telia.com> wrote:
> I've been struggling with eth0 and eth1 for some rime now, never knowing
> how it will be named for every new kernel :-(

Fortunately udev allows us to assign static names for Ethernet devices.  This 
means that if you have an existing eth0 which is being used and then add 
another Ethernet card you don't have eth0 become eth1 and then deny logins 
(which is annoying for a server without a monitor).  It also means that if the 
hardware that provides eth0 dies you don't have eth1 become eth0 and then have 
no match of interface and IP address to allow logins.

Finally it's handy to be able to use names such as mb0 for a motherboard based 
port and pcia0/pcia1 for two ports on a card in PCI slot A.

It was possible to do this before udev, but udev made it a lot easier.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/


Reply to: