Description of problem: Adding static route(s) to an interface cause the interface to get removed from the list of interfaces managed by NetworkManager. Version-Release number of selected component (if applicable): NetworkManager-0.8.1-66.el6.i686 How reproducible: Always Steps to Reproduce: 1. Configure static IP for eth0. 2. Add static route for eth0. Ex: ADDRESS0=224.0.0.0 NETMASK0=240.0.0.0 GATEWAY0=0.0.0.0 3. Save settings and exit. Actual results: 1. NetworkManager no longer displays eth0 in list of interfaces. 2. Also the network service cannot start eth0 because it is still NM_CONTROLLED=yes and has a UUID entry. So if you reboot, the box is not configuring eth0 anymore and offline. Workaround: 1. Don't use static routes (i.e. remove route-eth0 file). OR 2. Use network service (edit ifcfg-eth0 and set NM_CONTROLLED=no and comment-out UUID). Expected results: 1. NetworkManager still manages eth0 and static routes work. Additional info: I am using kernel param "biosdevname=0" to preserve the eth0 network interface naming because I have software licenses tied to "eth0" MAC address.
Can you attach the exact ifcfg/route files that you're using? And what does NM log to /var/log/messages when this happens? Presumably it's disappearing because NM can't parse the config now.
I think it may be a duplicate of bug 1111672.
Created attachment 940604 [details] eth0 configuration
Created attachment 940605 [details] eth0 static route
I attached my ifcfg-eth0 and route-eth0 files. If you simply drop the route-eth0 file into /etc/sysconfig/network-scripts folder, the interface disappears from NetworkManager. Also if I remove the file, NetworkManager doesn't reload the interface unless I "touch ifcfg-eth0".
(In reply to Jirka Klimes from comment #3) > I think it may be a duplicate of bug 1111672. I can't see that bug#...not authorized.
It is the same bug, and we have a patch for it. I'll update this bug when we have a test package available.
(In reply to Dan Winship from comment #8) > It is the same bug, and we have a patch for it. I'll update this bug when we > have a test package available. Thanks. Look forward to testing it.
Any progress on this? If there is a patched version in Fedora, can you direct me to it?
(In reply to Tuan Hoang from comment #10) > Any progress on this? If there is a patched version in Fedora, can you > direct me to it? The package with the patch applied is here. http://people.freedesktop.org/~lkundrak/rh1144614-NetworkManager-0.8.1-76.el6/
Thank you. I'm currently on out of the office, but will try to get this tested by Nov 11th.
The patch works great. Please push this out to production.
POST because we have a patch, though this bug is really a duplicate of bug 1111672.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1257.html