[Bug 732378] New: Under NetworkManager, switching to wired interface does not add new default routing
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c0 Summary: Under NetworkManager, switching to wired interface does not add new default routing Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Larry.Finger@lwfinger.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 If I am connected to my router via wireless, plugging in eth0 changes to that connection as expected, but the routing table is not updated correctly. Initial setup: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan1 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan1 At this point, the wire is plugged in and the wireless driver is unloaded: # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 At this point, the network does not work until I add a default route manually: # route add default gw 192.168.3.1 # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0 eth0 192.168.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 Now, networking is OK. Due to IPv6 issues with my ISP, my /etc/resolv.conf contains nameserver lines for Google's public servers, thus I have no idea if that would be properly changed. Reproducible: Always Steps to Reproduce: 1. Plug in wire 2. Unload wireless driver 3. Actual Results: Routing tables should switch to wired interface. Expected Results: The routing tables had no default route. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |Larry.Finger@lwfinger.net --- Comment #1 from Li Bin <bili@suse.com> 2011-12-22 09:40:03 UTC --- Larry, So what's the result of 'route -n' after Plug in wire not unload the wireless driver? BTW, why you unload the driver? What's the result of Disable the wireless in gnome-shell? Thanks! -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c2 Larry Finger <Larry.Finger@lwfinger.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |Larry.Finger@lwfinger.net InfoProvider|Larry.Finger@lwfinger.net | --- Comment #2 from Larry Finger <Larry.Finger@lwfinger.net> 2011-12-22 15:26:56 UTC --- I use KDE, not Gnome. Original routing table with wireless active and wire unplugged. Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan2 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan2 Wire plugged in, wireless driver still loaded and network available. finger@larrylap:~/linux-2.6> route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan2 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan2 192.168.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 After wireless disabled with plasmoid applet - no network finger@larrylap:~/linux-2.6> route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 When wireless reenabled in applet, network restored Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan2 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan2 192.168.3.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 After wire unplugged Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan2 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan2 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=732378 https://bugzilla.novell.com/show_bug.cgi?id=732378#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |dliang@suse.com |ovo.novell.com | -- 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.
participants (1)
-
bugzilla_noreply@novell.com