https://bugzilla.novell.com/show_bug.cgi?id=880757 https://bugzilla.novell.com/show_bug.cgi?id=880757#c0 Summary: After flipping over from a static IP to DHCP in NetworkManager, a "phantom" network appears in the routing table Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novell@nixwizard.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 I noticed that when I switch NetworkManager from a static IP I configred over to DHCP, the original route for the static IP configured gets added to the routing table along with the DHCP leased route. This occasionally breaks thing in mysterious ways, especially if the static route that NetworkManager installs happens to correspond to a static route previously entered that no longer is configured in NetworkManager. Reproducible: Always Steps to Reproduce: 1. Set a static IP. In my case I set a static IP of 1.1.1.1/32 just to reproduce the bug 2. Set NetworkManager back to DHCP 3. Let NetworkManager successfully get an IP address 4. Run 'route -n' and observe the old network from a previous static IP config, along with the successful DHCP IP Actual Results: A DHCP IP address is successfully leased, but mysteriously a network that corresponds to the previous static IP that was set is also added to the routing table. Expected Results: NetworkManager should have received a DHCP IP address and not added the "extraneous" route from the old static network I had configured previously Here's my 'route -n' every step of the way: ---- Static IP 1.1.1.2/32, default GW of 1.1.1.1 configured ---- laptop:~ # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 1.1.1.1 0.0.0.0 UG 0 0 0 eth0 1.1.1.0 0.0.0.0 255.255.255.252 U 1 0 0 eth0 ---- DHCP configured, waiting for an IP address offer from DHCP server ---- laptop:~ # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface ---- DHCP IP address lease received from DHCP server, "phantom" 1.1.1.0/32 added too mysteriously ---- laptop:~ # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.7.98.1 0.0.0.0 UG 0 0 0 eth0 1.1.1.0 0.0.0.0 255.255.255.252 U 1 0 0 eth0 10.7.98.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.