2nd NIC named dev### instead of eth1

Bob Chiodini chiodr at kscems.ksc.nasa.gov
Tue Dec 14 16:08:16 UTC 2004


On Mon, 2004-12-13 at 18:42, Paul Raines wrote:
> We added a 2nd E1000 gig card to a box with Fedora Core 2 running
> the 2.6.6-1.435smp kernel.  Instead of coming up as eth1 it comes
> up as dev### where ### is a random number that changes each boot.
> 
> 
> # lspci | grep thernet
> 03:01.0 Ethernet controller: Intel Corp. 82541GI/PI Gigabit Ethernet Controller
> 04:02.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller 
> (rev 02)
> 
> # cat /proc/net/dev | cut -d: -f1 | tail +3
>      lo
> dev265
>    eth0
> 
> # ifconfig dev265
> dev265    Link encap:Ethernet  HWaddr 00:0E:0C:60:A1:0A
>            inet addr:192.168.100.1  Bcast:192.168.100.255  Mask:255.255.255.0
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:778 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:744 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:138956 (135.6 Kb)  TX bytes:219175 (214.0 Kb)
>            Base address:0x7000 Memory:d2120000-d2140000
> 
> I can configure it with IP info and it works as ifconfig above shows.
> I can create a /etc/sysconfig/network-scripts/ifcfg-dev265 for it.
> But since the number changes randomly each boot, I have to do this
> by hand every boot.
> 
> Why does it not come up as eth1? The kernel messages seem to refer to
> eth1:
> 
Paul,

Maybe alias eth1 e1000 in modprobe.conf will help.

Bob...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041214/cfb8606e/attachment-0001.sig>


More information about the fedora-list mailing list