Static network interface names?
marius at pov.lt
Thu Aug 30 16:08:13 UTC 2007
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).
A secret: don't tell DARPA I'm not building the sun destroying weapon they
think I am.
-- Michael Salib, the author of Starkiller
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the ubuntu-users