[FS#3744] static IPv6 routes to gateways within the ULA address range are not restored on startup

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Apr 17 15:19:22 BST 2021


A new Flyspray task has been opened.  Details are below. 

User who did this - Erik Tews (eriktews) 

Attached to Project - OpenWrt/LEDE Project
Summary - static IPv6 routes to gateways within the ULA address range are not restored on startup
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Static IPv6 routes configured in `/etc/config/network` that use a gateway within the ula address range are not properly restored on startup.

I managed to reproduce the issue in 19.07.7 and in the latest snapshot (17-04-2021). To reproduce the issue, do the following:

Setup a new OpenWRT system, for example in a VM. Uplink connectivity is not required, which makes it easy to reproduce the bug in a VM. Then edit `/etc/config/network` and add an IPv6 route using a gateway within the ula range. For example the entries may look like this:

config globals 'globals'
        option ula_prefix 'fd22:e91a:3889::/48'

config route6
        option target "2001:4860:4860::8844"
        option gateway "fd22:e91a:3889::43"
        option interface "lan"

Reboot the device and verify that the route is not present with `ip -6 route show`. Then modify the config a bit, for example replace the _43_ in the gateway address with _42_. Then execute `reload_config` and wait a few seconds. Then verify that the route is present with `ip -6 route show`. You may then reboot the device and the route will not be there anymore.

More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list