On 08/15/2013 12:56 AM, Reindl Harald wrote:
Am 15.08.2013 08:11, schrieb Ben Greear:
I'm having all sorts of trouble trying to get udev to rename
my interfaces based on MAC address. Please don't suggest
I use biosdevname or other such things: I really do want names
to be ethX and I want them in a specific order base on MAC address.
[root@localhost ~]# cat /etc/udev/rules.d/70-persistent-net.rules
is no longer used
This page claims that it is, and it partially works..it is just
particular about what names you choose for the new names it seems.
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
here you go, but in case of *four* network cards you may
consider rename them to lan0, lan1, lan2, lan3 to
avoid the race-condition kernel-naming / renaming which
is the reason that biosdevname and all this unholy crap
was introduced instead go away from "eth" as udev-default
but let it be a option wherever it works
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=24:be:05:1a:c0:27
[root@srv-rhsoft:~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=68:05:ca:0d:62:c1
I have ifcfg-eth0 defined with proper HWADDR, and still that physical port
is not always called eth0 when the system boots. I do not have the other
NICs defined in ifcfg-ethX files.
Thanks,
Ben
--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org