Why doesn’t every computer have a hardware based static ipv32 address, along with a private key to prove it is the sole owner of the address?

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    IP address is really the best comparison here. Some computers share an IP just like entire call centers may share the same phone number. And neither IP addresses and packets nor phone numbers are properly authenticated without additional enforcement systems.

    Internal networks exist for computers and phones. It’s a nice parallel.

        • JesterIzDead@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Yes, but no. The public IP is that of the router, which NATs packets to each host, each of which must have a unique private IP. The public IP does not reference or identity hosts behind the router.

      • lemmyng@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Sure they can. If you put a network behind a router they will share an egress/ingress IP. And there are certain high availability setups where computers share IPs in the same subnet for hot/standby failover.

        • JesterIzDead@lemm.ee
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          Yes, but no. The public IP is that of the router, which NATs packets to each host, each of which must have a unique private IP. The public IP does not reference or identity hosts behind the router. And that’s not how HA works. Only one host is assigned the active IP at one time.

          • lemmyng@lemmy.ca
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 year ago

            When you do call routing with a PBX each phone has an unique extension, equivalent to the private IP of each host.

            Oh, and there’s also anycast, which is literally multiple active devices sharing an IP.

          • meteokr@community.adiquaints.moe
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            So computers can share IP’s then right? By your example they are sharing their public IP. From the perspective of the server you are connecting to, all the machines on your LAN have the same IP. Same way multiple physical phones can be connected to a single landline, all those phones share the same number.