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

    DHCPv6c not assigning the delegated prefix

    Scheduled Pinned Locked Moved IPv6
    4 Posts 2 Posters 811 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.
    • G
      georgemv
      last edited by

      Hi all,
      I am on PFSense Plus 22.01 with Swisscom as the ISP via fiber.
      Swisscom started moving from 6rd to native IPv6 that is assigned via DHCPv6 on VLAN10 (same VLAN as IPv4, also assigned via DHCP).
      With the following options, I am able to see dhcp6c get assigned a /56 prefix:

      Send Options:

      • rapid-commit
      • ia-pd 4262913557

      Request Options:

      • domain-name-servers, refreshtime, domain-name, ntp-servers

      • id-assoc pd ID: 4262913557

      • IPv6 Prefix: ::/56

      • pltime: infinity

      • vltime: infinity

      From the dhcp6c logs:
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: make an IA: PD-4262913557
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: make an IA: PD-4262913557
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: create a prefix 2a02:1210:4252:7500::/56 pltime=7200, vltime=21600
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: create a prefix 2a02:1210:4252:7500::/56 pltime=7200, vltime=21600
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: status code for PD-4262913557: success
      2022-04-28T17:01:28+02:00 172.22.28.254 dhcp6c[86008]: status code for PD-4262913557: success

      From there, I cannot do much more. The WAN interface (igb0.10) is not assigned any addresses, so delegation to LAN does not work.

      One interesting thing is that the script called from dhcp6c when received the IPv6 prefix is outdated; it does not expect the event that is passed, which is SOLICIT.

      Any ideas welcome...

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

        @georgemv

        Do they use DHCPv6-PD? Or some other method to provide the prefix. Also, you don't need a WAN address as link local addresses are commonly used for routing IPv6.

        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...

        G 1 Reply Last reply Reply Quote 0
        • G
          georgemv @JKnott
          last edited by

          @jknott They use DHCPv6-PD and not NA.
          I see the link-local address set as the default gateway, so that is used for routing, but how do I delegate the prefixes to the local networks?

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

            @georgemv

            You set a unique prefix ID for each interface. You do this in theIPv6 Prefix ID box. With a /56, your choices range 0 - ff.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.