1. Configuring an IPv6 Address with netsh
You can also configure IPv6 addresses with netsh though the syntax is a little different. The basic syntax is
netsh interface ipv6 set address [[interface=]
] [address=]
[[type=] unicast | anycast]
Tip
If you want to identify the names of the IPv6 interfaces on the system, you can use the following command:
netsh interface ipv6 show interfaces
For example, if you want to set the unicast IPv6
address of a NIC named Local Area Connection to fe80::4, you can use
the following command:
netsh interface ipv6 set address interface =
"local area connection" address = fe80::4 type = unicast
The ipv6 set command defaults to unicast, so you can also use the following command with type omitted:
netsh interface ipv6 set address "local area connection" fe80::4
2. Disabling IPv6 in Windows Server 2008
In previous versions of Windows, you can remove IPv6 using the netsh
command; however, you are unable to remove it from Windows Server 2008
or Windows Server 2008 R2. The best you can do is disable it. The
following steps show how to disable IPv6.
Step | Action |
---|
1. | Click Start, Control Panel. |
2. | Type Network in the Control Panel Search box. |
3. | Click View Network Connections. |
4. | Right-click over the network connection you want to disable IPv6 on and select Properties. |
5. | Deselect the checkbox next to Internet Protocol Version 6 (TCP/IPv6) as shown in Figure 1. |
6. | Click OK and close all Windows. |