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

    Track interface not getting IPv6 and restarts unbound every minute

    Scheduled Pinned Locked Moved IPv6
    5 Posts 2 Posters 458 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.
    • D
      DonZalmrol
      last edited by

      Hi,

      I have a new setup running and I'm setting up my IPv6 again with DHCPv6 enabled on the WAN interface and a track interface enabled on the LAN.

      My ISP (Telenet) provides me with a /56.
      The DUID of my WAN interface is set fixed in PFSense and shows as a DUID-LLT.

      As found on the internet from numerous sources I should set my WAN interface with a prefix DG of 56 and enable send IPv6 prefix hint to my ISP. Additionally I've enabled the DHCP6 debug mode and the Do not allow PD/ Address release to prevent the WAN IPv6 to change (due to IPSEC tunnel).

      If I enable "Do not wait for a RA" my PFSense reboots and gets "stuck" in a boot loop if I'm not fast enough to disable it again.

      On my DATA (LAN) interface I set it to track and select the WAN with a prefix ID of 1 (tested 0 as well).

      0d90edc7-13a6-4222-84ad-cc7c22eacdcf-image.png
      bedc9136-0051-4f37-826a-f04a9894e637-image.png

      After a release renew on my WAN I get a nice IPv6 address on the WAN interface.

      Then the strange things start to happen.

      1. My DATA interface never gets an IPv6 through its track setting.
      2. Unbound (DNS Resolver) restarts its service every minute

      If you disable track on the interface(s) Unbound stays stable. and my WAN keeps it's IPv6 until a reboot.

      I have a secondary site with the exact same settings (not same hardware -> Hyper-V VM) and their it gets a nice IPv6 on it's track interface(s).

      In my system logs I see the following:

      May 1 18:08:21 	dhcp6c 	34695 	failed to parse configuration file
      May 1 18:08:21 	dhcp6c 	34695 	called
      May 1 18:08:21 	dhcp6c 	34695 	/var/etc/dhcp6c_wan.conf:3 IA_PD (0) is not defined
      May 1 18:08:21 	dhcp6c 	34695 	called
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of closure [}] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<13>begin of closure [{] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<13>[0] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<13>[na] (2)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[id-assoc] (8)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of closure [}] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>comment [# we'd like some nameservers please] (35)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>["/var/etc/dhcp6c_wan_script.sh"] (31)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[script] (6)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[domain-name] (11)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[request] (7)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[domain-name-servers] (19)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[request] (7)
      May 1 18:08:21 	dhcp6c 	34695 	<3>comment [# request prefix delegation] (27)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[0] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[ia-pd] (5)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[send] (4)
      May 1 18:08:21 	dhcp6c 	34695 	<3>comment [# request stateful address] (26)
      May 1 18:08:21 	dhcp6c 	34695 	<3>end of sentence [;] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[0] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[ia-na] (5)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[send] (4)
      May 1 18:08:21 	dhcp6c 	34695 	<3>begin of closure [{] (1)
      May 1 18:08:21 	dhcp6c 	34695 	<5>[igb1] (4)
      May 1 18:08:21 	dhcp6c 	34695 	<3>[interface] (9)
      May 1 18:08:21 	dhcp6c 	34695 	skip opening control port
      May 1 18:08:21 	dhcp6c 	34695 	failed initialize control message authentication
      May 1 18:08:21 	dhcp6c 	34695 	failed to open /usr/local/etc/dhcp6cctlkey: No such file or directory
      May 1 18:08:21 	dhcp6c 	34695 	extracted an existing DUID from /var/db/dhcp6c_duid: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
      

      Tried numerous things and nothing seems to resolve this, googling it comes up empty handed. Anyone here that encountered something similar like I'm having?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • D
        DonZalmrol
        last edited by DonZalmrol

        A bit more information:

        1. The NIC for LAN/ DATA and vlans in use is an Intel X520-DA2 with 2x10GB SFP+ DAC in a LAG with LACP and vlan interfaces configured
        2. The WAN NIC is the build in Intel NIC I210 GB ethernet adapter
        3. PFBlockerNG Devel is installed and set up correctly

        When I select SLAAC or 6to4 I immediately get an IPv6 address. Yet when I select DHCP6 it remains without an IPv6 unless I enable Track on one of the interfaces.

        But only the WAN receives an IPv6 address after a while (or after a release/ renew). The LAN or for example DATA interface (both vlan interfaces on the LAG) do not receive an IPv6 address.

        de33f798-559a-4394-81dc-2f816c883096-image.png

        IPv6 DHCP server settings is using the standard settings:
        f0aaf54e-7657-4731-9bbd-e1667e02a0ad-image.png
        019ab75e-085f-49ef-837e-67f211ca219d-image.png

        And then my unbound restarts its service again and again...
        6886d897-4dd4-4c1d-b1f9-aa31e2901574-image.png

        After a refresh:
        232f094c-744d-4d92-bf1a-788d154b5bce-image.png

        Again after the refresh:
        e3a082f0-a3a3-45bc-9b4a-3d893058a29d-image.png

        And so on and on until I disable the track interface setting on the interface. This occurs for every interface I have when I enable track.

        Disabling PFBlockerNG does not solve the issue, so we "can rule" this one out.

        1 Reply Last reply Reply Quote 0
        • D
          DonZalmrol
          last edited by

          So my ISP replaced the modem (same model) and the issue is not resolved. In my firewall logs I see this returning:

          May 27 19:59:52 dhcp6c 19049 remove an IA: PD-0
          May 27 19:59:52 dhcp6c 19049 IA PD-0 is invalidated
          May 27 19:59:52 dhcp6c 19049 status code for PD-0: no prefixes
          May 27 19:59:52 dhcp6c 19049 make an IA: PD-0 
          

          Which leaves me to believe there is a configuration (or routing) issue on my ISP side.
          Am I correct in this statement? And that issue is the reason why my unbound is restarting the whole time?

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @DonZalmrol
            last edited by

            @DonZalmrol

            DIsconnect the WAN cable and reboot pfSense. Run Packet Capture on the WAN interface, filtering on DHCPv6 and then reconnect the WAN cable. Post the capture packets here.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • D
              DonZalmrol
              last edited by

              Solved!

              My ISP digged deep into this and like I thought it was a routing issue on their side!
              I moved to another city last year they didn't changed my public fixed IP addresses. Once they changed my IPv6 /56 it all worked.

              TL:DR IPv6 routing issue on ISP side.

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