Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    WAN_DHCP6 Stuck Pending / Unknown

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    35 Posts 7 Posters 8.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bimmerdriver
      last edited by

      I have two pfSense systems. One is running 2.4.5 release and the other is running 2.5.0 development. Normally, I update the development system every few days to keep on top of the changes, but I've been busy with other things, so I didn't update it for several weeks. Since I updated it a couple of days ago, WAN_DHCP6 gateway has been stuck pending / unknown.

      My ISP is Telus. The settings on the 2.4.5 and 2.5.0 systems are almost identical. The only notable difference is that snort is installed on the 2.4.5 system.

      The WAN settings are the following:

      IPv4 Configuration Type: DHCP
      IPv6 Configuration Type: DHCP6
      Request only an IPv6 prefix
      DHCPv6 Prefix Delegation size: /56
      Do not wait for a RA: checked (this is required by Telus)
      Do not allow PD/Address release (not required, but I use it anyway)
      Block private networks and loopback addresses: checked
      Block bogon networks: checked (tried unchecking, no difference)

      The LAN settings are the following:

      IPv4 Configuration Type: Static IPv4
      IPv6 Configuration Type: Track Interface
      IPv4 Upstream gateway: none
      Track IPv6 Interface: WAN
      IPv6 Prefix ID: 0
      Block private networks and loopback addresses: unchecked
      Block bogon networks: unchecked

      I've been using these settings for a long time with no problems. Normally when I update the system, it just works.

      The WAN has an IPV4 address and a link-local IPv6 address.

      The IPv4 gateway address is set. The IPv6 gateway address is unset.

      IPv4 and IPv6 are working fine. The only visible symptom is the pending / unknown gateway. There is no dpinger process for the IPv6 gateway and there are no error messages for it.

      Any suggestions?

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        It looks like the same issue https://forum.netgate.com/topic/153049/ipv6-not-working-build-2-5-0-a-20200428-1204/22 and can be related to https://forum.netgate.com/topic/153389/solved-pppoe-falling-over-under-load/6

        B 1 Reply Last reply Reply Quote 0
        • B
          bimmerdriver @w0w
          last edited by

          @w0w Considering the OP of that thread is also on Telus, I may well be having the same issue. However, changing the block bogons setting on the WAN interface makes no difference to the gateway being stuck pending / unknown. Also, Telus doesn't use PPPoE, at least for my service, which is xDSL, using RFC1482 with DHCP and LLC.

          I did some further testing. When I reboot pfSense, it takes around 15-30 minutes before IPv6 starts working. By working, I say for the windows 10 client Ethernet Status to have IPv6 connectivity and also for ipv6-test.com and test-ipv6.com to pass. DHCPv6 is working, but there is no connectivity through pfSense. During the time that IPv6 is not working up to the time when it starts working, there are no alarms that indicate a status change. Also, even after IPv6 connectivity starts, the gateway status never changes to online.

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            @bimmerdriver
            I meant that you can try pkg upgrade -f or even try clean install to confirm. If the problem remains, create ticket on redmine.

            B 1 Reply Last reply Reply Quote 0
            • B
              bimmerdriver @w0w
              last edited by

              @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

              @bimmerdriver
              I meant that you can try pkg upgrade -f or even try clean install to confirm. If the problem remains, create ticket on redmine.

              Will do, but have some other things to do today, so will report back after done.

              1 Reply Last reply Reply Quote 0
              • B
                bimmerdriver
                last edited by bimmerdriver

                I downloaded the most recent development snapshot and installed it into the existing VM. There was no change, so just to be sure there wasn't something wrong with the VM, I deleted it and created a new VM from scratch, then installed the development snapshot. There was no difference.

                Aside from the WAN-DHCP6 gateway stuck pending / unknown, everything appears to be working properly. The only message pertaining to the gateway is below. There are no messages for this gateway in the Gateways tab of the logs.

                May 18 10:13:12	php	377	rc.bootup: Gateway, none 'available' for inet6, use the first one configured. 'WAN_DHCP6'
                

                I created an issue in redmine: https://redmine.pfsense.org/issues/10565, which was rejected.

                There is nothing obvious in the log that indicates a problem. If anyone has a suggestion of what information I can provide to help identify the problem, let me know.

                1 Reply Last reply Reply Quote 0
                • w0wW
                  w0w
                  last edited by

                  @bimmerdriver
                  Start DHCP6 client in debug mode โ€” https://docs.netgate.com/pfsense/en/latest/book/interfaces/ipv6-wan-types.html
                  It would be good if you can provide the output from both, 2.4 and 2.5 versions. Maybe @jimp can suggest something else.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bimmerdriver
                    last edited by

                    I cleared the logs and rebooted. Logs for dhclient and dhcp6c are below. (Skipped dhcpd, since it's working.)

                    2.4.5

                    May 19 17:32:57	dhcp6c	16051	got an expected reply, sleeping.
                    May 19 17:32:57	dhcp6c	16051	removing server (ID: 00:03:00:01:0c:a4:02:29:50:01)
                    May 19 17:32:57	dhcp6c	16051	removing an event on hn0, state=REQUEST
                    May 19 17:32:57	dhcp6c	16051	script "/var/etc/dhcp6c_wan_dhcp6withoutra_script.sh" terminated
                    May 19 17:32:57	dhcp6c	40435	dhcp6c renew, no change - bypassing update on hn0
                    May 19 17:32:57	dhcp6c	16051	executes /var/etc/dhcp6c_wan_dhcp6withoutra_script.sh
                    May 19 17:32:57	dhcp6c	16051	add an address 2001:569:74b4:9200:215:5dff:fe67:5b1c/64 on hn1
                    May 19 17:32:57	dhcp6c	16051	create a prefix 2001:569:74b4:9200::/56 pltime=14400, vltime=14700
                    May 19 17:32:57	dhcp6c	16051	make an IA: PD-0
                    May 19 17:32:57	dhcp6c	16051	nameserver[1] 2001:568:ff09:10b::122
                    May 19 17:32:57	dhcp6c	16051	nameserver[0] 2001:568:ff09:10a::55
                    May 19 17:32:57	dhcp6c	16051	dhcp6c Received REQUEST
                    May 19 17:32:57	dhcp6c	16051	get DHCP option DNS, len 32
                    May 19 17:32:57	dhcp6c	16051	IA_PD prefix: 2001:569:74b4:9200::/56 pltime=14400 vltime=14700
                    May 19 17:32:57	dhcp6c	16051	get DHCP option IA_PD prefix, len 25
                    May 19 17:32:57	dhcp6c	16051	IA_PD: ID=0, T1=7200, T2=10800
                    May 19 17:32:57	dhcp6c	16051	get DHCP option IA_PD, len 41
                    May 19 17:32:57	dhcp6c	16051	DUID: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 17:32:57	dhcp6c	16051	get DHCP option client ID, len 14
                    May 19 17:32:57	dhcp6c	16051	DUID: 00:03:00:01:0c:a4:02:29:50:01
                    May 19 17:32:57	dhcp6c	16051	get DHCP option server ID, len 10
                    May 19 17:32:57	dhcp6c	16051	receive reply from fe80::ea4:2ff:fe29:5001%hn0 on hn0
                    May 19 17:32:57	dhcp6c	16051	reset a timer on hn0, state=REQUEST, timeo=0, retrans=909
                    May 19 17:32:57	dhcp6c	16051	send request to ff02::1:2%hn0
                    May 19 17:32:57	dhcp6c	16051	set IA_PD
                    May 19 17:32:57	dhcp6c	16051	set IA_PD prefix
                    May 19 17:32:57	dhcp6c	16051	set option request (len 4)
                    May 19 17:32:57	dhcp6c	16051	set elapsed time (len 2)
                    May 19 17:32:57	dhcp6c	16051	set server ID (len 10)
                    May 19 17:32:57	dhcp6c	16051	set client ID (len 14)
                    May 19 17:32:57	dhcp6c	16051	a new XID (27d8de) is generated
                    May 19 17:32:57	dhcp6c	16051	Sending Request
                    May 19 17:32:57	dhcp6c	16051	picked a server (ID: 00:03:00:01:0c:a4:02:29:50:01)
                    May 19 17:32:56	dhcp6c	16051	reset timer for hn0 to 0.989263
                    May 19 17:32:56	dhcp6c	16051	server ID: 00:03:00:01:0c:a4:02:29:50:01, pref=-1
                    May 19 17:32:56	dhcp6c	16051	get DHCP option DNS, len 32
                    May 19 17:32:56	dhcp6c	16051	IA_PD prefix: 2001:569:74b4:9200::/56 pltime=14400 vltime=14700
                    May 19 17:32:56	dhcp6c	16051	get DHCP option IA_PD prefix, len 25
                    May 19 17:32:56	dhcp6c	16051	IA_PD: ID=0, T1=7200, T2=10800
                    May 19 17:32:56	dhcp6c	16051	get DHCP option IA_PD, len 41
                    May 19 17:32:56	dhcp6c	16051	DUID: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 17:32:56	dhcp6c	16051	get DHCP option client ID, len 14
                    May 19 17:32:56	dhcp6c	16051	DUID: 00:03:00:01:0c:a4:02:29:50:01
                    May 19 17:32:56	dhcp6c	16051	get DHCP option server ID, len 10
                    May 19 17:32:56	dhcp6c	16051	receive advertise from fe80::ea4:2ff:fe29:5001%hn0 on hn0
                    May 19 17:32:56	dhcp6c	16051	reset a timer on hn0, state=SOLICIT, timeo=0, retrans=1091
                    May 19 17:32:56	dhcp6c	16051	send solicit to ff02::1:2%hn0
                    May 19 17:32:56	dhcp6c	16051	set IA_PD
                    May 19 17:32:56	dhcp6c	16051	set option request (len 4)
                    May 19 17:32:56	dhcp6c	16051	set elapsed time (len 2)
                    May 19 17:32:56	dhcp6c	16051	set client ID (len 14)
                    May 19 17:32:56	dhcp6c	16051	a new XID (9f70f4) is generated
                    May 19 17:32:56	dhcp6c	16051	Sending Solicit
                    May 19 17:32:55	dhcp6c	16051	reset a timer on hn0, state=INIT, timeo=0, retrans=891
                    May 19 17:32:55	dhcp6c	15719	called
                    May 19 17:32:55	dhcp6c	15719	called
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>end of closure [}] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>end of closure [}] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[8] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[sla-len] (7)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[0] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[sla-id] (6)
                    May 19 17:32:55	dhcp6c	15719	<3>begin of closure [{] (1)
                    May 19 17:32:55	dhcp6c	15719	<5>[hn1] (3)
                    May 19 17:32:55	dhcp6c	15719	<3>[prefix-interface] (16)
                    May 19 17:32:55	dhcp6c	15719	<13>begin of closure [{] (1)
                    May 19 17:32:55	dhcp6c	15719	<13>[0] (1)
                    May 19 17:32:55	dhcp6c	15719	<13>[pd] (2)
                    May 19 17:32:55	dhcp6c	15719	<3>[id-assoc] (8)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>end of closure [}] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>comment [# we'd like nameservers and RTSOLD to do all the work] (53)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>["/var/etc/dhcp6c_wan_dhcp6withoutra_script.sh"] (46)
                    May 19 17:32:55	dhcp6c	15719	<3>[script] (6)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[domain-name] (11)
                    May 19 17:32:55	dhcp6c	15719	<3>[request] (7)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[domain-name-servers] (19)
                    May 19 17:32:55	dhcp6c	15719	<3>[request] (7)
                    May 19 17:32:55	dhcp6c	15719	<3>comment [# request prefix delegation] (27)
                    May 19 17:32:55	dhcp6c	15719	<3>end of sentence [;] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[0] (1)
                    May 19 17:32:55	dhcp6c	15719	<3>[ia-pd] (5)
                    May 19 17:32:55	dhcp6c	15719	<3>[send] (4)
                    May 19 17:32:55	dhcp6c	15719	<3>begin of closure [{] (1)
                    May 19 17:32:55	dhcp6c	15719	<5>[hn0] (3)
                    May 19 17:32:55	dhcp6c	15719	<3>[interface] (9)
                    May 19 17:32:55	dhcp6c	15719	skip opening control port
                    May 19 17:32:55	dhcp6c	15719	failed initialize control message authentication
                    May 19 17:32:55	dhcp6c	15719	failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
                    May 19 17:32:55	dhcp6c	15719	extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 17:32:52	dhclient	12389	Creating resolv.conf
                    May 19 17:32:52	dhclient	12222	Adding new routes to interface: hn0
                    May 19 17:32:52	dhclient	12115	New Routers (hn0): 154.20.116.1
                    May 19 17:32:52	dhclient	11789	New Broadcast Address (hn0): 154.20.119.255
                    May 19 17:32:52	dhclient	11529	New Subnet Mask (hn0): 255.255.252.0
                    May 19 17:32:52	dhclient	11246	New IP Address (hn0): 154.20.118.82
                    May 19 17:32:52	dhclient	10963	ifconfig hn0 inet 154.20.118.82 netmask 255.255.252.0 broadcast 154.20.119.255
                    May 19 17:32:52	dhclient	10759	Starting add_new_address()
                    May 19 17:32:52	dhclient	10327	BOUND
                    May 19 17:32:51	dhclient	9747	ARPCHECK
                    May 19 17:32:49	dhclient	6902	ARPSEND
                    May 19 17:32:49	dhclient	5628	PREINIT
                    

                    2.5.0

                    May 19 21:22:12	dhcp6c	14771	got an expected reply, sleeping.
                    May 19 21:22:12	dhcp6c	14771	removing server (ID: 00:03:00:01:0c:a4:02:29:50:01)
                    May 19 21:22:12	dhcp6c	14771	removing an event on hn0, state=REQUEST
                    May 19 21:22:12	dhcp6c	14771	script "/var/etc/dhcp6c_wan_dhcp6withoutra_script.sh" terminated
                    May 19 21:22:12	dhcp6c	39547	dhcp6c renew, no change - bypassing update on hn0
                    May 19 21:22:12	dhcp6c	14771	executes /var/etc/dhcp6c_wan_dhcp6withoutra_script.sh
                    May 19 21:22:12	dhcp6c	14771	add an address 2001:569:74bd:2600:215:5dff:fe67:5b1c/64 on hn1
                    May 19 21:22:12	dhcp6c	14771	create a prefix 2001:569:74bd:2600::/56 pltime=14400, vltime=14700
                    May 19 21:22:12	dhcp6c	14771	make an IA: PD-0
                    May 19 21:22:12	dhcp6c	14771	nameserver[1] 2001:568:ff09:10b::122
                    May 19 21:22:12	dhcp6c	14771	nameserver[0] 2001:568:ff09:10a::55
                    May 19 21:22:12	dhcp6c	14771	dhcp6c Received REQUEST
                    May 19 21:22:12	dhcp6c	14771	get DHCP option DNS, len 32
                    May 19 21:22:12	dhcp6c	14771	IA_PD prefix: 2001:569:74bd:2600::/56 pltime=14400 vltime=14700
                    May 19 21:22:12	dhcp6c	14771	get DHCP option IA_PD prefix, len 25
                    May 19 21:22:12	dhcp6c	14771	IA_PD: ID=0, T1=7200, T2=10800
                    May 19 21:22:12	dhcp6c	14771	get DHCP option IA_PD, len 41
                    May 19 21:22:12	dhcp6c	14771	DUID: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 21:22:12	dhcp6c	14771	get DHCP option client ID, len 14
                    May 19 21:22:12	dhcp6c	14771	DUID: 00:03:00:01:0c:a4:02:29:50:01
                    May 19 21:22:12	dhcp6c	14771	get DHCP option server ID, len 10
                    May 19 21:22:12	dhcp6c	14771	receive reply from fe80::ea4:2ff:fe29:5001%hn0 on hn0
                    May 19 21:22:11	dhcp6c	14771	reset a timer on hn0, state=REQUEST, timeo=0, retrans=909
                    May 19 21:22:11	dhcp6c	14771	send request to ff02::1:2%hn0
                    May 19 21:22:11	dhcp6c	14771	set IA_PD
                    May 19 21:22:11	dhcp6c	14771	set IA_PD prefix
                    May 19 21:22:11	dhcp6c	14771	set option request (len 4)
                    May 19 21:22:11	dhcp6c	14771	set elapsed time (len 2)
                    May 19 21:22:11	dhcp6c	14771	set server ID (len 10)
                    May 19 21:22:11	dhcp6c	14771	set client ID (len 14)
                    May 19 21:22:11	dhcp6c	14771	a new XID (a08807) is generated
                    May 19 21:22:11	dhcp6c	14771	Sending Request
                    May 19 21:22:11	dhcp6c	14771	picked a server (ID: 00:03:00:01:0c:a4:02:29:50:01)
                    May 19 21:22:10	dhcp6c	14771	reset timer for hn0 to 0.990555
                    May 19 21:22:10	dhcp6c	14771	server ID: 00:03:00:01:0c:a4:02:29:50:01, pref=-1
                    May 19 21:22:10	dhcp6c	14771	get DHCP option DNS, len 32
                    May 19 21:22:10	dhcp6c	14771	IA_PD prefix: 2001:569:74bd:2600::/56 pltime=14400 vltime=14700
                    May 19 21:22:10	dhcp6c	14771	get DHCP option IA_PD prefix, len 25
                    May 19 21:22:10	dhcp6c	14771	IA_PD: ID=0, T1=7200, T2=10800
                    May 19 21:22:10	dhcp6c	14771	get DHCP option IA_PD, len 41
                    May 19 21:22:10	dhcp6c	14771	DUID: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 21:22:10	dhcp6c	14771	get DHCP option client ID, len 14
                    May 19 21:22:10	dhcp6c	14771	DUID: 00:03:00:01:0c:a4:02:29:50:01
                    May 19 21:22:10	dhcp6c	14771	get DHCP option server ID, len 10
                    May 19 21:22:10	dhcp6c	14771	receive advertise from fe80::ea4:2ff:fe29:5001%hn0 on hn0
                    May 19 21:22:10	dhcp6c	14771	reset a timer on hn0, state=SOLICIT, timeo=0, retrans=1091
                    May 19 21:22:10	dhcp6c	14771	send solicit to ff02::1:2%hn0
                    May 19 21:22:10	dhcp6c	14771	set IA_PD
                    May 19 21:22:10	dhcp6c	14771	set option request (len 4)
                    May 19 21:22:10	dhcp6c	14771	set elapsed time (len 2)
                    May 19 21:22:10	dhcp6c	14771	set client ID (len 14)
                    May 19 21:22:10	dhcp6c	14771	a new XID (989c4c) is generated
                    May 19 21:22:10	dhcp6c	14771	Sending Solicit
                    May 19 21:22:09	dhcp6c	14771	reset a timer on hn0, state=INIT, timeo=0, retrans=891
                    May 19 21:22:09	dhcp6c	14708	called
                    May 19 21:22:09	dhcp6c	14708	called
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>end of closure [}] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>end of closure [}] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[8] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[sla-len] (7)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[0] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[sla-id] (6)
                    May 19 21:22:09	dhcp6c	14708	<3>begin of closure [{] (1)
                    May 19 21:22:09	dhcp6c	14708	<5>[hn1] (3)
                    May 19 21:22:09	dhcp6c	14708	<3>[prefix-interface] (16)
                    May 19 21:22:09	dhcp6c	14708	<13>begin of closure [{] (1)
                    May 19 21:22:09	dhcp6c	14708	<13>[0] (1)
                    May 19 21:22:09	dhcp6c	14708	<13>[pd] (2)
                    May 19 21:22:09	dhcp6c	14708	<3>[id-assoc] (8)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>end of closure [}] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>comment [# we'd like nameservers and RTSOLD to do all the work] (53)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>["/var/etc/dhcp6c_wan_dhcp6withoutra_script.sh"] (46)
                    May 19 21:22:09	dhcp6c	14708	<3>[script] (6)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[domain-name] (11)
                    May 19 21:22:09	dhcp6c	14708	<3>[request] (7)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[domain-name-servers] (19)
                    May 19 21:22:09	dhcp6c	14708	<3>[request] (7)
                    May 19 21:22:09	dhcp6c	14708	<3>comment [# request prefix delegation] (27)
                    May 19 21:22:09	dhcp6c	14708	<3>end of sentence [;] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[0] (1)
                    May 19 21:22:09	dhcp6c	14708	<3>[ia-pd] (5)
                    May 19 21:22:09	dhcp6c	14708	<3>[send] (4)
                    May 19 21:22:09	dhcp6c	14708	<3>begin of closure [{] (1)
                    May 19 21:22:09	dhcp6c	14708	<5>[hn0] (3)
                    May 19 21:22:09	dhcp6c	14708	<3>[interface] (9)
                    May 19 21:22:09	dhcp6c	14708	skip opening control port
                    May 19 21:22:09	dhcp6c	14708	failed initialize control message authentication
                    May 19 21:22:09	dhcp6c	14708	failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
                    May 19 21:22:09	dhcp6c	14708	extracted an existing DUID from /var/db/dhcp6c_duid: 00:01:00:01:26:54:a4:d0:00:15:5d:67:5b:1b
                    May 19 21:22:06	dhclient	9284	Creating resolv.conf
                    May 19 21:22:06	dhclient	9226	Adding new routes to interface: hn0
                    May 19 21:22:06	dhclient	9002	New Routers (hn0): 154.20.116.1
                    May 19 21:22:06	dhclient	8886	New Broadcast Address (hn0): 154.20.119.255
                    May 19 21:22:06	dhclient	8758	New Subnet Mask (hn0): 255.255.252.0
                    May 19 21:22:06	dhclient	8537	New IP Address (hn0): 154.20.118.82
                    May 19 21:22:06	dhclient	7913	ifconfig hn0 inet 154.20.118.82 netmask 255.255.252.0 broadcast 154.20.119.255
                    May 19 21:22:06	dhclient	7623	Starting add_new_address()
                    May 19 21:22:06	dhclient	7224	REBOOT
                    May 19 21:22:06	dhclient	5605	PREINIT
                    
                    1 Reply Last reply Reply Quote 1
                    • w0wW
                      w0w
                      last edited by

                      I see no difference.

                      Can you answer those questions that @jimp asked in another topic:

                      We need to know more about what you're experiencing.
                      Is it failing on WAN? On LAN?
                      Do you use DHCP for WAN? On LAN? Static?
                      Does pfSense get an IPv6 address? Do clients?
                      What does the IPv6 routing table look like?
                      That sort of stuff, plus an idea of how your setup is configured in general for IPv6 (Interface IPv6 settings, DHCPv6 settings you are using, and so on).

                      I think route tables you can get by netstat -r and you have already answered last question about settings.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        bimmerdriver @w0w
                        last edited by

                        @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

                        I see no difference.

                        Can you answer those questions that @jimp asked in another topic:

                        We need to know more about what you're experiencing.
                        Is it failing on WAN? On LAN?
                        Do you use DHCP for WAN? On LAN? Static?
                        Does pfSense get an IPv6 address? Do clients?
                        What does the IPv6 routing table look like?
                        That sort of stuff, plus an idea of how your setup is configured in general for IPv6 (Interface IPv6 settings, DHCPv6 settings you are using, and so on).

                        I think route tables you can get by netstat -r and you have already answered last question about settings.

                        I think the original post answers most of the questions. Aside from the gateway being stuck pending / unknown, the only other thing that may be notable is the gateway status for 2.5.0 shows the address as ~, whereas it shows the link-local address for 2.4.5. This seems strange, since pfsense has the gateway address, otherwise I'm not sure how IPv6 would not be working. (It's used in the default route.)

                        Also, there is a slight difference in the routing tables for 2.4.5 and 2.5.0.

                        2.4.5

                        Shell Output - netstat -W -r
                        Routing tables
                        
                        Internet:
                        Destination        Gateway            Flags       Use    Mtu      Netif Expire
                        default            d162-156-4-1.bchsia.telus.net UGS     3206   1500        hn0
                        localhost          link#2             UH           55  16384        lo0
                        162.156.4.0/22     link#5             U           311   1500        hn0
                        d162-156-6-212.bchsia.telus.net link#5 UHS          0  16384        lo0
                        192.168.1.0/24     link#6             U          1592   1500        hn1
                        pfSense            link#6             UHS           0  16384        lo0
                        
                        Internet6:
                        Destination        Gateway            Flags       Use    Mtu    Netif Expire
                        default            fe80::ea4:2ff:fe29:5001%hn0 UG     1351   1500      hn0
                        localhost          link#2             UH            0  16384      lo0
                        node-1w7jr9qla9jg28ewy6wmg3aio.ipv6.telus.net link#6 U           625   1500      hn1
                        pfSense            link#6             UHS           0  16384      lo0
                        fe80::ea4:2ff:fe29:5001 fe80::ea4:2ff:fe29:5001%hn0 UGHS        0   1500      hn0
                        fe80::%lo0/64      link#2             U             0  16384      lo0
                        fe80::1%lo0        link#2             UHS           0  16384      lo0
                        fe80::%hn0/64      link#5             U           301   1500      hn0
                        fe80::215:5dff:fe67:5b09%hn0 link#5   UHS           0  16384      lo0
                        fe80::%hn1/64      link#6             U            16   1500      hn1
                        fe80::1:1%hn1      link#6             UHS           0  16384      lo0
                        

                        2.5.0

                        Shell Output - netstat -W -r
                        Routing tables
                        
                        Internet:
                        Destination        Gateway            Flags       Use    Mtu      Netif Expire
                        default            d154-20-116-1.bchsia.telus.net UGS    69943   1500        hn0
                        localhost          link#1             UH          176  16384        lo0
                        154.20.116.0/22    link#5             U        293292   1500        hn0
                        d154-20-118-82.bchsia.telus.net link#5 UHS          0  16384        lo0
                        192.168.1.0/24     link#6             U        193774   1500        hn1
                        pfSense            link#6             UHS           0  16384        lo0
                        
                        Internet6:
                        Destination        Gateway            Flags       Use    Mtu    Netif Expire
                        default            fe80::ea4:2ff:fe29:5001%hn0 UG    16094   1500      hn0
                        localhost          link#1             UH            0  16384      lo0
                        node-1w7jr9ql9x8i509sb93jlqy2o.ipv6.telus.net link#6 U         88728   1500      hn1
                        pfSense            link#6             UHS           0  16384      lo0
                        fe80::%lo0/64      link#1             U             0  16384      lo0
                        fe80::1%lo0        link#1             UHS           0  16384      lo0
                        fe80::%hn0/64      link#5             U          2440   1500      hn0
                        fe80::215:5dff:fe67:5b1b%hn0 link#5   UHS           0  16384      lo0
                        fe80::%hn1/64      link#6             U           176   1500      hn1
                        fe80::1:1%hn1      link#6             UHS           0  16384      lo0
                        fe80::215:5dff:fe67:5b1c%hn1 link#6   UHS           0  16384      lo0
                        
                        w0wW 1 Reply Last reply Reply Quote 2
                        • w0wW
                          w0w @bimmerdriver
                          last edited by

                          @bimmerdriver
                          Do you remember what 2.5 build you have used before you found this problem?
                          I am not sure, but there are several dhcpv6 related changes in the end of Aprill, before system moved to stable branch...

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            bimmerdriver @w0w
                            last edited by

                            @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

                            @bimmerdriver
                            Do you remember what 2.5 build you have used before you found this problem?
                            I am not sure, but there are several dhcpv6 related changes in the end of Aprill, before system moved to stable branch...

                            Unfortunately, no, and I forgot to checkpoint the VM before I upgraded. If older versions were available, I would go through them until I found which one introduced the problem. It seems very likely that the problem I'm having is the same problem that was identified in the thread Ipv6 not working build 2.5.0.a.20200428.1204, so it's a good bet the change is in build 2.5.0.a.20200428.1204 or possibly earlier, depending on how long between updates the other person was.

                            1 Reply Last reply Reply Quote 0
                            • w0wW
                              w0w
                              last edited by

                              https://github.com/pfsense/pfsense/commit/c01fa17a2748d2803d025fa727e484ed205b9537
                              https://redmine.pfsense.org/issues/9634
                              Not sure is it related, but you can try to revert those changes...

                              B 1 Reply Last reply Reply Quote 1
                              • B
                                bimmerdriver @w0w
                                last edited by

                                @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

                                https://github.com/pfsense/pfsense/commit/c01fa17a2748d2803d025fa727e484ed205b9537
                                https://redmine.pfsense.org/issues/9634
                                Not sure is it related, but you can try to revert those changes...

                                Reverting the patch appears to have fixed the problem. The gateway is online. I'll kick it around a bit for a bit and report back.

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bimmerdriver
                                  last edited by

                                  I used wireshark to capture icmpv6 and dhcpv6 packets on the wan interface.

                                  With the patch uninstalled, the sequence is the following:

                                  send dhcpv6 solicit
                                  receive dhcpv6 advertise
                                  send dhcpv6 request
                                  receive dhcpv6 reply
                                  send icmpv6 router solicitation
                                  receive icmpv6 router advertisement

                                  With the patch installed, the sequence is the following:

                                  send dhcpv6 solicit
                                  receive dhcpv6 advertise
                                  send dhcpv6 request
                                  receive dhcpv6 reply

                                  The router never sends the icmpv6 router solicitation, so it never receives the router advertisement.

                                  I hope that helps.

                                  1 Reply Last reply Reply Quote 1
                                  • w0wW
                                    w0w
                                    last edited by

                                    I suggest to write about all the finds on the redmine
                                    I hope somebody will fix this bug soon.

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      bimmerdriver @w0w
                                      last edited by

                                      @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

                                      I suggest to write about all the finds on the redmine
                                      I hope somebody will fix this bug soon.

                                      I already did. Thanks for the help.๐Ÿ‘

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        bimmerdriver @bimmerdriver
                                        last edited by

                                        @bimmerdriver said in WAN_DHCP6 Stuck Pending / Unknown:

                                        @w0w said in WAN_DHCP6 Stuck Pending / Unknown:

                                        I suggest to write about all the finds on the redmine
                                        I hope somebody will fix this bug soon.

                                        I already did. Thanks for the help.๐Ÿ‘

                                        @jimp Should I open a new issue in Redmine for this problem?

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bimmerdriver
                                          last edited by

                                          A fix for this issue is in the latest snapshot and I confirm it works.

                                          Thanks @jimp . ๐Ÿ‘

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tbclark3
                                            last edited by

                                            I just upgraded to 2.4.5-release-p1 and I have exactly the same problem. The ipv6 gateway is stuck on status unknown. I made no other configuration changes, nor any other changes.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.