Howto rename an interface

Harti Brandt brandt at fokus.fraunhofer.de
Mon May 5 02:50:19 PDT 2003


On Sun, 4 May 2003, Wes Peters wrote:

WP>On Sunday 04 May 2003 11:18, Jeremy Chadwick wrote:

WP>All of the system startups need to refer to these ports by function, not
WP>by some silly number assigned as a side effect of the PCI bus probing
WP>order.
WP>
WP>This almost begs for some simple alias that can be programmatically (or
WP>via a command line utility) added to the interface so the association
WP>with the device type isn't lost.  That bears some thought.  An interface
WP>label, as it were...

Perhaps an if_alias field in struct ifnet, setable via ifconfig? This
would just nicely map to the alias name field in the SNMP interface MIB.

harti
-- 
harti brandt,
http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
brandt at fokus.fraunhofer.de, harti at freebsd.org


More information about the freebsd-net mailing list