Re: Network changing from eth0 to eth1

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

 



Mikkel L. Ellertson wrote:

> The 70-persistent-net.rules file will take care of that. It keeps
> tract of the MAC addresses, and assures that the same device name is
> always assigned to that MAC address. What I have found with HWADDR
> is that the interface will not come up if the MAC address is wrong,
> but it can not guaranty that the NICs will be assigned the correct
> device.
> 
> It does make changing a NIC a bit more work - you end up with 2
> places you have to change the MAC address. (I don't know if the
> network config GUI will change the entry in 70-persistent-net.rules...)

FWIW, I just discovered how useful can be a manually modified
70-persistent-net.rules file.

You can map MAC addresses to interface names and completely remove
the HWADDR from ifcfg-eth? files.

In my case this is perfect because I want to have *two* different
NICs as eth0 (not at the same time, obviously), two NICs as eth1,
two NICs as eth2.

I didn't think it could be so easy to have a configuration with
3 NICs (it's a firewall machine) and have the ability, in case of
a hardware problem, to just remove the disk from the failed machine,
put it into a backup machine and have the new 3 NICs automatically
assigned to the correct interface names so everything works with
no reconfiguration.

Best regards.
-- 
   Roberto Ragusa    mail at robertoragusa.it

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux