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

What If ISP can only provide a /64

IPv6
7
32
10.1k
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
    GrumpyOldCoalMiner
    last edited by Apr 29, 2023, 2:57 AM

    Am I then limited to using IPv6 on only one interface?

    B 1 Reply Last reply Apr 29, 2023, 9:02 AM Reply Quote 0
    • B
      Bob.Dig LAYER 8 @GrumpyOldCoalMiner
      last edited by Apr 29, 2023, 9:02 AM

      @grumpyoldcoalminer Pretty much. You could try NPt but it has some limitations.

      R 1 Reply Last reply Apr 29, 2023, 9:19 AM Reply Quote 0
      • R
        RobbieTT @Bob.Dig
        last edited by Apr 29, 2023, 9:19 AM

        @bob-dig
        Why would that be the case - a /64 is a massive address space [insert random figure from Google]?

        There should be no issue assigning IPv6 addresses across multiple interfaces, subnets, VLANs to your heart's content.

        ☕️

        B 1 Reply Last reply Apr 29, 2023, 9:22 AM Reply Quote 0
        • B
          Bob.Dig LAYER 8 @RobbieTT
          last edited by Bob.Dig Apr 29, 2023, 9:23 AM Apr 29, 2023, 9:22 AM

          @robbiett /64 is the smallest you could use, to the most part, so it is only good for one LAN, which could be huge but still, only one. Evey interface needs its own /64.

          R 1 Reply Last reply Apr 29, 2023, 9:32 AM Reply Quote 1
          • R
            RobbieTT @Bob.Dig
            last edited by Apr 29, 2023, 9:32 AM

            @bob-dig I'm still confused. The /64 refers to the first part of the 128-bit address (half in this example) aka 'the prefix'. The rest of it can be farmed-out as you like.

            pfSense has no issue in doing this, using the first part as the prefix and then allowing you to subnet the rest, usually adding a simple addition after the prefix address to signify which address range belongs on any given interface. In my case a ':1' for management, ':2' for main LAN, ':3' for first VLAN etc.

            ☕️

            R M 2 Replies Last reply Apr 29, 2023, 9:42 AM Reply Quote 0
            • R
              RobbieTT @RobbieTT
              last edited by Apr 29, 2023, 9:42 AM

              An example from a VLAN on my home network (plus the handy hints from pfSense):

              login-to-view

              ☕️

              B 2 Replies Last reply Apr 29, 2023, 9:48 AM Reply Quote 0
              • B
                Bob.Dig LAYER 8 @RobbieTT
                last edited by Bob.Dig Apr 29, 2023, 9:49 AM Apr 29, 2023, 9:48 AM

                @robbiett But you got more then one /64 from your ISP, that is the point. Maybe you got a /56 or what not, which is more than only one /64.

                R 1 Reply Last reply Apr 29, 2023, 10:03 AM Reply Quote 0
                • B
                  Bob.Dig LAYER 8 @RobbieTT
                  last edited by Apr 29, 2023, 10:03 AM

                  @robbiett Also I don't think that you have active subrouters, do you? I think this only can be used with a fixed prefix and not a dynamic one, which would be another limitation on pfSense side regarding dynamic IPv6.

                  1 Reply Last reply Reply Quote 0
                  • R
                    RobbieTT @Bob.Dig
                    last edited by Apr 29, 2023, 10:03 AM

                    @bob-dig

                    The point is that you can subnet a /64. It is massive (in the scheme of what we have in IPv4 land). You just subnet it into a range, effectively identify it as a given subnet by adding an identifier (a :2 in the example above) and assign that address space to an interface / LAN / VLAN etc.

                    ☕️

                    B J 2 Replies Last reply Apr 29, 2023, 10:09 AM Reply Quote 0
                    • B
                      Bob.Dig LAYER 8 @RobbieTT
                      last edited by Bob.Dig Apr 29, 2023, 10:09 AM Apr 29, 2023, 10:09 AM

                      @robbiett You can do that but this will not work without problems because of that:

                      In IPv6, the address space is deemed large enough for the foreseeable future, and a local area subnet always uses 64 bits for the host portion of the address, designated as the interface identifier, while the most-significant 64 bits are used as the routing prefix.

                      https://en.wikipedia.org/wiki/IPv6#Addressing

                      You screen does show something different anyways, because there the prefix is a /64 and not less. The field below isn't used because I bet you don't have any subrouters.

                      R 1 Reply Last reply Apr 29, 2023, 10:22 AM Reply Quote 0
                      • G
                        GrumpyOldCoalMiner
                        last edited by Apr 29, 2023, 10:15 AM

                        Thanks, helpful discussion. So far.

                        I was (still am) confused because after setting up one LAN interface to "Track Interface" and point to the one and only WAN interface to use for tracking I get usable IPv6 addresses on hosts on that LAN.

                        But when trying to configure this same thing (Track Interface) on a interface for LAN #2 a message says can't do that, WAN interface already used for tracking on WAN1. I don't have exact message in front of me, that's me going from memory form a few days ago.

                        B 1 Reply Last reply Apr 29, 2023, 10:18 AM Reply Quote 0
                        • B
                          Bob.Dig LAYER 8 @GrumpyOldCoalMiner
                          last edited by Bob.Dig Apr 29, 2023, 10:26 AM Apr 29, 2023, 10:18 AM

                          @grumpyoldcoalminer Because one /64 is only good for one LAN. So this is expected behavior. Check with your ISP if they really only give out a /64. You have to put in the real delegation size manually on the WAN-page yourself with pfSense.

                          Mine is giving me a /56 which the first router (Fritzbox) will take some off so I configured pfSense to only demand a /60.
                          login-to-view

                          1 Reply Last reply Reply Quote 0
                          • R
                            RobbieTT @Bob.Dig
                            last edited by Apr 29, 2023, 10:22 AM

                            @bob-dig
                            This is my home example (it's Saturday!), so no sub-routers needed.

                            The only thing notable about a /64 is that most (all?) auto-configurations do not subnet below a /64. You can actually subnet all the way down to tiny subnets. For example, you could subnet down to say a /124, giving you just 16 IPv6 addresses for that LAN/VLAN.

                            There are many subnet calculators out there that give you all the options if you want to get really wacky.

                            ☕️

                            B 1 Reply Last reply Apr 29, 2023, 10:26 AM Reply Quote 0
                            • B
                              Bob.Dig LAYER 8 @RobbieTT
                              last edited by Bob.Dig Apr 29, 2023, 10:30 AM Apr 29, 2023, 10:26 AM

                              @robbiett said in What If ISP can only provide a /64:

                              There are many subnet calculators out there that give you all the options if you want to get really wacky.

                              True, but there are many devices that will not work with a subnets smaller than /64, so it is no good advise. But sure, try for yourself, if it would work for you, but you can't and shouldn't count on this at all.

                              R 1 Reply Last reply Apr 29, 2023, 10:35 AM Reply Quote 0
                              • R
                                RobbieTT @Bob.Dig
                                last edited by Apr 29, 2023, 10:35 AM

                                @bob-dig

                                The IETF didn't really imagine that an ISP would be as stingy as handing out a /64, expecting /56 or a /48 address space to be commonplace. Things didn't work out that way but the /64 address space is still massive and I've not run into a case where a client cared about its address space.

                                B 1 Reply Last reply Apr 29, 2023, 10:38 AM Reply Quote 0
                                • B
                                  Bob.Dig LAYER 8 @RobbieTT
                                  last edited by Bob.Dig Apr 29, 2023, 10:39 AM Apr 29, 2023, 10:38 AM

                                  @robbiett I once had such an ISP and I tried splitting up the /64. If I remember correct, my dell printer and my android phone didn't liked it, Windows and Linux were fine though. 😁

                                  R 2 Replies Last reply Apr 29, 2023, 10:44 AM Reply Quote 0
                                  • R
                                    RobbieTT @Bob.Dig
                                    last edited by Apr 29, 2023, 10:44 AM

                                    @bob-dig Yeah, some ISPs are just mean. Yours is the first example I have heard of a device rejecting its subnet. That's some really bad coding!

                                    For the OP the Negate manual has some words on the subject and the address ranges possible:

                                    The prefix length denotes how many bits of the address define the network in which it exists. Most commonly the prefixes used with IPv6 are multiples of four, as seen in Table IPv6 Subnet Table, but they can be any number between 0 and 128.

                                    Netgate Docs - IPv6 Subnetting

                                    ☕️

                                    B 1 Reply Last reply Apr 29, 2023, 10:47 AM Reply Quote 0
                                    • B
                                      Bob.Dig LAYER 8 @RobbieTT
                                      last edited by Apr 29, 2023, 10:47 AM

                                      @robbiett At this time, everything not being /64 is just wrong. And with dynamic prefixes via track interface you also can't go below /64, even in pfSense.

                                      1 Reply Last reply Reply Quote 1
                                      • R
                                        RobbieTT @Bob.Dig
                                        last edited by Apr 29, 2023, 10:56 AM

                                        @bob-dig said in What If ISP can only provide a /64:

                                        @robbiett ...my android phone didn't liked it, Windows and Linux were fine though. 😁

                                        Just thinking about the Android bit and I guess this would be due to Android pretending that DHCPv6 does not exist?

                                        ☕️

                                        B J 2 Replies Last reply Apr 29, 2023, 11:05 AM Reply Quote 0
                                        • B
                                          Bob.Dig LAYER 8 @RobbieTT
                                          last edited by Apr 29, 2023, 11:05 AM

                                          @robbiett Would make sense, but I don't think that was the case with the printer. And I am just a home user...

                                          R 1 Reply Last reply Apr 29, 2023, 12:23 PM Reply Quote 0
                                          6 out of 32
                                          • First post
                                            6/32
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.