Renaming network devices in fedora23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a fedora23 server with eno1 and enp0s25. I'd like to rename
them to eth0 and eth1. I'm familiar with all the network changes that
have occurred over the years with biosdevname, etc. Reading section
8.2 of the Networking Guide manual:

https://docs.fedoraproject.org/en-US/Fedora/22/html/Networking_Guide/sec-Understanding_the_Device_Renaming_Procedure.html

says I can create a rule in /etc/udev/rules.d/60-net.rules, but it
doesn't specify how to actually create that rule.

Given my past experience, I created the following:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:25:90:ab:ab:1f", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:25:90:ab:ab:1e", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"

This kind of works. It reads my ifcfg-eth0 and ifcfg-eth1 and creates
interfaces by those names, but they are switched. The 1e interface is
eth1 and the 1f interface is is eth0. Is it not possible to control
the MAC address to a specific interface name? Of course I tried
switching "eth1" and "eth0" and rebooting, but it didn't even matter.

This used to be called 70-persistent-net.rules. I believe I tried to
create that file and it worked the same as the 60-net.rules file.

There really isn't any current discussion about how people are doing this.

Thanks,
Alex
-- 
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux