Current-Users archive

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

Re: Finding the current network devices



On Sun, 18 Oct 2015 10:49:05 -0400
Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
> Another hacky trick is to create both ifconfig.wm0 and ifconfig.bge0
> and just leave both there, if you are pretty sure you'll have one or
> the other.  That might create annoying or problematic errors though.

I was thinking about doing that for fstab as well.

> > Maybe Linux has the right idea.  The ethernet cards are always eth#
> > no matter what the actual hardware.
> 
> But how is the ordering determined?  The basic issue is that you have
> cables plugged into ports and then interfaces appearing, and ordering
> is based on some probe order, somehow.

Well, I already depend on the ordering anyway.  All my servers have two
ethernet ports and they are labeled 1 and 2 (or 0 and 1) .  I plug the
first one into the external network and the second into the internal
one.  I have never had to swap those ports.  The numbering on the case
always matched the system.

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost


Home | Main Index | Thread Index | Old Index