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

    IPv6 ULA Router Advertisement not working on GUESTS interface with VLAN

    Scheduled Pinned Locked Moved IPv6
    ipv6ulaunifivlan
    23 Posts 5 Posters 3.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.
    • S
      stb
      last edited by stb

      @johnpoz Even though our ISP does not support IPv6, we now need IPv6 internally in order to test our own software against IPv6. Therefore the requirement for the IPv6 ULAs on the internal LAN. On the GUESTS network, strictly speaking, we do not require them at all, I just configured both interfaces exactly the same way and while ULAs work on one, thy don't on the other. Hence my astonishment and motivation to dig and find out what's wrong, because I feel uncomfortable if something that should work, does not work - similar to not being on the latest patchlevel. ;-)

      Can an XG-7100 backup be reinstalled on a SG-x100 box? Then I'd got for a SG-x100 box instead of a XG-7100 as fallback device.

      To answer your questions (sorry, overlooked them): No captive portal on guest, no multicast filtering either. What is not working? The Router Advertisement is not reaching the clients, so they do not get ULAs handed out.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        but the RA are leaving pfsense, you sniffed and see them?

        As to backing up to some other SG-X100 device, that is a great question.. I would assume so with some caveats on interface naming, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S
          stb
          last edited by

          Yes, running

          tcpdump -vvvv -ttt -i br0 icmp6 and 'ip6[40] = 134'
          

          or

          tcpdump -vvvv -ttt -i br0.200 icmp6 and 'ip6[40] = 134'
          

          respectively directly on the Unifi access point clearly shows that on the internal wifi and the GUESTS wifi (VLAN 200), the RA packets arrive with the respective prefixes set.

          I'm really wondering whether the VLAN somehow interferes ...

          1 Reply Last reply Reply Quote 0
          • S
            stb
            last edited by

            Update to 2.4.4-RELEASE-p2 did not change anything regarding this behaviour ...

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by johnpoz

              Well if you see the RAs on your AP... Then it has zero to do with pfsense.. the unifi ap can do multicast filtering... So your problem is most likely there.

              What firmware you running on your unifi AP... I show current beta at 4.0.30, which I am running... I don't currently have ipv6 enabled on my wifi but easy enough to turn on and validate.. Could do a ula easy enough..

              Let me grab my phone and check...

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                Works here:-

                1554891190702-screenshot-2019-04-10-at-11.08.42.png

                IMG_0502.png

                Andy

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

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  yeah was going to say works here too, I just fired up a prefix from my /48 on HE on my guest vlan wifi..And works just fine!

                  ipv6-nonula.png

                  I could change that to a ula prefix, but don't see how it would matter.. If your saying you see the RA on your AP pfsense is sending them, etc..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • S
                    stb
                    last edited by

                    Ok, thanks ... so over to the Unifi forums then ...

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

                      @stb said in IPv6 ULA Router Advertisement not working on GUESTS interface with VLAN:

                      s our ISP is IPv4 only, we did not have IPv6 configured at all. Now we want to use IPv6 internally using ULAs. We configured two randomly generated static IPv6 fdxx/48 addresses in the LAN and the GUESTS interface. Then we configured the respective Router Advertisements (mode unmanaged) using a /64 subnet of the /48 prefix of the interfaces (for LAN and GUESTS respectively).
                      While it works for the LAN network (even Wifi!) and clients do get IPv6 ULAs assigned (even DNS server is handed out), it does not work on the GUESTS network. Both interfaces have their respective IPv6 address assigned (verified via web and console).
                      When looking at the generated /var/etc/radvd.conf of the running radvd process, the two entries for LAN and GUESTS look identical (except of course for the different IPv6 address prefixes). While the one for LAN works, the one for GUESTS does not.
                      Firewall rules for GUESTS only have restriction for LAN access, but otherwise, everything is allowed.
                      I'm puzzled as how to debug further whether the problem is on the firewall rules (which however work for IPv4), the VLAN configuration (which however works for IPv4), the Unifi Controller configuration (which however works for IPv4) ... any hint on what to check and what to debug are very much appreciated.
                      Greetings,

                      @stb

                      Are you using the Ubiquity Guest Policy settings ?

                      Andy

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

                      GrimsonG 1 Reply Last reply Reply Quote 1
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        So just fired up ula...

                        Set my one vlan to eab5 prefix, then another interface on pfsense to the eab6 prefix, and bing bang zoom pinging the other prefix from my phone on the eab5

                        ulaworking.jpg

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 0
                        • GrimsonG
                          Grimson Banned @NogBadTheBad
                          last edited by

                          @NogBadTheBad said in IPv6 ULA Router Advertisement not working on GUESTS interface with VLAN:

                          Are you using the Ubiquity Guest Policy settings ?

                          Most likely, and with the slowness of UBNT when it comes to supporting IPv6 I wouldn't be surprised if that blocks RAs completely.

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

                            @Grimson said in IPv6 ULA Router Advertisement not working on GUESTS interface with VLAN:

                            @NogBadTheBad said in IPv6 ULA Router Advertisement not working on GUESTS interface with VLAN:

                            Are you using the Ubiquity Guest Policy settings ?

                            Most likely, and with the slowness of UBNT when it comes to supporting IPv6 I wouldn't be surprised if that blocks RAs completely.

                            IPv6 doesn't work if you tick the Guest Policy setting, so he'll need to create a preshared key or enable captive portal on the Guest interface in pfSense.

                            Andy

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

                            1 Reply Last reply Reply Quote 1
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              I don't see a way to add ipv6 networks even in the guest control section.. But I asked when this thread first started if using guest.. Should of been more clear vs asking if using captive portal... But why would you have guest policy on if not using portal, etc.

                              But that for sure could be his problem.

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • S
                                stb
                                last edited by

                                Thanks a lot! That's it! The "Guest Policy" checkbox in the Unifi Wireless Networking section was the issue after all!

                                Sorry for not having been more explicit ... I really thought you were asking for a Guest Captive Portal not being accessible via IPv6.

                                Anyway, thanks to all of you for your continuing support and help!

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by

                                  So looking at the new 5.11.10 release, looks like they have added ipv6?

                                  from 5.11.5 in the release notes?
                                  Add subnet for IPv6 networks in Networks Table.

                                  I am currently running 5.10.21 which is not viable direct upgrade.. So can not test for sure until I get on 5.11.10, but you might want to try 5.11.10 if you want ipv6 with guest policy enable. But not captive portal.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pooperman @johnpoz
                                    last edited by

                                    For anyone finding this in 2024, I had to enable "Multicast Enhancement" for the Unifi Wifi network AND I had to disable Hotspot 2.0. Only then did the Router Advertisements flow down to wifi clients. I was sitting in wireshark on a MacOS 14.6 laptop client and suddenly there was a flurry of traffic.

                                    Pro-tip: You may have to wait for the RA interval for the Unifi change to make a difference. Default is 200 seconds, you can change this in the RA Server settings. I set mine to 10 seconds then clicked the button to restart the RA server.

                                    This worked!

                                    Screenshot 2024-11-06 084436.png

                                    Screenshot 2024-11-06 084835.png

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