netdev
[Top] [All Lists]

Re: ok, which wise guy did this?

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: ok, which wise guy did this?
From: Padraig@xxxxxxxx
Date: Wed, 22 Jan 2003 12:15:50 +0000
Cc: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
In-reply-to: <20030122064047.D41405@shell.cyberus.ca>
References: <20030122064047.D41405@shell.cyberus.ca>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203
jamal wrote:
I just booted my spanking new P4 HT PC last night using 2.5.58
and to my dissapointment the enumeration of the ethx devices is
reversed. I have 5 ethernet ports on this; eth0-4 on 2.4.x are now listed
as eth4-0. This is rude.

If you depend on the order then you must explicitly name the devices like you want. I've done something like this in the past.

ip link set dev eth0 name interface-1
ip link set dev eth1 name interface-2

I guess you could use a temp name and keep the eth[0-4]
naming if you prefer.

Pádraig.



<Prev in Thread] Current Thread [Next in Thread>