OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • WAN_DHCP6 Gateway Stuck Pending
« previous next »
  • Print
Pages: [1]

Author Topic: WAN_DHCP6 Gateway Stuck Pending  (Read 365 times)

bimmerdriver

  • Full Member
  • ***
  • Posts: 153
  • Karma: 14
    • View Profile
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: 13624
  • Karma: 1172
    • View Profile
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: 153
  • Karma: 14
    • View Profile
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

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 22.7 Legacy Series »
  • WAN_DHCP6 Gateway Stuck Pending
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2