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

Setting up ULA and GUA addresses

IPv6
3
23
3.2k
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.
  • B
    Bob.Dig LAYER 8 @gwabber
    last edited by Bob.Dig Sep 6, 2022, 1:37 PM Sep 6, 2022, 1:33 PM

    @gwabber said in Setting up ULA and GUA addresses:

    Do I have to turn off DHCPv6?

    No, this will work for the GUA without a problem.
    The good thing with the DHCPv6 is you can make static mappings with hostnames, even with a dynamic prefix. Then you can create firewall rules with an alias containing that hostname and it will change accordingly, so no real need for ULA.

    Only DDNS can't be done with pfSense and IPv6-host, unless they consider my feature request.

    G 2 Replies Last reply Sep 6, 2022, 1:37 PM Reply Quote 1
    • G
      gwabber @Bob.Dig
      last edited by Sep 6, 2022, 1:37 PM

      @bob-dig

      Sounds promising! I have a lot to learn, but this is a great start. Thanks!

      1 Reply Last reply Reply Quote 0
      • G
        gwabber @Bob.Dig
        last edited by Sep 6, 2022, 2:32 PM

        @bob-dig

        It's working, partly.

        I've setup my subnets as trackinterfaces. The devices get an IPv6 GUA, so that is working! Also I can ping between subnets via GUA's.

        But, I also setup the virutal IP's met the ULA's and added the prefix to the RA.
        The devices now also get an ULA, but I can't ping between subnets.

        This worked in my old setup. How do I fix that?

        B 1 Reply Last reply Sep 6, 2022, 2:37 PM Reply Quote 0
        • B
          Bob.Dig LAYER 8 @gwabber
          last edited by Bob.Dig Sep 6, 2022, 2:40 PM Sep 6, 2022, 2:37 PM

          @gwabber Shouldn't be an issue, maybe show the rules and the subnet-sizes etc. and do a reboot, unless it is a known bug...

          G 1 Reply Last reply Sep 6, 2022, 2:42 PM Reply Quote 0
          • G
            gwabber @Bob.Dig
            last edited by gwabber Sep 6, 2022, 2:49 PM Sep 6, 2022, 2:42 PM

            @bob-dig

            In the firewallrules there's only an allow all rule for ipv6....

            I allready tried a reboot. Maybe there is a setting missing?

            UPDATE
            now I see I am not even able to ping the firewall via ULA...

            login-to-view

            B 1 Reply Last reply Sep 6, 2022, 2:57 PM Reply Quote 0
            • B
              Bob.Dig LAYER 8 @gwabber
              last edited by Bob.Dig Sep 6, 2022, 2:58 PM Sep 6, 2022, 2:57 PM

              @gwabber The vip should be /64 I think. Also let us see the RA config.

              G 1 Reply Last reply Sep 6, 2022, 3:08 PM Reply Quote 2
              • G
                gwabber @Bob.Dig
                last edited by Sep 6, 2022, 3:08 PM

                @bob-dig

                Allright, I will check that out! login-to-view

                B 1 Reply Last reply Sep 6, 2022, 3:09 PM Reply Quote 0
                • B
                  Bob.Dig LAYER 8 @gwabber
                  last edited by Sep 6, 2022, 3:09 PM

                  @gwabber Looking good.

                  G 2 Replies Last reply Sep 6, 2022, 3:12 PM Reply Quote 1
                  • G
                    gwabber @Bob.Dig
                    last edited by Sep 6, 2022, 3:12 PM

                    @bob-dig awesome! the /64 did it! I can ping inside the subnet now

                    I'm going to tinker further tomorrow for pinging between the subnets. Will post the results! :)

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • G
                      gwabber @Bob.Dig
                      last edited by Sep 7, 2022, 7:16 AM

                      @bob-dig mind. blown.

                      Weeks of trouble and you gave the solution in about 10 minutes. It works!

                      The only thing I am still puzzling with, is how to give a static ULA to a device. I see I can do it with GUA's with the DCHPv6. Is there a similiar solution for the ULA's?

                      And you told me something about firewall rules via hostnames instead of IP's. Is there a good tutorial for that. I can't find it in Netgates manual, but maybe I use the wrong searchterms.

                      Thanks!

                      B J 2 Replies Last reply Sep 7, 2022, 7:24 AM Reply Quote 0
                      • B
                        Bob.Dig LAYER 8 @gwabber
                        last edited by Bob.Dig Sep 7, 2022, 7:25 AM Sep 7, 2022, 7:24 AM

                        @gwabber I think it is one or the other. If you have GUA with DHCPv6 you would assign the "static" ULA in those hosts directly.

                        @gwabber said in Setting up ULA and GUA addresses:

                        And you told me something about firewall rules via hostnames instead of IP's.

                        Just create an alias with the hostname. You can use the same hostname with IPv4 and IPv6. If you look at the table of that alias, it will contain both IP-addresses (maybe the first time a restart is required). Now if the prefix changes, the DHCPv6 will change that prefix for the static mapping too and so will that alias. That means you can create firewall rules with that alias no problem, it will change automatically if the prefix changes, no need for a static ULA.

                        G 1 Reply Last reply Sep 7, 2022, 7:25 AM Reply Quote 0
                        • G
                          gwabber @Bob.Dig
                          last edited by Sep 7, 2022, 7:25 AM

                          @bob-dig

                          Cool! going to try that !

                          B 1 Reply Last reply Sep 7, 2022, 7:28 AM Reply Quote 0
                          • B
                            Bob.Dig LAYER 8 @gwabber
                            last edited by Bob.Dig Sep 7, 2022, 7:29 AM Sep 7, 2022, 7:28 AM

                            @gwabber If you are not aware, you can have a look at your aliases in "Diagnostics > Tables". Here you can check if this alias is already up to date or if maybe a restart is required, also give it some time.

                            1 Reply Last reply Reply Quote 1
                            • J
                              JKnott @gwabber
                              last edited by Sep 7, 2022, 12:23 PM

                              @gwabber said in Setting up ULA and GUA addresses:

                              The only thing I am still puzzling with, is how to give a static ULA to a device.

                              With SLAAC, the addresses are static, based on either the MAC or a random number. There are also optional privacy addresses, which change every day. This is determined by the client.

                              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 Sep 7, 2022, 3:34 PM Reply Quote 1
                              • G
                                gwabber @JKnott
                                last edited by Sep 7, 2022, 3:34 PM

                                @jknott

                                Then that’s also solved!

                                Maybe I am starting to like IPv6… feels like cheating xD

                                J 1 Reply Last reply Sep 7, 2022, 4:38 PM Reply Quote 0
                                • J
                                  JKnott @gwabber
                                  last edited by Sep 7, 2022, 4:38 PM

                                  @gwabber

                                  You'd use the consistent address for DNS, for incoming traffic and the privacy addresses are used for outgoing.

                                  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 Sep 10, 2022, 7:09 PM Reply Quote 1
                                  • G
                                    gwabber @JKnott
                                    last edited by Sep 10, 2022, 7:09 PM

                                    @jknott works like a charm now! thanks!

                                    G 1 Reply Last reply Mar 18, 2024, 11:40 AM Reply Quote 0
                                    • G
                                      gwabber @gwabber
                                      last edited by Mar 18, 2024, 11:40 AM

                                      @gwabber hey all,

                                      I was having problems with my ULA routing when my track interface goes down, for example when my internetconnection has an error. Since you guys helped me with setting up ULA routing in the first place, I refer you to this New topic I started.

                                      Maybe you experience the same problem. @NightlyShark helps me with the issue in this topic:

                                      https://forum.netgate.com/topic/186787/ula-routing-stops-when-trackinterface-is-down?_=1710756586659

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