Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Finding the current network devices
In Message <rmizizg9qqm.fsf%fnord.ir.bbn.com@localhost>,
Greg Troxel <gdt%ir.bbn.com@localhost>wrote:
=>"D'Arcy J.M. Cain" <darcy%druid.net@localhost> writes:
=>
=>> 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.
They have udev to do that.
http://serverfault.com/questions/614216/how-do-i-control-the-ordering-of-network-interfaces
As you can see from the config example, it can remember the MAC
address and assign device names accordingly. Presumably NetBSD
would need some kernel facility to rename devices, or maybe provide
interface name aliases, to support a similar capability.
Gary Duzan
Home |
Main Index |
Thread Index |
Old Index