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

    Getting IPv6 SLAAC to work in my network

    Scheduled Pinned Locked Moved IPv6
    ipv6slaacguaulastateless
    31 Posts 4 Posters 4.7k 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.
    • I
      IonutIT @Bob.Dig
      last edited by

      @bob-dig

      I'm not running PPPoE over my LAN, that's just for WAN.

      The only thing I think it's wrong is the fact that my ISP gives me a /56 even though I ask for a /64. And the Prefix Delegation is assigned to /56 even though I want /64.

      Screenshot 2022-10-15 at 12.25.48.png

      1 Reply Last reply Reply Quote 0
      • I
        IonutIT @Bob.Dig
        last edited by IonutIT

        @bob-dig

        OK so I finally made it work, but in a very weird way.

        Seeing as when I set "64" in WAN settings "DHCPv6 Prefix Delegation size" gave me an actual /56 network for my LAN interface, I tried to set that to "56" (against the information that is handed out by my ISP), and sure enough, I instantly got a /64 network for my LAN interface and SLAAC magically started working.

        Can't really explain why that worked, but I won't complain.

        Screenshot 2022-10-15 at 13.39.31.png

        Bob.DigB 1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @IonutIT
          last edited by Bob.Dig

          @ionutit said in Getting IPv6 SLAAC to work in my network:

          Can't really explain why that worked, but I won't complain.

          Interesting! Still won't explain the ULA on your LAN but at least you're making some progress.

          I 1 Reply Last reply Reply Quote 0
          • I
            IonutIT @Bob.Dig
            last edited by

            @bob-dig

            Yeah, I have no idea where those ULAs are coming from. It seems that not all my IPv6 enabled devices in my network get 2 IPs, one GUA and one ULA.

            Is there a way to check RA packets and pinpoint the source?

            At the end of the day this is not such a dealbreaker as obviously Internet traffic is passed through the GUA IP.

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

              @ionutit said in Getting IPv6 SLAAC to work in my network:

              And I also get a GUA IPv6 but with a /128 mask again with fe80::1 gateway.
              On the LAN side, I get GUA IPv6 with a /56 subnet which is OK, even though I ask for a /64 (and the ISP itself is saying on it's info page that they give out /64 PD)

              A /128 GUA and link local gateway is entirely normal. Are you sure you get a /56 on the LAN?

              but those PDs are dynamic, and if I disconnect for any reason I will get a new prefix delegation so that field needs to be manually updated.

              Have you selected Do not allow PD/Address release on the WAN page?

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

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

                @ionutit said in Getting IPv6 SLAAC to work in my network:

                Is there a way to check RA packets and pinpoint the source?

                Do a packet capture and check the MAC.

                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
                • I
                  IonutIT @JKnott
                  last edited by

                  @jknott said in Getting IPv6 SLAAC to work in my network:

                  Are you sure you get a /56 on the LAN?

                  Yeah, for some strange and weird reason, when I set my Prefix Delegation size to 64 in WAN settings page, I always got a /56 assigned to my LAN (interface was set to tracking).

                  But as I mentioned in my last post, when I set the PD size to 56 (against what my ISP has informed me I should use) I immediately got a /64 assigned to my LAN and SLAAC started working.

                  Now I just need to find the source of these ULA addresses that my network gets, it's going to be a pain to find them, but fortunately it doesn't really impact my ability to go online though IPv6.

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

                    @ionutit said in Getting IPv6 SLAAC to work in my network:

                    But as I mentioned in my last post, when I set the PD size to 56 (against what my ISP has informed me I should use) I immediately got a /64 assigned to my LAN and SLAAC started working.

                    56 on the WAN is normal. That's what I have here. This way, you have up to 256 /64s to use.

                    As for the RAs, as I said, do a packet capture to see the MAC address, from which you can identify the device.

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

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      IonutIT @JKnott
                      last edited by

                      @jknott

                      I'm trying to do that, but I might be doing it wrong.

                      So I'm running Wireshark on the ens0 (Ethernet port on my Mac Mini) and filtering for

                      icmpv6.type == 134

                      But all my outputs are showing fe80: link-local source and destination. I can't catch the fdcd: ULA anywhere.

                      Any pointers on how I should sniff for that?

                      Bob.DigB JKnottJ 2 Replies Last reply Reply Quote 0
                      • Bob.DigB
                        Bob.Dig LAYER 8 @IonutIT
                        last edited by Bob.Dig

                        @ionutit In the end, you can not filter "local" traffic in one subnet anyway, only something routed through the firewall can be filtered. So as long as this (apple-)device is only member of one subnet, it shouldn't matter. I hope you have more than one LAN because otherwise the firewall isn't doing much for you.

                        I JKnottJ 2 Replies Last reply Reply Quote 0
                        • I
                          IonutIT @Bob.Dig
                          last edited by

                          @bob-dig

                          Yeah, at the end of the day I don’t really mind having this ULA network as it’s not routed outside.

                          Only thing that bugged me is that hosts use this ULA range for mDNS updates. I had to create a firewall rule to allow “any” to “ff02::fb” on UDP 5353.

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

                            @ionutit

                            I think you'll find capture filters work better than display filters. Capture filters affect what's captured and display filters affect what packets of the capture are displayed. Of course, you can use both for more flexibility. However, I mostly use capture filters. So, you'd filter on ICMP6, which should capture all ICMP6 packets. Once you have some of those, you can use display filters. However, just capturing ICMP6 and quickly scanning the captured packets should reveal the RAs.

                            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
                            • JKnottJ
                              JKnott @Bob.Dig
                              last edited by

                              @bob-dig

                              He's running Wireshark, which means he's using a computer on the LAN.

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

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

                                @ionutit said in Getting IPv6 SLAAC to work in my network:

                                I had to create a firewall rule to allow “any” to “ff02::fb” on UDP 5353.

                                ????

                                mDNS is using ff02, which means it's a link local multicast. It's not supposed to pass through a router.

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

                                I 1 Reply Last reply Reply Quote 0
                                • I
                                  IonutIT @JKnott
                                  last edited by

                                  @jknott

                                  Yeah but for some reason the source is ULA fdcd:: instead of the link-local address so it does go through the firewall. I think that hosts using mDNS broadcast through all available addresses.

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

                                    @ionutit said in Getting IPv6 SLAAC to work in my network:

                                    Yeah but for some reason the source is ULA fdcd:: instead of the link-local address so it does go through the firewall.

                                    That's not an issue. packets for multicast addresses often come from ULA or GUA addresses. Since the address starts with ff02, it's scope is link local and won't pass through the router (pfSense).

                                    IPv6 has address scopes, which IPv4 does not. This means how far a packet can go depends on the destination address. An address that starts with ff02 is link local. Even on IPv4, you can have public or RFC1918 addresses as the source for local network only destinations.

                                    So, even though a router may receive a packet with a ff02 destination, it will not forward 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...

                                    1 Reply Last reply Reply Quote 0
                                    • I
                                      IonutIT @JKnott
                                      last edited by

                                      @jknott and @Bob-Dig

                                      So after a bit more troubleshooting I finally found the source of my ULA network.

                                      It seems that the RA for this fdcd::/64 ULA network is my Apple TV 4K (2021), and the reason for it doing that is for Thread. Because the device is a Thread bridge, and because this protocol is IPv6 only, it pushes this ULA inside my network to be able to communicate with other Thread enabled devices inside the LAN.

                                      Hopefully this will be helpful for others searching for this issue in the future.

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MarioG @IonutIT
                                        last edited by

                                        @ionutit FYI I just read over on the avsforum that tvOS 16.1 beta fixed this. The advertisements stopped.

                                        I 1 Reply Last reply Reply Quote 0
                                        • I
                                          IonutIT @MarioG
                                          last edited by

                                          @mariog

                                          Really? I wasn’t aware that this was a bug, seeing that Thread needs IPv6 to function.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            MarioG @IonutIT
                                            last edited by

                                            @ionutit I don't know, I just saw this and thought it was related: https://www.avsforum.com/threads/apple-tv-owners-thread-faq-in-first-post.1278071/page-2178#post-62047363
                                            Hope it helps.

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