Categories
Computers

Configuring a static IPv6 address in Windows 2003 with netsh

For each network interface, Windows 2003 Server offers a GUI to configure IPv4 parameters (Internet Protocol (TCP/IP)).

After installing IPv6 there is a new item Microsoft TCP/IP Version 6. When selecting that, the “Properties” box becomes grey-out.

This means that there is no GUI to configure IPv6 parameters. You will have to use the netsh command.

This is quite simple, but it takes some effort to find out the right combination of switches to make it happen.

As an example my employer’s WindowsMedia streaming server. This box has native IPv6 connectivity.

I set the address and gateway as follows:

netsh interface ipv6 set privacy disabled
netsh interface ipv6 add address interface="Local Area Connection" \
    address=2001:610:148:dead:202:b3ff:fe9a:d264 store=persistent
netsh interface ipv6 add route ::/0 interface="Local Area Connection" \
    2001:610:148:dead::1 store=persistent

6 replies on “Configuring a static IPv6 address in Windows 2003 with netsh”

to assign ipv6 address for a compiter is there any software to upgrade from ipv4 into ipv6…
if it is necessary plz give the name of software if available plz give me the link of software

thank you

Hello… Thanks but when I try the third parameter on a Win server 2003, it tells me “incorrect parameter”. Thanks in advance, Roger .OHmygod what a long chapta you make me write down ! 8-D

Yeah, there should be an equals sign (‘=’) between interface and the interface name on the third line.

This is wrong:
netsh interface ipv6 add route ::/0 interface “Local Area Connection” \
2001:610:148:dead::1 store=persistent

It should be:
netsh interface ipv6 add route ::/0 “Local Area Connection” \
2001:610:148:dead::1 store=persistent

i did this configuration in two hosts, and tried to do ping6 between them, it failed

how can i make it work ? i need a unicast static route ?

Comments are closed.