[Bug 1201263] New: ifroute-eth0 not adding static route
http://bugzilla.opensuse.org/show_bug.cgi?id=1201263 Bug ID: 1201263 Summary: ifroute-eth0 not adding static route Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Minor Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: jmader2@gmu.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I used to be able to added a source route like this, /etc/sysconfig/network/ifroute-eth0 2620:10e:6024:f004::/64 fe80::1 - eth0 src 2620:10e:6026:d0a6:92b1:1cff:fe69:b05b but openSUSE 15.4 does not install the route at system startup. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201263 http://bugzilla.opensuse.org/show_bug.cgi?id=1201263#c1 --- Comment #1 from Jason Mader <jmader2@gmu.edu> --- Using nmcli doesn't seem to work either, ipv6.routes: { ip = 2620:10e:6024:f004::/64, nh = fe80::1 src=2620:10e:6026:d0a6:92b1:1cff:fe69:b05b } -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201263 http://bugzilla.opensuse.org/show_bug.cgi?id=1201263#c2 --- Comment #2 from Jason Mader <jmader2@gmu.edu> --- or putting the `ip -6 route add` in a NetworkManager/dispatcher.d/ script either, because the script is run before the system has the IPv6 addresses configured -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201263 http://bugzilla.opensuse.org/show_bug.cgi?id=1201263#c3 --- Comment #3 from Jason Mader <jmader2@gmu.edu> --- This is the best I can come up with, but there's got to be a better way, systemctl edit --force --full eth0-routes.service ``` [Unit] Description=Add IPv6 static routes After=network-online.target Requires=network-online.target [Service] Type=oneshot ExecStart=sleep 10 ExecStart=/sbin/ip -6 route add 2620:10e:6024:f004::/64 via fe80::1 dev eth0 src 2620:10e:6026:d0a6:92b1:1cff:fe69:b05b metric 256 RemainAfterExit=true [Install] WantedBy=multi-user.target ``` systemctl enable eth0-routes -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com