Bug ID 1018636
Summary wicked-0.6.39-12.1 IPv6 SIT - default route doesn't install in kernel route table
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware x86-64
OS openSUSE 42.1
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter david@the-taylor-family.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Leap 42.1 x86_64
Lenovo T61p

I patched my IPv6 gateway device (Hurricane Electric) with the current released
version of Wicked (wicked-0.6.31-9.1 -> wicked-0.6.39-12.1). After the reboot,
the default route for the SIT interface won't populate on boot.  I can manually
add the route with the ip command, but rebooting or cycling the interface with
ifdown/ifup does not work.  I turned on debug logging for wicked and have done
both reboots and ifdown/ifup.  No errors or complaints that I was able to
locate in those logs related to routes.

Configuration is as follows:

eth0 - IPv4 static (ISP) and IPv6 static (from HE assigned /48 block)
sit1 - IPv6 HE static assigned tunnel address

quagga/zebra running to advertise the routes

ifcfg-sit1:
STARTMODE='onboot'
BOOTPROTO='static'
TUNNEL='sit'
TUNNEL_LOCAL_IPADDR='x.x.x.x'
TUNNEL_REMOTE_IPADDR='y.y.y.y'
IPADDR='2001:470:x:xxx::2/64'
TUNNEL_TTL='64'

ifroute-sit1:
default 2001:470:x:xxx::1 - -

Wicked apparently is reading the config and not complaining about it:
Jan  6 11:01:08 sixoverfour wicked[899]:
ni_sysconfig_read(/etc/sysconfig/network/ifcfg-sit1)
Jan  6 11:01:08 sixoverfour wicked[899]:
ni_suse_read_routes(/etc/sysconfig/network/ifroute-sit1)
Jan  6 11:01:08 sixoverfour wicked[899]: Parsed route: ipv6 ::/0 via
2001:470:x:xxx::1 dev sit1 type unicast table main scope universe protocol boot

Further down is:
Jan  6 11:01:09 sixoverfour wickedd[887]: __ni_rtnl_send_newroute(replace ipv6
::/0 via 2001:470:x:xxx::1 dev sit1 type unicast table main scope universe
protocol boot)
Jan  6 11:01:09 sixoverfour wickedd[887]: sit1: successfully updated existing
route ipv6 ::/0 dev sit1#5 type unicast table main scope universe protocol
zebra priority 1024
Jan  6 11:01:09 sixoverfour wickedd[887]: sit1: applying routes for ipv6:static
lease in state applying: success [after 0m0.0s]

Based on this, and no errors/complaints in the debug logs it would seem that it
should have worked.  When referring to the actual route table, this is not the
case:
# ip -6 route show
2001:470:x:xxx::/64 dev sit1  proto kernel  metric 256  pref medium
2001:470:xxxx::/64 dev eth0  proto kernel  metric 256  pref medium
2001:470:xxxx:1::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:2::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:3::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:4::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:5::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:6::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:7::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:8::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:9::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
2001:470:xxxx:a::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:1::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:2::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:3::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:4::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:5::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fda0:xxxx:4465:6::/64 via 2001:470:xxxx::2 dev eth0  metric 1024  pref medium
fe80::/64 dev sit1  proto kernel  metric 256  pref medium
fe80::/64 dev eth0  proto kernel  metric 256  pref medium

Not sure why at this point it's not installing the default IPv6 route in the
table, the log doesn't appear to have any complaints about adding/replacing it.

Routes for the eth0 interface (/etc/sysconfig/network/routes) install OK. 
Adding the default IPv6 route for the SIT interface to the routes produces the
following error when ifdown/ifup on sit1:

wicked: discarding route not matching any interface: ipv6 ::/0 via
2001:470:x:xxx::1 type unicast table main scope universe protocol boot


You are receiving this mail because: