Static network interface names?
news at pointerstop.ca
Thu Aug 30 18:30:18 UTC 2007
Marius Gedminas wrote:
> On Thu, Aug 30, 2007 at 05:57:11PM +0200, Nils Kassube wrote:
>> 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
>> # 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
> Newer versions of Ubuntu use /etc/udev/70-persistent-net.rules instead
> of /etc/iftab. I think this started with Feisty, but I'm not entirely
> sure. (I run Gutsy now).
iirc, udev still reads /etc/iftab if present. Creating complex .rules files
when there's a simple config file in /etc seems like a step backwards to
More information about the ubuntu-users