[Bug 663217] New: In YaST the Default IPv4 Gateway Device setting is not saved
https://bugzilla.novell.com/show_bug.cgi?id=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c0 Summary: In YaST the Default IPv4 Gateway Device setting is not saved Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andrew@joako.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; NET4.0C; .NET4.0E; Zune 4.7) Setting up the network the setting Default IPv4 Gateway: Device is not saved Reproducible: Always Steps to Reproduce: 1. Open YaST Network Configuration, Routing tab 2. Select a device from the dropdown menu for "Default IPv4 Gateway" 3. Follow the prompts to Ok/Save Actual Results: After the settings are saved and the same YaST pane is re-visited the setting is blank Expected Results: It should be possible to set what interface is used for the default gateway -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c1 Stefan Schubert <schubi@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |schubi@novell.com InfoProvider| |andrew@joako.net AssignedTo|yast2-maintainers@suse.de |mvidner@novell.com --- Comment #1 from Stefan Schubert <schubi@novell.com> 2011-01-11 08:40:02 UTC --- Could you please attach y2log files ? http://en.opensuse.org/openSUSE:Bugreport_YaST#I_reported_a_YaST2_bug.2C_and... -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c2 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #2 from Martin Vidner <mvidner@novell.com> 2011-01-18 15:11:51 CET --- Beside the device, did you specify a gateway IP or not? -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|In YaST the Default IPv4 |[yast2-network] Default |Gateway Device setting is |IPv4 Gateway Device setting |not saved |is not saved -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c3 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|andrew@joako.net | Summary|[yast2-network] Default |[yast2-network] Default |IPv4 Gateway Device setting |IPv4 Gateway Device setting |is not saved |is not saved [patch] --- Comment #3 from Martin Vidner <mvidner@novell.com> 2011-01-18 15:41:11 CET --- Hm, apparently you didn't. A workaround is to use a minus sign in place of the address, then the device will be saved. The code to fix is in src/services/routing.ycp:storeRouting (translate defgw to "-" along the way) -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c4 --- Comment #4 from Andrew Joakimsen <andrew@joako.net> 2011-03-16 21:20:46 UTC --- So with 2 DHCP interfaces and setting default gateway "-" the route will be to the DHCP gateway on the specified network? -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c5 Josh Duvall <josh.duvall@endeavorsystems.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josh.duvall@endeavorsystems | |.com --- Comment #5 from Josh Duvall <josh.duvall@endeavorsystems.com> 2011-05-18 17:09:52 UTC --- I have the same problem and I have tried -eth0 eth0 both in the yast2 IPv4 default gateway and still does not save (In reply to comment #3)
Hm, apparently you didn't. A workaround is to use a minus sign in place of the address, then the device will be saved.
The code to fix is in src/services/routing.ycp:storeRouting (translate defgw to "-" along the way)
-- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c6 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mt@novell.com Resolution| |WONTFIX --- Comment #6 from Martin Vidner <mvidner@novell.com> 2011-05-20 14:30:47 CEST --- (In reply to comment #4)
So with 2 DHCP interfaces and setting default gateway "-" the route will be to the DHCP gateway on the specified network?
Oh, I think now I understand what you are asking for. That is done very differently. See the comment for DHCLIENT_PRIMARY_DEVICE in /etc/sysconfig/network/ifcfg.template, and set DHCLIENT_PRIMARY_DEVICE=yes in ifcfg-eth0 if eth0 is the interface that should get the default route. (Marius, JFYI. If I got it wrong, please reopen.) -- 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=663217 https://bugzilla.novell.com/show_bug.cgi?id=663217#c7 --- Comment #7 from Marius Tomaschewski <mt@novell.com> 2011-05-23 08:40:58 UTC --- (In reply to comment #6)
(In reply to comment #4)
So with 2 DHCP interfaces and setting default gateway "-" the route will be to the DHCP gateway on the specified network?
Oh, I think now I understand what you are asking for. That is done very differently.
See the comment for DHCLIENT_PRIMARY_DEVICE in
DHCLIENT_PRIMARY_DEVICE forces one interface to be a primary, that is, the DHCLIENT_SET_DEFAULT_ROUTE(=yes) and DHCLIENT_SET_HOSTNAME(=yes) settings are applied to this interface. Another way is to use the DHCLIENT_SET_DEFAULT_ROUTE setting. Set DHCLIENT_SET_DEFAULT_ROUTE=no in /etc/sysconfig/network/config and DHCLIENT_SET_DEFAULT_ROUTE=yes in the ifcfg-<interface> where you want to apply the 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.
participants (1)
-
bugzilla_noreply@novell.com