F18: unpredictable 'Predictable Network Interface Names'?

Reindl Harald h.reindl at thelounge.net
Mon Feb 25 19:15:16 UTC 2013



Am 25.02.2013 19:37, schrieb Frantisek Hanzlik:
> Rahul Sundaram wrote:
>> Hi
>>
>>
>> On Mon, Feb 25, 2013 at 1:09 PM, Frantisek Hanzlik <franta at hanzlici.cz
>> <mailto:franta at hanzlici.cz>> wrote:
>>
>>
>>     'biosdevname' I have not installed, I have systemd v197 and
>>     according to previously mentioned:
>>     http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
>>
>>     custom rules in /etc/udev/rules.d/ should works - but not in F18!?
>>
>>
>> Yes because these changes were considered too intrusive to push in an update. 
>> Refer to
>>
>> https://admin.fedoraproject.org/updates/FEDORA-2013-0655/systemd-197-1.fc18.1
>>
>> So for Fedora 18, biosdevname manages the devices by default.   biosdevname
>> will probably be superseded by the systemd/udev update in Fedora 19
>>
>> Rahul
> 
> Hm, thanks for reference. But how I get MAC-based naming now (how it was
> working in F17 and before)?

as all the years before

[root at srv-rhsoft:~]$ cat /etc/udev/rules.d/70-persistent-net.rules
# srv-rhsoft
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="24:be:05:1a:c0:27", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="68:05:ca:0d:62:c1", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="28:10:7b:ca:be:51", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# workstation
# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="78:ac:c0:b1:76:e4", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:b6:5f:28", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[root at srv-rhsoft:~]$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130225/eee66350/attachment-0001.sig>


More information about the users mailing list