Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
WAN_DHCP6 Gateway Stuck Pending
« previous
next »
Print
Pages: [
1
]
Author
Topic: WAN_DHCP6 Gateway Stuck Pending (Read 9186 times)
bimmerdriver
Full Member
Posts: 159
Karma: 14
WAN_DHCP6 Gateway Stuck Pending
«
on:
November 05, 2022, 05:22:46 am »
I changed internet service from VDSL to fibre recently and was reminded there is still a problem with OPNsense not being able to determine the IPV6 gateway address, resulting in the WAN_DHCP6 gateway not working unless the monitor IP address is manually set to the address of the gateway. When my service was upgraded, the IP address was still pointing at the address of the old gateway, which is no longer pingable. I cleared the address and rebooted to see if OPNsense could determine the address and it could not, so again, I had to manually set the address in gateway settings. I still have a pfSense system running and since it upgraded to BSD 14, it's having the same problem.
If there is anything I can do to help determine why this is happening, let me know.
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #1 on:
November 06, 2022, 09:52:58 am »
Hmm, if I remember correctly the previous ISP only sent router solicitation after successful DHCP (v4) connect but that never goes through because IPv6 connects instantly. Still the same ISP?
Since we can't change the ISP behaviour the way this could be solved would be to start IPv6 only after IPv4 was established. It's not impossible but generally tricky to get the timing right (separate configuration option, IPv4 address check so that dhcp6c is not started beforehand).
Do you have the time to try the development version? Because we did fix another issue with SLAAC registration of router and DNS servers which may or may not be provided by your ISP as well...
https://github.com/opnsense/core/issues/5862
Cheers,
Franco
«
Last Edit: November 06, 2022, 09:56:27 am by franco
»
Logged
bimmerdriver
Full Member
Posts: 159
Karma: 14
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #2 on:
November 06, 2022, 09:25:35 pm »
I'm with the same ISP. The only difference is gigabit GPON rather than VDSL. The gateway has a different address, but it's still a Nokia, as it was before. This ISP requires the DHCPv6 solicit / advertise, request / reply sequence to take place before the ICMP router solicitation / router advertisement sequence. The router will not respond to RS with RA if a prefix has not been delegated.
The behaviour I'm observing is the same for the release version and the development version. I think it started when BSD was upgraded to version 14. I think it may have something to do with the M and O flags not being set in the RA message.
If you would like to take a look at the system, it can be arranged.
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #3 on:
February 24, 2023, 07:59:43 pm »
Sorry for the delay, I'd like to take another look at the system now with the latest 23.1 release if you already have it.
Cheers,
Franco
Logged
bimmerdriver
Full Member
Posts: 159
Karma: 14
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #4 on:
July 04, 2023, 09:18:39 pm »
Sorry for the delay on my part. I haven't had much time lately to look at this.
Over the past few days, I updated my test systems to the latest version. The problem is the same for the release version and the development version.
In both cases, unless I manually enter the gateway address, dpinger will report that the gateway is offline. Also, in both cases, the address of the WAN_DHCP6 gateway is reported as ~.
Would you like to test the latest release version or development version? I can provide either.
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #5 on:
July 20, 2023, 11:50:36 am »
Also sorry, was not in the office since your reply. 23.7-RC1 would be nice.
Cheers,
Franco
Logged
bimmerdriver
Full Member
Posts: 159
Karma: 14
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #6 on:
August 06, 2023, 01:29:43 am »
No problem, I've been away also.
I downloaded the most recent iso and did a clean install. The version is 23.7.
I switched to development and did an update. The version is 23.7.r_56. Is that 23.7-RC1?
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #7 on:
August 10, 2023, 08:42:33 pm »
All better than 23.7-RC so I'll take it.
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #8 on:
August 15, 2023, 08:55:58 am »
I think we finally uncovered the issue. It was an ancient stray source patch that pfSense had from at least a decade ago. We dropped it in 2018 and they seemed to have dropped it this year too.
https://github.com/opnsense/core/issues/6747#issuecomment-1678487672
Cheers,
Franco
Logged
franco
Administrator
Hero Member
Posts: 17653
Karma: 1610
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #9 on:
August 24, 2023, 11:14:30 am »
FWIW: should work now on 23.7.2. Happy to have it confirmed by you as well when you have the time.
Cheers,
Franco
Logged
bimmerdriver
Full Member
Posts: 159
Karma: 14
Re: WAN_DHCP6 Gateway Stuck Pending
«
Reply #10 on:
September 08, 2023, 04:51:19 pm »
I'm happy to report that this is fixed!
Thank you.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
WAN_DHCP6 Gateway Stuck Pending