Re:Tell HN: Hacker News now supports IPv6
by mort96 on Tuesday January 23, 2024 @05:31AM
(#39101667)
Wait SLAACs aren't globally routable? I thought the whole idea behind IPv6 was to not use NAT?
Re:Tell HN: Hacker News now supports IPv6
by throw0101d on Tuesday January 23, 2024 @08:13AM
(#39102888)
> Wait SLAACs aren't globally routable?
It is not the host-component of IPv6 that determines routability, it is the prefix.
If you have a link-local prefix (fe80::/10) then it is not global, if it is a private prefix (fc00::/7) then it is also not global; if it is part of IANA's unicast allocation (2000::/3) it is global.
There's an education here that unfortunately I don't have the time to give you.
SLAAC is the replacement for DHCP, it provides a local prefix address (fe80::) and optionally (and, crucially: additionally) provides a publicly routable IP if there's a public prefix available.
You can think of the subject being split into two components:
As a base: You will get a local IP
On top: you get DNS/Public routing.
Here's a bit more about how it works: https://www.networkacademy.io/ccna/ipv6/stateless-address-au...
So, if you have knowledge of your mac address (which is what you say you are using for DHCP) then you will know the fe80::<> IPv6 IP too, which, while not globally routable is probably what you want based on this comment.