• Illecors@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      44
      arrow-down
      1
      ·
      1 month ago

      It’s a Class A address, reserved for loopback devices. While not any sort of default - yes, it could be used as home :)

        • rtxn@lemmy.worldM
          link
          fedilink
          arrow-up
          7
          ·
          1 month ago

          Technically it fits inside the highest class-A subnet… but I’ve seen so many people (especially teachers) who think that class-A and /8 subnets are equivalent that I firmly believe that the idea of classful networking should be removed from technical literature altogether.

          • azertyfun@sh.itjust.works
            link
            fedilink
            arrow-up
            16
            arrow-down
            1
            ·
            1 month ago

            Classful IPv4 was obsoleted 32 years ago. Only 8 years left before it’s literally older than a standard career.

            It’s fascinating the sheer inertia that leads formally-trained IT professionals to use and perpetuate such profoundly useless and obsolete nomenclature. You’d think that having an incorrect use of the term “class A” and not having any use for classes B and C would tip off academia that they should cordon off classful networking to the “History of Computing” course next to ARPANET.

            Maybe next time someone refers to 10.0.0.0/8 as a Class A network I’ll refer to it as the ARPANET Network. That’s only very slightly more anachronistic (3 years).

    • Gyroplast@pawb.social
      link
      fedilink
      English
      arrow-up
      26
      ·
      1 month ago

      Yes. 127.0.0.0/8 is reserved IPv4 address space for Loopback. It is perfectly valid, and occasionally useful, to use other loopback addresses that are functionally identical, like 127.0.1.1 or 127.0.0.53, which carry semantic information for the initiated, like “53? Must be DNS-related, obviously!”

      • kn33@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 month ago

        At the place I work, we use 10.127.0.0/16 for loopback addresses on networking equipment because it has that little familiarity from 127.0.0.0/8

  • Gyroplast@pawb.social
    link
    fedilink
    English
    arrow-up
    17
    ·
    1 month ago

    This reminds me of the tale of the coder tasked to write an input validator for IPv4 addresses. Poor bastard.

    Another fun one: 0177.042.017.066

    PSA: Don’t zero-pad your IPv4 octets. Decimal is for simpletons.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        24 days ago

        Care to explain?

        NAT adds latency plus it makes end to end connections very hard to do. IPv6 on the other hand makes thing much simpler since you don’t need to guess the ports.

        • sharpratchet@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          24 days ago

          I do a lot of networking and I like being able to remember IPs and subnetting is a lot easier. I haven’t really realized any issues with latency. Haven’t really had to guess ports either as NAT handles that. I think IPv6 is a good idea and works great for computers, but as I human I prefer IPv4.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            23 days ago

            IPv6 doesn’t need to be hard. For one you can use DNS since it is probably Tue best in terms of readability.

            For addressing you can do a few different things. If you are just looking for simple addresses you can do something like:

            2001:ab6f:c5::5 2001:ab6f:c5::6

            If you have multiple areas or vlans you also can separate them with site info in the address. Something like:

            Site one: 2001:ab6f:1:1::1

            Site two: 2001:ab6f:2:1::1

            Site two vlan 666: 2001:ab6f:2:666::1

            You also can use words like beef and cafe to make it more memorable.

            Ipv6 is also nice since subnetting is much simpler. All subnets are /64 so it is very easy to know if an address is in a subnet. No more /19 and other crazy subnetting madness.