How to enable IPv6 addresses on your Windows box using netsh

Home > Blogs > Cisco > How to enable IPv6 addresses on your Windows box using netsh

How to enable IPv6 addresses on your Windows box using netsh

Like This Blog 1 Mark Jacob
Added by April 20, 2015

Since something related to networking is my usual topic of choice, with a magnifying glass on Cisco-specific targets, it may seem odd to see the word ‘Windows’ in my title. However, since its progress is inexorable and its arrival is unstoppable, it pays to get more familiar with IPv6 and how to configure it. In this blog I will demonstrate how to assign a specific IPv6 address to an interface.

Since most career network people are likely quite familiar with the way to do this in IPv4, a valid question is this: “Why can’t I just do it the same way?” The technical answer is: Because you can’t! They usual way to assign an IPv4 address is to launch the Network Properties GUI and fill in the boxes. However, as of this writing there is no native IPv6 GUI for use in Windows. Allay the panic rising in your throat; there is life outside the GUI.

The first step (which can be done with the GUI) is to access the Network Properties applet.  One way to do this is to type ncpa.cpl. Whatever your favorite way, once you get there, right-click on the icon representing your connection and choose Properties. You should see something similar to Figure 1:


Figure 1

I have outlined the area of interest.  Note that my machine already has IPv6 enabled. This does not necessarily mean I have an IPv6 address, it just indicates that IPv6 is enabled on the box. The main point of this blog is to show how, once IPv6 is enabled, to get an IPv6 address on that interface. Here we go.

The next step is to get to an administrative command prompt. Recall that our method today involves the netsh context.  Since most people don’t have a perfect memory, you will likely not remember all the possible configuration options within this context by heart. However, you can use the /? capability to remind you of the remainder of the command. Let’s take a look:


Figure 2

You can see that I entered netsh interface ipv6 show /? which gave me a list of potential next options. From the list, I selected show addresses. This provided me with two useful pieces of information. First, there is no global unicast IPv6 address on my Local Area Connection. Second, my Local Area Connection has an identifier number of 11, which I outlined in Figure 2. I will now use this information to further my goal:


Figure 3

Once again, I use ‘?’ to my advantage. It gets me to the context where I can identify my interface and then assign an address. That command looks like this:


Figure 4

Now let’s take another look at the ‘show’ command to verify that it worked:


Figure 5

Notice that the link-local address (begins with fe80) is still present on the interface, but now the new address which I just entered appears on the interface as well. Voila! it really is that easy. However, let’s say you fat-fingered your entry and after it is accepted you discover your error. You might be tempted to just replace the bad entry by typing the new entry correctly. However, the bad IPv6 address will not be overwritten – it will still be present on the interface as well. So you actually must remove it. Let’s see how to remove an address:


Figure 6

In my case, this just returns my machine to its state before I added an IPv6 address. In actual practice, this is how to remove an IPv6 address that is no longer needed (or just plain wrong).

I hope you are continuing to improve your IPv6 skillset and I hope this blog has contributed to that advancement! Feel free to post comments or suggestions.

Until next time…

Mark Jacob
Cisco and CompTIA Network + Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

A Simple Introduction to Cisco CML2

0 3794 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Configuring Windows Mobility Center and How to Turn it On and Off

1 1433 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

How to create a Cisco IOS Banner – Login and MOTD Message of the Day

0 4289 4

In this video, Cisco CCNA instructor Mark Jacob shows how to create a Login and Message of the Day (MOTD) banners in Cisco IOS. The Banner is an interesting feature of the Cisco IOS. You could probably get by without it, but in a commercial environment you want to have it.

Write a Comment

See what people are saying...

  1. Pingback: More IPv6 Windows netsh Commands

Share your thoughts...

Please fill out the comment form below to post a reply.