Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Link-local gateway addresses missing zone index, breaks gateway monitoring
« previous
next »
Print
Pages: [
1
]
Author
Topic: Link-local gateway addresses missing zone index, breaks gateway monitoring (Read 3568 times)
Maurice
Hero Member
Posts: 1213
Karma: 158
Link-local gateway addresses missing zone index, breaks gateway monitoring
«
on:
July 18, 2019, 01:32:26 am »
Hi,
After upgrading from 19.1 to 19.7, OPNsense has issues dealing with gateways which have an IPv6 link-local address:
I have two gateways with a statically configured link-local address (fe80::42%hn1, fe80::42%hn2). After the upgrade, the IP addresses were completely gone for both gateways. Re-entering the addresses was not possible: After clicking "save", the address is gone again. Only after entering the addresses without the zone index was I able to save them. But without the zone index gateway monitoring doesn't work.
Similar issue with the WAN_DHCP6 gateway (where the gateway IP address is assigned automatically via RAs from the ISP): The zone index is missing so gateway monitoring doesn't work.
This might be the same issue, although the description is a bit vague:
https://forum.opnsense.org/index.php?topic=13506.0
[Edit]
The following PHP error seems to be related to this:
PHP Warning: vsprintf(): Too few arguments in /usr/local/etc/inc/util.inc on line 986
[/Edit]
Cheers
Maurice
«
Last Edit: July 18, 2019, 01:55:32 am by Maurice
»
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Link-local gateway addresses missing zone index, breaks gateway monitoring
«
Reply #1 on:
July 18, 2019, 06:53:12 pm »
Someone having the same issue
pushed a button on the make-a-wish vending machine
* created a
bug report
today, so it doesn't seem to be a PEBKAC.
And to say something positive: Apart from that, the upgrade was completely painless (Hyper-V Gen2 VM running on Windows Server 2012 R2). Thanks y'all!
Maurice
* Sorry, @franco. ;-)
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Link-local gateway addresses missing zone index, breaks gateway monitoring
«
Reply #2 on:
July 27, 2019, 04:08:01 pm »
Fixed and confirmed working in 19.7.1:
Code:
[Select]
system: scoped IPv6 "%" could confuse mwexecf(), use plain mwexec() instead
(Unlike in earlier versions, you don't need to specify the zone index any more. Routing and gateway monitoring now work without it so I guess it is added automatically. This mechanism might haven been broken in 19.7[.0]. Just speculation, I didn't dive that deep.)
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
bimmerdriver
Full Member
Posts: 159
Karma: 14
Re: Link-local gateway addresses missing zone index, breaks gateway monitoring
«
Reply #3 on:
July 31, 2019, 04:21:45 am »
I missed this thread when I started my own. I was having exact same problem as OP originally described. The same php error and the gateway monitor not starting, with a gateway that only has a link-local address. There was also an instance of the gateway on the dashboard, but it was not online. I just updated. The php error is gone, but the gateway monitor is still not starting. Also, the gateway is gone.
If anyone would like info from my system, let me know what you need.
Logged
Maurice
Hero Member
Posts: 1213
Karma: 158
Re: Link-local gateway addresses missing zone index, breaks gateway monitoring
«
Reply #4 on:
August 01, 2019, 05:23:17 pm »
Looking at your original thread, your issue seems to be caused by the "directly send SOLICIT" option (which I don't use). I don't think it's related to this (fixed) zone index bug. Issue #3604 might indeed be the culprit so better to continue there.
Cheers
Maurice
Logged
OPNsense virtual machine images
OPNsense aarch64 firmware repository
Commercial support & engineering available. PM for details (en / de).
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Link-local gateway addresses missing zone index, breaks gateway monitoring