Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to set static IPv6 address in XP or Server 2K3?

Featured Replies

Hi,

Is there a way to hard-code an IPv6 address from the command line on a server 2K3 or XP system? In Server 2k8 and Vista you can do it via the GUI but in 2K3 and XP the properties button for TCP IPv6 is grayed out, so I think I have to do it from the command line.

I'm working in an enterprise network.

Both the IPv4 and IPv6 addresses are set to DHCP

Here are the IPv6 addresses on my system:

IP Address. . . . . . . . . . . . : 2002:c023:9c17:51a:bc51:a6:a34b:a8df

IP Address. . . . . . . . . . . . : 2002:c023:9c17:51a:609e:1621:65cc:d20d

IP Address. . . . . . . . . . . . : 2002:c023:9c17:51a:216:35ff:feaf:16b0

IP Address. . . . . . . . . . . . : fe80::216:35ff:feaf:16b0%7

I ran the command:

netsh interface ipv6 set address "Local Area Connection" 2002:c023:9c17:51a:bc51:a6:a3

4b:a8df

and the message, "OK" is returned which leads me to believe that something worked, but did this command set that IP static? How can I confirm that?

When I run that same command on the other two IP addresses (ending in d202 and 16b0) I get the message: "A device attached to the system is not functioning"

Side question: Why do I have so many IPv6 addresses? I know the fe80 one is the link local address, but why the three 2002.. addresses?

Thanks!

brian

Correct, there is no graphical configuration of IPv6 settings, the command to add an address is indeed:

“add address [interface=]<string> [address=]<IPv6 Adress>”

For example: add address interface="Local Area Connection" 2002:c023:9c17:51a:bc51:a6:a34b:a8df::1

This should "hardcode" it.

Edit: More information can be found on the Technet ipv6 pages.

Edited by beats

  • Author

Thanks for the prompt response.

In your example you added "::1" to the end of the IP address (2002:c023:9c17:51a:bc51:a6:a34b:a8df::1)

Do I need to add the "::1" as well?

Is there any way to confirm that the address is set statically now?

Thanks again!

Correct, there is no graphical configuration of IPv6 settings, the command to add an address is indeed:

“add address [interface=]<string> [address=]<IPv6 Adress>”

For example: add address interface="Local Area Connection" 2002:c023:9c17:51a:bc51:a6:a34b:a8df::1

This should "hardcode" it.

Edit: More information can be found on the Technet ipv6 pages.

the ::1 means that any leading digits were 0's

for example the link local address Fe80::1 is the same as FE80:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1 !! (I know which one i would rather type :))

Edited by eyeball

  • Author

Great - thanks for the explanattion.

I'll take your word(s) that the IP is now set statically but is there any command I can run to verify that it is indeed hard-coded?

Also, do you know what these additional IP addresses are?

IP Address. . . . . . . . . . . . : 2002:c023:9c17:51a:609e:1621:65cc:d20d

IP Address. . . . . . . . . . . . : 2002:c023:9c17:51a:216:35ff:feaf:16b0

If I run "netsh interface ipv6 set address "Local Area Connection" 2002:c023:9c17:51a:609e:1621:65cc:d20d "

I get the error: A device attached to the system is not functioning.

What are these addresses for? I can ping them. But the host only has one nic.

thanks!

brian

run an ipconfig /all that will tell you if you are being assigned that address by DHCP or not.

The additional 2002:x addresses are global unicast addresses if im not mistaken, how do you have them? does your ISP provide IPv6 connectivity?

Thanks

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.