IPv6 addressing on Windows involves multiple address types—link-local, global unicast, and temporary—each serving a distinct role in local and internet communication. This demonstration uses ipconfig to explore how a Windows machine automatically generates and manages these addresses.
IPv6 on Windows Demo
To see what IP version 6 addresses look like on a Windows machine, what I'm going to do to view this is click the Windows button here and type in cmd and hit enter. This is going to bring up a command prompt, and I'm just going to make it a little bit smaller here.
To view the IP addresses on this machine, I can type in ipconfig, and it's going to show me all of the IP addresses on this machine. We're looking specifically at this Ethernet adapter right here, not the Wi-Fi or any of the other ones. So as far as this Ethernet adapter is concerned, we take a look at this: it gives you an IP version 6 address, a temporary IP version 6 address, a link local IP version 6 address, an IP version 4 address, and a default gateway — both an IP version 6 and an IP version 4 address for the default gateway.
So how does it come up with this? Well, first of all, this link local is something that's necessary on any IP version 6 enabled interface. If it is up and running and it's an IP version 6 interface, then what it needs is this link local address. It starts with FE80 and comes up with the rest of this that's locally unique on there. What that allows it to do is start communicating right away. So now it can communicate on its local network via this link local address here.
Another thing that it needs to do is it needs to know what network it's on and what the router is, what the default gateway is. So it sends out what's called a router solicitation and gets a router advertisement back. Essentially it says, who's the router on there, and it gets back information from the router. So now it knows the default gateway from that. It gets this back from the default gateway, and this also is a link local address. It's an FE80 address, and this is specific to the default gateway of this network.
From there it also understands what its network is, so it will get some information from this. It's actually called SLAAC, and we'll get much more into it, but it gets information from this auto configuration called SLAAC. And so from there it gets the network that it's on, which is right here: the network that this is on is FC0000 col 1 col 1 col 0. So that's the network that this machine is on.
And then it can configure the host bits part of this. So it autoconfigures the host bits part of this, and it does it for two different addresses. It does it for this IP version 6 address, and that's just your globally unique address that it can get out to the outside world with.
But Windows does this temporary IP version 6 address as well. Why they have created the temporary one is so that they have this address that can be changed now and then. It's still globally unique, so it can get to the outside world, but it creates a little bit of anonymity, meaning that you can change it up. If you just use the same IP version 6 address all the time, then people would start associating — wherever you go could be associated to your device. And so by changing it up now and then, you create some obscurity, where people can't necessarily track all of the sites that you've been to and where you're going to and stuff. So it just creates a little bit of obfuscation there, which from a security standpoint could be important.
So that is the IP version 6 addresses.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →