Bug #12847
closedOn startup "No routing address with matching address" might appear
0%
Description
I have a Gateway group named Main_V6 for IPv6 and after a reboot I am seeing
no routing address with matching address family found. - The line in question reads [576]: pass in quick on $LAN $GWMain_V6 inet6 from any to ! fc00::/7 ridentifier 1620108820 keep state label "USER_RULE: Route LAN IPv6 through Main_V6"
So apparently pfsense tries to create rules while IPv6 isn't available yet, so we should probably check something before creating the rules. When reloading later on its no problem.
Updated by Viktor Gurov almost 3 years ago
- Status changed from New to Confirmed
- Assignee set to Viktor Gurov
incorrect dynamic resolution of IPv6 gateway address if IPv6 address is not obtained:
# Gateways GWWAN_DHCP = " route-to ( vtnet1 192.168.89.3 ) " GWWAN_DHCP6 = " route-to ( vtnet1 192.168.89.3 ) " GWMain6 = " route-to { ( vtnet1 192.168.89.3 ) } "
fix:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/634
Updated by Flole Systems almost 3 years ago
I am also seeing on reloading of the rules all pool addresses must be in the same address family
, probably related/the same issue and also fixed now?
Updated by Jim Pingle almost 3 years ago
- Status changed from Confirmed to Pull Request Review
- Plus Target Version set to 22.05
Updated by Viktor Gurov almost 3 years ago
- Status changed from Pull Request Review to Feedback
Updated by Jim Pingle over 2 years ago
- Status changed from Feedback to Resolved
No sign of these errors on anything I'm seeing here, static or dynamic, with or without working IPv6 when configured to obtain it. If anyone else can reproduce now we'll need to know more details about how, but as far as I can see it looks OK.
Updated by Danilo Zrenjanin over 2 years ago
Replicated the issue on:
22.01-RELEASE (amd64) built on Mon Feb 07 16:37:59 UTC 2022 FreeBSD 12.3-STABLE
There were error(s) loading the rules: /tmp/rules.debug:182: no routing address with matching address family found. - The line in question reads [182]: pass in quick on $LAN $GWWAN_DHCP6 inet6 proto tcp from any to any ridentifier 1654279960 flags S/SA keep state label "USER_RULE" @ 2022-06-03 20:35:38
Retested on:
2.7.0-DEVELOPMENT (amd64) built on Fri Jun 03 14:45:06 UTC 2022 FreeBSD 12.3-STABLE
It works fine. No errors after reboot.