Powered by Blogger.

Assign IPv6 address in Windows XP from command line

Monday, May 4, 2009

Command:
netsh interface ipv6 add address interface=<> address=<> type=<> validlifetime=<> preferredlifetime=<> store=<>

interface
: Interface name or index
address: IPv6 address to add
type: unicast or anycast
validlifetime: lifetime over which the address is valid (integer | infinite), Default is infinite
preferredlifetime: lifetime over which the address is preferred (integer | infinite), Default is infinite
store: (active: change only lasts until next boot | persistent: change is persistent(Default))

Example:
netsh interface ipv6 add address "LAN" 2001::4 type=unicast

here "LAN" is the name of interface, 2001::4 is the IPv6 address

Note:
- to get information about windows commands, try: command ?

No comments: