For those who want to try it at home:

ping 33333333
ping 55555555

I am sorry, two random Internet users in Korea and Germany, your IP addresses are simply special.

  • remotelove@lemmy.ca
    link
    fedilink
    arrow-up
    4
    ·
    22 hours ago

    I don’t want to go so far as to tell you how to think, but as long as we are talking about how to visualize IP addresses, you may want to check out subnets and subnet masking.

    The notation of IP addresses starts to make sense when you think about the early days of TCP/IP when all IP addresses were public and NAT’ing wasn’t really required yet. Basically, there needed to be ways for networks to filter traffic by IP blocks that were applicable. (It was [in part] a precursor to collision avoidance, but absolutely not the full story.) We still use addressing and masking today, but it’s more obvious when it’s local. (Like in data centers, where it’s super practical to mask off a block of addresses for a row or rack of servers.)

    To your point, yeah. IP addresses are probably more comparable to the Dewey Decimal System rather than actual numbers and thinking of them as strings is probably easier.

    • yardratianSoma@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      20 hours ago

      Oh no worries, I am writing a Cisco networking exam in about a month, so I’ve actually studied subnets and addressing a good amount, but I don’t mind the refresher!

      I was just speaking more generally, in terms of programming, where integers and strings are different data types, yet you can store numbers as a string, which I always found interesting.