• empireOfLove2@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    bro just add another octet to the end of ipv4. That goes from 4 billion to a trillion and will most definitely outlast modern electronics and capitalism

  • Frezik@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    140
    ·
    4 days ago

    I know it’s a joke, but the idea that NAT has any business existing makes me angry. It’s a hack that causes real headaches for network admins and protocol design. The effects are mostly hidden from end users because those two groups have twisted things in knots to make sure end users don’t notice too much. The Internet is more centralized and controlled because of it.

    No, it is not a security feature. That’s a laughable claim that shows you shouldn’t be allowed near a firewall.

    Fortunately, Google reports that IPv6 adoption is close to cracking 50%.

      • Frezik@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        13
        ·
        4 days ago

        There is something there, but mostly I think existing net admins try to map their existing IPv4 knowledge onto IPv6. That doesn’t work very well. It needs to be treated as its own thing.

      • deur@feddit.nl
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        Nah. You’re just too stupid to understand the internet is designed to be used with DNS. The people who design these protocols and operate the networks that form the internet have no issues with DNS and don’t care that you don’t understand.

        • lemmylommy@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          3 days ago

          Funny how I never once criticized, or even mentioned, IPv6s complexity, yet that is the aspect you chose to so valiantly defend. Quite telling, isn’t it?

    • iii@mander.xyz
      link
      fedilink
      English
      arrow-up
      10
      ·
      4 days ago

      Fine, I won’t invite you to our bi-annual TURN server appreciation event.

    • IrateAnteater@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      4 days ago

      We use NAT all the time in industrial settings. Makes it so you can have select devices communicate with the plant level network, while keeping everything else common so that downtime is reduced when equipment inevitably fails.

        • IrateAnteater@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          3 days ago

          This is equipment that uses all statically addressed devices. And ignoring the fact that IPv6 is simply unsupported on most of them, there are duplicate machines that share programs. Regardless of IP version you need NAT anyway if you want to be able to reach each of the duplicates from the plant network.

  • DarkSideOfTheMoon@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    3 days ago

    Also for home network I don’t won’t my IOT to have a real IP to the Internet. Using IPv4 NAT you can have a bit of safety by obscurity

    • InnerScientist@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 days ago

      I don’t won’t my IOT to have a real IP to the Internet

      Why not? What’s the difference to them having a nat ipv4?

      • IphtashuFitz@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        2 days ago

        No, but it’s far easier to explain how to configure your home network such that 182.168.1.* is for your regular devices like laptops, etc. and 192.168.2.* is for your IoT devices. Then block all access from 192.168.2.* to the internet so your IoT devices can’t “phone home”, can’t auto-update without your knowledge, can’t end up as part of a botnet, etc.

        • Spaz@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          2 days ago

          That’s the thing, you are still thinking in ipv4 terms, and that’s ok. It’s a different way to think of things using ipv6 and the proper way to configure them. No worries tho. Not like you are being forced to ipv6 for internal home networks.

  • nonentity@sh.itjust.works
    link
    fedilink
    arrow-up
    31
    ·
    3 days ago

    The reason IPv6 was originally added to the DOCSIS specs, over 20 years ago, is because Comcast literally exhausted all RFC1918 addresses on their modem management networks.

    My favourite feature of IPv6 is networks, and hosts therein, can have multiple prefixes and addresses as a core function. I use it to expose local functions on only ULA addresses, but provide locked down public access when and where needed. Access separation is handled at the IP stack, with IPv4 it’s expected to be handled by a firewall or equivalent.

    • Bytemeister@lemmy.world
      link
      fedilink
      English
      arrow-up
      20
      ·
      3 days ago

      My favorite feature of IPv6 is that there are so many addresses available. Every single IPv4 address right now could have its own entire IPv4 range of addresses in IPv6. It’s mind-boggling huge.

    • gens@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      They kept talking it was because address exaustion, and IANA sold all the remaining blocks they had…

      I tested it at the time. Ran nmap ping scan across a block all night with zero results. IANA sold the internet

  • Blaster M@lemmy.world
    link
    fedilink
    English
    arrow-up
    37
    ·
    edit-2
    3 days ago

    Skill issue

    IPv6 is easy to do.

    2000::/3 is the internet range

    fc00::/7 is the private network range (for non routing v6)

    fe80::/64 is link local (like apipa but it never changes)

    ::1/128 is loopback

    /64 is the smallest network allocation, and you still have 64 bits left for devices.

    You don’t need NAT when you can just do firewalling - default drop new connections on inbound wan and allow established, related on outbound wan like any IPv4 firewall does.

    Use DHCPv6 and Prefix Delegation (DHCPv6-PD) to get your subnets and addresses (ask for a /60 on the wan to get 16 subnets).

    Hook up to your printer using ipv6 link local address - that address never changes on its own, and now you don’t have to play the static ip game to connect to it after changing your router or net config.

    The real holdup is ISPs getting ultra cheap routers that use stupid network allocation systems (AT&T) that are incompat with the elegant simplicity of prefix delegation and dhcp.

  • thejml@sh.itjust.works
    link
    fedilink
    arrow-up
    29
    ·
    4 days ago

    I use IPv6 every day and everywhere I can. It solves so many issues in large corporate and ISP network setups. And yes 10. Wasn’t big enough, and NATing is a PitA.

    Honestly we just keep pushing it off when it’s not that bad. Workaround after workaround just because people are lazy.

      • jj4211@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        2 days ago

        Having the breathing room is great.

        You have two teams that independently set up private networks but now someone has to talk to them both?

        In IPv4, they likely stepped on the same private subnets. In ipv6, they pretty much certainly did not step in the same ULA prefixes. My VPN setup is a mess of a maze to deal with the fact that most things I connect to are all independently allocated 10. subnets, with the IPv6 focused customer being easiest.

        Also, if you want to embed information in your addressing, like vlan I’d or room information.

        Besides, you can have addresses like fd37:5f1a:b4c1::feed:face, and that’s fun isn’t it?

      • Frezik@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        16M devices on one network would almost certainly have major scalability problems all its own. SMB chattiness alone . . . shudder.

  • LaLuzDelSol@lemmy.world
    link
    fedilink
    arrow-up
    22
    ·
    edit-2
    3 days ago

    Just my perspective as a controls (SCADA engineer):

    I work for a large power company. We have close to 100 sites, each with hundreds of IP devices, and have never had a problem with ipv4. Especially when im out in the field I love being able to check IPs, calculate gateways, etc at a glance. Ipv6 is just completely freaking unreadable.

    I see the value of outward-facing ipv6 devices (i.e. devices on the internet), considering we are out of ipv4s. But I don’t see why we have to convert private networks to ipv6. Put more bluntly: at least industry, it just isn’t gonna happen for decades (if it ever does). Unless you need more IPs it’s just worse to work with. And there’s a huge amount of inertia- got one singular device that doesn’t talk ipv6 at a given generation site? What are you supposed to do?

    • Captain_Faraday@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 days ago

      I’m a protective relay settings engineer at a contractor for lots of power companies. I’m dipping my toes into my first substation automation project. Getting to design the device native files, IPs, and other networking parts from the drawings package of site and device manuals. It’s all SEL equipment with a gateway at the top and local powerWAN, RTAC, annunciators, and relays below. I live thousands of miles from the site, so local testing would be challenging but probably have to fly or something lol. I have been doing some research on how to emulate this is a lab setting when all you have is the RTAC and some relays. Is this something SCADA engineers have to do sometimes? Like if you need to test a scheme when you can’t build it physically first?

  • MissingGhost@lemmy.ml
    link
    fedilink
    arrow-up
    17
    ·
    3 days ago

    I’m surprised by the comments here. I use 90% IPv6. For me v4 is only present for retro compatibility. The transition was hard however.

  • Voyajer@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    4 days ago

    CGNATs suck ass though, I had to buy a vps just to access my own network outside my home.

    • Yeah, had the same issue with my ISP, but at least they switched me back to ipv4 after a support call. Didn’t want to pay extra for the privilege of not being reachable from the outside anymore.

    • atotalblank@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

      I’ve recently changed isp and am now hitting CGNAT problems. I have been running Nextcloudpi for years and now I can’t access it from outside. I’ve trying to understand if I can fix the problem using IPv6 but from what you’ve said I’m now wondering if a vps is the solution?

      • Voyajer@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        My ISP doesn’t properly support IPV6, otherwise it should work. I use wireguard to route just my server traffic to the vps.

      • couch1potato@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        I deal with cgnat on my 2 isps at home. Install tailscale on your vps and your router at home and then on your router you can share subnet devices over your tailscale network. Install a reverse proxy on your vps.

        If set up correctly you can route a human readable web address (jellyfin.example.com) to your vps static ip address and then to, for example, a docker container with local address 192.168.100.1:8096, via reverse proxy.