changing network interface names

Mikel King mikel.king at olivent.com
Mon Sep 8 16:04:42 UTC 2008


On Sep 8, 2008, at 11:24 AM, benjamin thielsen wrote:

> hi-
>
> i have a computer with 2 ethernet interfaces (a dell poweredge 2900)  
> on which the interface names are transposed logically versus  
> physically (e.g. the interface labelled "ethernet 1" is named "bce1"  
> and the interface labelled "ethernet 2" is labelled "bce0").
>
> how can i change this, aside from using the ifconfig name argument?
>
> thanks
> -ben
> ____________________

Ben,

	The manpage for rc.conf includes the following example:

		It is also possible to rename interface by doing:

		ifconfig_ed0_name="net0"
		ifconfig_net0="inet 10.0.0.1 netmask 0xffff0000"

	Obviously you can also do this manually w/ ifconfig, but I suspect  
hat you'd like this change to occurr everytime you restart.


Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
http://www.jafdip.com
skype: mikel.king
t: 631.627.3055
m: 646.554.3660
+------------------------------------------+
Do You know where your towel is?
+------------------------------------------+







More information about the freebsd-questions mailing list