• Kerb@discuss.tchncs.de
    link
    fedilink
    arrow-up
    41
    ·
    edit-2
    6 months ago

    ::1 is the new 127.0.0.1
    :: abbreviates empty fields
    ipv6 has more addresses
    there is something going on with mac addresses (asside from arp)

    thats all i remember

      • twei@discuss.tchncs.de
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        6 months ago

        fc00::/7 are ULA (basically what RFC1918 was for IPv4) not entirely true, fc00::/8 is part of ULA, but it is not yet defined. Use fd00::/8 instead.
        2001:db8::/32 is for documentation purposes

        • eclipse@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          6 months ago

          IMO they shouldn’t have allowed ULA as part of the standard. There’s no good reason for it.

          • nonentity@sh.itjust.works
            link
            fedilink
            arrow-up
            6
            ·
            6 months ago

            I use ULA prefixes to ensure the management interfaces of my devices don’t leak via public routes.

            It’s one of the unique parts of the standard IPv6 stack not back ported to IPv4, that an interface on any host can be configured with multiple addresses. It permits functional isolation with the default routing logic.

            IPv6 is far from perfect, but the majority of the arguments I’ve seen against deploying it are a mixture of laziness, wilful ignorance, and terminal incuriosity.

            • eclipse@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              6 months ago

              I might be misunderstanding. It’s definitely possible to have as many IPv4 aliases on an interface as you want with whatever routing preferences you want. Can you clarify?

              I agree with your stance on deployment.

              • nonentity@sh.itjust.works
                link
                fedilink
                arrow-up
                3
                ·
                6 months ago

                Configuring multiple v4 addresses on an interface is a kludge, typically only used on hosts which apply inter-network routing logic. It’s an explicit, primary function of the standard v6 specifications.

                With v4, you would use either RFC1918 and NAT, or plumb a public address to the host.

                With v6 you should use a ULA and an address with a public prefix, and selectively open ports/services to on appropriate address.

                An example is the file sharing and administration daemons on my NAS are only bound to its ULA. I don’t need to worry whether it will accidentally be exposed publicly through fat fingering my firewall config, because it will never route beyond my gateway.