> Auto generated addresses are usually in the form of "prefix - device_id" so even if a node has a lot of addresses, they are all mostly the same > Internet/non-local IPv6 addresses break the rules a bit and don't use a device_id in their addresses in order to protect user privacy So a device needs to have both an internal address and an "Internet/non-local" address in IPv6? Plus one for WAN and Link-Local? 4-5 addresses per device?
Not clear. How do i reach a device in my local network? Via the optional internal address if my uplink is down and via my link-local address if my uplink is up?
Is the link-local address any good if i'm on wifi but want to ssh into a wired host in my home? Are you getting my point yet? Edit: actually I won't wait. The point is it's needlessly overcomplicated. It was done by a commitee that didn't even consider people could try to set up their home network. It's good enough for the enterprise (except cloud sellers it seems) and the plebs should just buy a router. They also didn't consider someone would try to use the command line, since those addresses are not typable.
> Is the link-local address any good if i'm on wifi but want to ssh into a wired host in my home?
Lets breath and think about this for a second, you want to know how to reach a device on your local network, your host has a "link-local" address. Could there be a connection here? The answer is yes because it's in the name, it's literally in the name, why are you confused? What is over complicated about this? Back when I was in college I did IPv6 compliance testing as a part time job. Me and random other freshman computer science + IT students were able to pick this up after a day or two of training (aka reading RFCs) with next to zero network experience. I really can't help but see your complaints about complexity as nothing but the whining of a child. (we also exclusively used the commandline)
A global address is an address that is routable over the internet. You can reach it from anywhere as long as your firewall permits so. A link-local address is never routed. It is only valid on a single network segment.
You can use it if your uplink is down and you don't have multiple networks at home. It is usually derived from the MAC address of your NIC. There are some special link-local multicast groups, ff02::1 is the 'all nodes' address. If you send something there it will be received by all hosts on the link. ff02::2 is 'all routers' - this will be received by all routers on the link. There are more [0]. If you have multiple internal networks and want to reach hosts without an uplink, you can use the unique local address range fc00::/7 This functions just like 10.0.0.0/8 on IPv4 and is only routed within your site. [0] https://www.iana.org/assignments/ipv6-multicast-addresses/ip...
Actually there can be an arbitrary number of addresses per device, thanks to the privacy extensions. Since your “device id” is a simple derivation of your MAC address, technically you could be tracked across ipv6 networks through that.
Therefore most modern oses will create a time limited random address (within the prefix) to use. When the connections using that address have died, the address is retired. New addresses are generated on a periodic basis. So if you have long lived connections you could have several active privacy addresses at the same time.
It is very normal for devices to have multiple IPv6 addresses. Pretty much every device will have at least two: a link-local address and a public address. When autoconfigured, some devices generate both a long-term and a temporary public address.
> Auto generated addresses are usually in the form of "prefix - device_id" so even if a node has a lot of addresses, they are all mostly the same
> Internet/non-local IPv6 addresses break the rules a bit and don't use a device_id in their addresses in order to protect user privacy
So a device needs to have both an internal address and an "Internet/non-local" address in IPv6?
Plus one for WAN and Link-Local?
4-5 addresses per device?
You only need two addresses:
- a global address
- a link-local address
Is the link-local address any good if i'm on wifi but want to ssh into a wired host in my home?
Are you getting my point yet?
Edit: actually I won't wait. The point is it's needlessly overcomplicated. It was done by a commitee that didn't even consider people could try to set up their home network. It's good enough for the enterprise (except cloud sellers it seems) and the plebs should just buy a router.
They also didn't consider someone would try to use the command line, since those addresses are not typable.
Lets breath and think about this for a second, you want to know how to reach a device on your local network, your host has a "link-local" address. Could there be a connection here?
The answer is yes because it's in the name, it's literally in the name, why are you confused? What is over complicated about this?
Back when I was in college I did IPv6 compliance testing as a part time job. Me and random other freshman computer science + IT students were able to pick this up after a day or two of training (aka reading RFCs) with next to zero network experience. I really can't help but see your complaints about complexity as nothing but the whining of a child. (we also exclusively used the commandline)
Continue this thread — 4 replies
A global address is an address that is routable over the internet. You can reach it from anywhere as long as your firewall permits so.
A link-local address is never routed. It is only valid on a single network segment. You can use it if your uplink is down and you don't have multiple networks at home. It is usually derived from the MAC address of your NIC.
There are some special link-local multicast groups, ff02::1 is the 'all nodes' address. If you send something there it will be received by all hosts on the link.
ff02::2 is 'all routers' - this will be received by all routers on the link. There are more [0].
If you have multiple internal networks and want to reach hosts without an uplink, you can use the unique local address range fc00::/7
This functions just like 10.0.0.0/8 on IPv4 and is only routed within your site.
[0] https://www.iana.org/assignments/ipv6-multicast-addresses/ip...
Therefore most modern oses will create a time limited random address (within the prefix) to use. When the connections using that address have died, the address is retired. New addresses are generated on a periodic basis. So if you have long lived connections you could have several active privacy addresses at the same time.