Mailinglist Archive: opensuse-factory (776 mails)

< Previous Next >
Re: [opensuse-factory] 13.1 - why network eth0 is named instead ens33?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Sun, 29 Sep 2013 10:44:05 +0200
  • Message-id: <l28p8v$f87$>
Sid Boyce wrote:

On 28/09/13 22:04, James Knott wrote:
Sid Boyce wrote:
One cause is that /etc/udev/rules.d/ is missing as
happend on this box.
You can set them up appriately with the MAC addresses in the order
you require.
# cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="50:e5:49:c8:2e:8c", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1c:f0:5b:65:5a", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:0e:2e:f1:36:99", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="wlan0"
Is it my imagination, or is it the purpose of all these changes to
make administration more difficult? I have also been running Linux
for several years and never had a problem with NIC ID, at least with
up to 3 NICs. In my experience, the ID depends on the slot the NIC
is plugged into. According to the above, changing a NIC will require
editing a file, to ensure the same ID is used.

I agree.
After doing an upgrades via zypper dup I noticed there was a change to
ens65 or something like that but only on one of 3 boxes.
The other 2 boxes still had /etc/udev/rules.d/

Yes, on an update you should definitely be able to retain the existing
naming. I suggest you open a bugreport.

Per Jessen, Zürich (16.2°C) - dedicated server rental in Switzerland.

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups