Open Menu
AllLocalCommunitiesAbout
lotide
AllLocalCommunitiesAbout
Login

Why when checking the IPV6 address of a typical linux installation there is usually 3 address? Why is there 3 and how do you figure out what each one is for?

⁨30⁩ ⁨likes⁩

Submitted ⁨⁨5⁩ ⁨hours⁩ ago⁩ by ⁨colourlesspony@pawb.social⁩ to ⁨[deleted]⁩

https://pawb.social/pictrs/image/18417d5a-989e-423d-ab17-71749a205825.png

source

Comments

Sort:hotnewtop
  • slazer2au@lemmy.world ⁨5⁩ ⁨hours⁩ ago

    Because ipv6 allows multiple addresses for different reasons. I assume one of those addresses star with FE80 which is for your local lan devices to talk to each other and that long one is your actual global address to access the internet. Without seeing the actual prefixes its hard to tell.

    source
    • Mim@lemmy.zip ⁨5⁩ ⁨hours⁩ ago

      The third one is is the link local address, it has a scope of “link”.
      I’d guess the other one are a host address ( a /128) and a regular /64 address.

      source
      • kn33@lemmy.world ⁨4⁩ ⁨hours⁩ ago

        Could also be a /64 privacy address and a /64 “standard” address (SLAAC, DHCP, static)

        source
        • -> View More Comments
  • SnotFlickerman@lemmy.blahaj.zone ⁨4⁩ ⁨hours⁩ ago

    Global unicast, link-local, loopback, unique local

    source
  • Creat@discuss.tchncs.de ⁨4⁩ ⁨hours⁩ ago

    Just to add to this: it would be the same in Windows. It’s how ipv6 functions in general. The system will figure out which address to use, you shouldn’t need to use them directly in almost any case.

    source
  • marcos@lemmy.world ⁨4⁩ ⁨hours⁩ ago

    The scope tells you who can use that address to connect to you, and the ‘dynamic’ field tells you if your computer things it may change (it may not know enough).

    Your computer has 2 global addresses.

    source