interface renaming (was: Re: Moving towards NetworkManager)

Josef Wolf jw at raven.inka.de
Sat Jul 30 13:11:53 UTC 2016


On Sat, Jul 30, 2016 at 01:35:47PM +0100, Colin Law wrote:
> On 30 July 2016 at 11:59, Karl Auer <kauer at biplane.com.au> wrote:
> > https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

We've seen this link multiple times in this thread.

> (if it survives being chopped up in the mail system) which,
> interestingly, seems to contradict some information previously given
> in this thread.

What does it contradict?

Might this contradiction be a result of the propaganda they have to spread
in order to propagate their system?

Here's what I see on a 14.04:

  root at vdr1:/etc/udev/rules.d# grep eth *
  70-persistent-net.rules:#SUBSYSTEM=="net",[...], ATTR{address}=="00:xx:xx:xx:xx:58",[...], NAME="eth0"
  70-persistent-net.rules:SUBSYSTEM=="net",[...], ATTR{address}=="00:xx:xx:xx:xx:cc",[...], NAME="eth0"
  70-persistent-net.rules~:SUBSYSTEM=="net",[...], ATTR{address}=="00:xx:xx:xx:xx:58",[...], NAME="eth0"
  70-persistent-net.rules~:SUBSYSTEM=="net",[...], ATTR{address}=="00:xx:xx:xx:xx:cc",[...], NAME="eth1"

(I shortened the lines to keep them readable)

Here, you actually see the traces of "swapping" the interface names. The emacs
backup file (the one with the tilde) represents the state as it was
auto-detected. The commented line is the on-board interface, that did not work
for me. The not-commented line is the pci card, which was auto-detected as
eth1 and which I renamed to eth0 just by editing one text file.

Simple... effective... working!

-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list