• Album@lemmy.ca
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    5 months ago

    Ipv6 requires fundamental rethinking about how addressing is done. If you’re trying to apply v4 concepts to V6 you likely end up running into something they intentionally designed out.

    A unique local address is an address space where you could do that. It’s the equivalent to RFC1918 eg. 172/192/10. So you could statically assign fd0::x, and that is expected, but not required generally.

    I wouldn’t give each device a static unique global address unless they need to be accessed via wan without domain consistently. You lose device privacy really quickly that way because every device gets a unique globally routable address. It’s fine for internet facing services but most Linux, Windows, and mobile implementations are using ipv6 privacy extensions by default to ensure you get a random GUA every day.

    My network is dual stack and I connect mostly over ipv6 to all my internal clients using internal DNS. If my internal DNS is ever down I can fall back to ipv4 or it’s basically the one box on my network with an easy to remember ULA.

    • skittlebrau@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      edit-2
      5 months ago

      Each year I seem to think “this will be the year I set up IPv6 in my homelab” - but then I never get around to it.

      If I have to run both v4 and v6 concurrently, there isn’t much incentive/motivation for me to use v6 locally.

      Maybe I’ll get around to it when there’s a net benefit for me for my use case, or when I’m forced to.

      Am I just imagining it to be more complicated than it actually is?

      My router runs pfsense and I have 6 VLANs each with its own subnet - Management, Trusted, IoT, Cameras, Guest, and Web Facing Servers.

      • Album@lemmy.ca
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        5 months ago

        It’s honestly super simple to set up. Outside of your ISP config it’s almost all autoconfig. 100% of the complication (at least for me) comes from knowing ipv4 first for 20 years and then trying to incorrectly map those concepts to V6.

        As soon as I “let go” it was fine.

        There’s not a huge net benefit you’re right. I mostly wanted to learn and I hope to be at the front edge of disabling ipv4 in the near distant future.

        • CosmicTurtle0@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          An issue I had the last time I tried to set up IPv6 up was pihole didn’t work as well as I would have preferred. I assumed I just didn’t set up things correctly and it’s looking like that is the case based on the OP.

          It kept resolving ad domains with their IPv6 address.

          • Auli@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 months ago

            Who cares if it access them over ipv6. Their still blocked.

            • CosmicTurtle0@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 months ago

              If ad domains can be resolved to their IPv6 addresses, it means that they are not blocked. Your device connects to the IPv6 address and serves the ad.

              I can’t remember what the problem was but my window to rollback was closing so I reverted back to IPv4 only and pushed it to another day.

        • cmnybo@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 months ago

          The benefit is being able to easily access devices from the internet. The same address works on the LAN and WAN. There’s no port forwarding, so multiple devices can have the same port open. You also don’t need to mess with a VPN if your IPv4 connection uses CGNAT.

          • Album@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 months ago

            Yeah dropping Nat is the biggest net benefit I agree but I think the avg person won’t really find that much value in it when Nat works ok

            • Auli@lemmy.ca
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 months ago

              And the average person is going to be using it without knowing. And never complain or anything.

            • cmnybo@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              5 months ago

              NAT works fine until you get stuck on CGNAT and can’t host anything on IPv4 without using a VPN.

              • Tja
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 months ago

                Meh, nothing a VPN and a 3 bucks a month VPS can’t solve…

                yells at cloud in IPv4

                • deadbeef79000@lemmy.nz
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  5 months ago

                  Yet.

                  As IPv4 blocks get scarcer and ISP’s get more customers, they’ll all eventually have to move to IPv4 CGNAT.

                  And that’s completely fine for most people.

                  If you’re not one of those people, then IPv6 is your saviour.

        • skittlebrau@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 months ago

          Thanks, I’ll give it a go!

          I suppose it’ll be easy since my whole stack uses IPv4, so I’ll be simply adding another interface on without service disruptions.

      • vodka@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        If you happen to torrent a fair bit (especially public trackers) then ipv6 can make a huge difference, there’s loads of ipv6 only seeders and leechers I’m suddenly reaching.

      • Auli@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        Its a mind shift cause so use to NAT and ipv4. But it is not they hard. I’m glad I learned it, but the beginning was tuff.