RE: nic enumeration

From: Charlie Brady
Date: Thu Jul 08 2010 - 17:25:15 EST



On Thu, 8 Jul 2010, Loke, Chetan wrote:

> > -----Original Message-----
> > From: linux-kernel-owner@xxxxxxxxxxxxxxx [mailto:linux-kernel-
> > owner@xxxxxxxxxxxxxxx] On Behalf Of Matt Domsch
> > Sent: July 07, 2010 9:21 PM
> >
> > http://lwn.net/Articles/356900/
> >
> > And on a system where you can use udev rules, the
> > 70-persistent-net.rules file can be used to make them constant, by
> > using the MAC address to force the names to be what you want.
>
> Ok, but can we achieve the renaming w/o a reboot?

Yes, you can rename interfaces using the 'ip' command.

ip link set oldname name newname
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html