[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: network: how to name interfaces ?



On Mon, 12 Jun 2006 23:47:43 +0200
Bruno Costacurta <cob1@biz.tiscali.be> wrote:

> Hello,
> 
> how to name network interfaces ?
> My unique wireless card contines to receive changing interface names
> like eth1 or eth2 ..etc.. : how to fix it ?
> 
> Cheers,
> Bruno
> 
> 

I use ifrename to ensure consistent naming of interfaces. From
'apt-cache show ifrename':

"Description: Rename network interfaces based on various static criteria
 Ifrename allow the user to decide what name a network interface will
have.
 Ifrename can use a variety of selectors to specify how interface names
match
 the network interfaces on the system, the most common selector is the
 interface MAC address."

My /etc/iftab looks like this:

eth_int mac 00:06:4F:03:FC:D8
eth_ext mac 00:40:F4:54:6F:62

I believe you can also do this by means of udev rules.

-- 

Liam



Reply to: