[CentOS] weird network interface name

Alexander Dalloz ad+lists at uni-x.org
Mon Jul 31 18:19:33 UTC 2006


Mark Quitoriano schrieb:

> Hi list,
>
> i have a problem in one of my centos boxes. I installed CentOS 4.3. I 
> addedd
> additionl interface card in this server and when i execute ifconfig 
> command
> i see devNNN(where n is a random number). And when i restart the 
> server the
> NNNN always change.
>
>
> dev9926   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
>          inet addr:xxx.xxx.xxx.xxx  Bcast:xxx.xxx.xxx.xxx  Mask:
> xxx.xxx.xxx.xxx
>          inet6 addr: xxxxxxxxxxxxxxx Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:8304 errors:0 dropped:0 overruns:1 frame:0
>          TX packets:3848 errors:0 dropped:0 overruns:0 carrier:1
>          collisions:0 txqueuelen:1000
>          RX bytes:937839 (915.8 KiB)  TX bytes:351719 (343.4 KiB)
>          Interrupt:11 Base address:0xdf00

Make sure you have a valid /etc/sysconfig/network-scripts/ifcfg-<device> 
(<device> may be eth1) and set an alias for that device in 
/etc/modprobe.conf.

Alexander




More information about the CentOS mailing list