[Bug 894211] New: rcnetwork network start restart doesn't set default route for static address

https://bugzilla.novell.com/show_bug.cgi?id=894211 https://bugzilla.novell.com/show_bug.cgi?id=894211#c0 Summary: rcnetwork network start restart doesn't set default route for static address Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Ralf.Friedl@online.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 I tried to set a static IPv4 address with a static default route. On system startup and on network reconfiguration by "yast lan", the default route is not set, even in cases where just DNS servers are changed and there is no need to reconfigure the interfaces or routes. As a result the server is not reachable, as I need the default rouch to connect to the server. I think the reason is that the interface is not yet up when trying to set the route: ifup[926]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) ifup[926]: eth0 device: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06) kernel: [ 5.368627] r8169 0000:02:00.0 eth0: link down kernel: [ 5.368682] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready kernel: [ 5.368701] r8169 0000:02:00.0 eth0: link down ifup[926]: Error while executing: ifup[926]: Command 'ip route replace to default via x.x.x.x dev eth0' returned: ifup[926]: RTNETLINK answers: Invalid argument ifup[926]: Configuration line: default x.x.x.x - eth0 ifup-route[1014]: Error while executing: ifup-route[1014]: Command 'ip route replace to default via x.x.x.x dev eth0' returned: ifup-route[1014]: RTNETLINK answers: Invalid argument ifup-route[1014]: Configuration line: default x.x.x.x - eth0 ... kernel: [ 8.406817] r8169 0000:02:00.0 eth0: link up kernel: [ 8.406831] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready As you can see, the route command is executed before the interface comes up. Can't we just get rid of systemd and go back to things that worked? Reproducible: Always Steps to Reproduce: 1. configure static IPv4 address, static default route Actual Results: Default route is not set, leaving the server unreachable. Expected Results: Default route is set. -- 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=894211 https://bugzilla.novell.com/show_bug.cgi?id=894211#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |mt@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