Static network interface names?

Nils Kassube kassube at gmx.net
Thu Aug 30 15:57:11 UTC 2007


stan wrote:
> Is it possible to make NIC's have static device names in Ubuntu?
>
> Sometimes when I move a disk between machines, I get new interface
> name, (eth2 eth3 etc) created and this causes me problems.

Probably you are looking for /etc/iftab -- this is what it looks like 
here:

# This file assigns persistent names to network interfaces.
# See iftab(5) for syntax.
eth0 mac 00:30:05:FE:B9:B1
eth1 mac 00:20:18:2E:9F:F1
eth2 mac 00:00:1C:30:74:01


Nils




More information about the ubuntu-users mailing list