OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: pp on May 18, 2023, 08:00:07 AM

Title: [Solved] No DHCP6 gateway
Post by: pp on May 18, 2023, 08:00:07 AM
Not sure when this started but my WAN_DHCP6 gateway appears to not get configured correctly:

My WAN is configured with DHCPv6 and I set a Prefix delegation size of 59 in its options.
Interface Overview shows an address (/128), a link-local address (/64), a delegated prefix (/59) and 2 IPv6 DNS servers but no IPv6 gateway.

The "IP address" field in the default created WAN_DHCP6 gateway is set to "dynamic" but the gateway field stays empty.

The log file shows the following:


/system_gateways.php: ROUTING: not a valid default gateway address: ''
/system_gateways.php: ROUTING: configuring inet6 default gateway on wan


Not sure if this is an issue with my ISP (Vodafone Cable Germany) who did some non-standard IPv6 in the past.

For now I check my WAN's neighbors via NDP and use the listed CMTS IP (fe80:...) as a manually added IPv6 gateway which works but I am wondering why it is not detected/used by DHCP6.

Any suggestions how to better debug this? Thank you.
Title: Re: No DHCP6 gateway
Post by: franco on May 18, 2023, 11:34:13 AM
Your ISP may not be sending a RA which pinpoints the server. Let's check the system...

# ls /tmp/*_routerv6


Cheers,
Franco
Title: Re: No DHCP6 gateway
Post by: pp on May 18, 2023, 02:53:03 PM
That command shows "ls: No match.".
I have a igc0_router file containing the IP4 gateway only.
Title: Re: No DHCP6 gateway
Post by: pp on May 18, 2023, 04:05:57 PM
"Have you tried turning it off and on again?"
Just got it solved by restarting my modem. Sorry for the noise.
Title: Re: [Solved] No DHCP6 gateway
Post by: franco on May 18, 2023, 07:38:06 PM
All the better :)


Cheers,
Franco