Re: control of order of inet devices

From: Brooks Davis <brooks_at_freebsd.org>
Date: Tue, 16 Apr 2013 14:06:34 -0500
On Tue, Apr 16, 2013 at 12:03:14PM -0700, Mehmet Erol Sanliturk wrote:
> On Tue, Apr 16, 2013 at 11:36 AM, Brooks Davis <brooks_at_freebsd.org> wrote:
> 
> > On Tue, Apr 16, 2013 at 10:08:00AM -0700, Adrian Chadd wrote:
> > > Since people keep asking about this; maybe it's time we added a hint
> > > to the bus code that allows for the unit to be set based on the pci
> > > bus / slot / etc.
> >
> > I don't see how that would address Willy's request.  Neither the unit
> > number or the if_index of an interface effects its order in
> > getifaddrs() output.
> >
> > With modern bus hierarchies, you probably don't want to use the unit
> > anyway as it loses too much information.  Some along the lines of
> > Fedora's Consistent Network Device Naming would likely be more useful.
> > That would be fairly easy to implement.
> >
> > -- Brooks
> >
> 
> 
> Fedora is using eth0 ,  ... , eth9 ,  but FreeBSD is using em* , re* , ..
> names which is much better than Fedora ( or similar distributions )
> approach .

As of Fedora 16 the default was changed:

http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/appe-Consistent_Network_Device_Naming.html

-- Brooks

Received on Tue Apr 16 2013 - 17:06:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:36 UTC