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

    DHCP6, SLAAC and Apple OSs

    Scheduled Pinned Locked Moved IPv6
    7 Posts 4 Posters 2.4k 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.
    • Y
      yobyot
      last edited by

      More newbie questions about pfSense and IPv6 I hope some kind forum reader will be kind enough to educate me on.

      I'm trying to learn the uses and differences between local LAN usage of SLAAC and DHCPv6 in pfSense, with a particular emphasis on Apple OSs and devices, between the various settings for the pfSense "router mode".

      In assisted mode, wired interfaces on macOS Monterey receive two SLAAC addresses (which I presume are the temporary and privacy addresses) as well as a DHCPv6 address. Wireless interfaces on macOS Monterey and iOS receive only SLAAC addresses.

      In managed mode, wired devices receive a DHCPv6 address (verified in pfSense's status screen) but not SLAAC addresses (obviously). And of course, wireless and iOS devices, because there's no SLAAC, they do not receive IPv6 addresses at all.

      I'd vastly prefer to have only DHCPv6 interface addresses on my local LAN, not least for DNS purposes. But if I can't get wireless Apple adapters (on Macs, iPhones and iPads) to request them, it kinda throws a monkey wrench in the works.

      Apologies if I sound confused -- it's a newcomer to IPv6 and it's very different approach to interface address assignment.

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

        @yobyot

        I'm allergic to Apple gear, so I can't help you with that. However, generally SLAAC, with RDNSS, is all you need, though you could use stateless DHCPv6 for the extra stuff such as NTP server address, etc..

        As for DNS, you use the consistent address for that. It's often based on the MAC address, though it could be a random address.

        Normally, with SLAAC, you also get up to 7 privacy addresses, with a new one every day. Those are used for outgoing connections.

        Bottom line, start with SLAAC alone and add stateless DHCPv6 if you need it.

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

        Y 1 Reply Last reply Reply Quote 0
        • Y
          yobyot @JKnott
          last edited by

          @jknott Thanks!

          Can you shed any light on how pfSense handles registering DHCPv6-provided interface addresses in the local DNS resolver?

          I'm hoping there's a way to do local lookups by name for local interface addresses in the same or similar way that pfSense handles IPv4 addresses: by registering them in the pfSense DNS resolver.

          JKnottJ NogBadTheBadN 2 Replies Last reply Reply Quote 0
          • JKnottJ
            JKnott @yobyot
            last edited by

            @yobyot

            No, I don't use DHCPv6 for addresses. I use SLAAC and enable RDNSS. I just manually add an address to the resolver. I just checked and there are no addresses listed under DHCPv6 leases. But then I didn't expect there to be any.

            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
            • NogBadTheBadN
              NogBadTheBad @yobyot
              last edited by

              @yobyot Are you doing DHCPv6 Static Mappings, it should just work.

              andy@mac-pro ~ % ifconfig en0
              en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
              	options=50b<RXCSUM,TXCSUM,VLAN_HWTAGGING,AV,CHANNEL_IO>
              	ether 00:3e:e1:c1:af:07 
              	inet6 fe80::463:1284:1620:f62f%en0 prefixlen 64 secured scopeid 0x4 
              	inet 172.16.2.20 netmask 0xffffff00 broadcast 172.16.2.255
              	inet6 2a02:XXXX:XXXX:2::14 prefixlen 64 dynamic 
              	nd6 options=201<PERFORMNUD,DAD>
              	media: autoselect (1000baseT <full-duplex,energy-efficient-ethernet>)
              	status: active
              andy@mac-pro ~ % host mac-pro
              mac-pro.XXXXXXXXXX.net has address 172.16.2.20
              mac-pro.XXXXXXXXXX.net has IPv6 address 2a02:XXXX:XXXX:2::14
              

              Andy

              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

              NogBadTheBadN 1 Reply Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad @NogBadTheBad
                last edited by

                Screenshot 2022-10-04 at 09.32.43.png

                Screenshot 2022-10-04 at 09.33.03.png

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @NogBadTheBad
                  last edited by

                  Like @nogbadthebad

                  I've :

                  ee3c2974-942b-413f-86ef-40816c315c2d-image.png

                  and added all the devices that I wanted to give a DHCP static IPv6 lease, like @NogBadTheBad

                  Apple devices play very well with this. Zero issues for the last ... decade or so ?!
                  ( I never had to use an Android based device in my life )
                  Even if the DUID are not added to the DHCPv6 static mappings list, it works well, an Ipv6 from the pool is used.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

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