• rumba@lemmy.zip
    link
    fedilink
    English
    arrow-up
    21
    ·
    1 day ago

    That’s a great analogy for carrier grade nat.

    For regular nat it’s like the pizza is able to get all the way to your house but then has no idea who to go to so somebody has to answer the door and then take the pizza from the door to the person who ordered it themselves.

    And IPv6 is like the pizza delivery guy just walks right into the house up the steps into your bedroom and hands you the pizza directly.

    The best part is they each have the same exact problems you’d have in real life.

    • Blaster M@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      22 hours ago

      Let me one up this. IPv4 NAT is like the pizza guy has to deliver to you, but you live in a gated community with a strict no visitors policy, which does not allow you to even mention what unit you’re in, and none of the addresses in the community are registered with the post office or on Google Maps either. Instead, you tell the guardhouse you want to order, and they order the pizza for you. The pizza guy delivers to the guardhouse, and the guardhouse delivers the pizza to you.

      IPv6 (with firewalling) is like a normal gated community, you order the pizza and include the unit number, and the delivery driver can deliver your pizza directly, as long as the guardhouse approves.

      The difference is, with NAT, the guardhouse has to both guard (firewall) and route (keep track of all deliveries, and deliver) your packages, where with IPv6, the guardhouse (firewall) only has to guard (firewall) the packages.

      • Pup Biru@aussie.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        10 hours ago

        i kinda love that this explanation is so much more complex not because it adds nothing but precisely because it adds a lot of realism: NAT is actually just far more complexity and processing

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      ·
      23 hours ago

      Waiting for IPv8 when the delivery guy takes a slice and feeds it to me so I don’t need to worry about greasy fingers.

    • squaresinger@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      Perfect, perfect analogy. Like, seriously, I’ve hardly ever seen an analogy that works so flawlessly where even the implications just line up perfectly.

      I am in awe.

      • rumba@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        I was eating salad in my bedroom 2:30 in the morning today.

        Me: Fuck, can’t sleep I’m hungry. You want anything? Wife: yeah, fill up my water bottle and bring me something to eat.

        I went downstairs, made two loaded salads and brought them up to the bedroom.

        I might in fact be getting old.

        • rothaine@lemmy.zip
          link
          fedilink
          arrow-up
          5
          ·
          1 day ago

          If you can eat a salad and then lay down without getting an explosion of acid reflux, maybe you aren’t old yet 😂