IPv6 Interface-Konfiguration anzeigen:
netsh interface ipv6 show addresses
Windows XP bildet die Interface-ID der IPv6 Adresse basierend auf dem modifizierten EUI-64 Verfahren. Ab Windows Vista wird dazu ein sogenannter „permanant“ randomized identifier verwendet, d.h. die IPv6-Adresse ist nicht mehr direkt aus der MAC-Adresse abgeleitet.
Dieses Verhalten kann per netsh-Befehl abgeschalten werden:
netsh interface ipv6 set global randomizeidentifiers=disabled
netsh interface ipv6 add address InterfaceNameOrIndex IPv6Address [[type=]unicast|anycast] [[validlifetime=]Minutes|infinite] [[preferredlifetime=]Minutes|infinite] [[store=]active|persistent]
Beispiel:
netsh interface ipv6 set interface InterfaceNameOrIndex [forwarding=]enabled|disabled] [[advertise=]enabled|disabled] [[mtu=]MTUSize] [[store=]active|persistent]
netsh interface ipv6 add route IPv6Address/PrefixLength InterfaceNameOrIndex [[nexthop=]IPv6Address] [[publish=]no|age|yes] [[validlifetime=]Minutes|infinite] [[preferredlifetime=]Minutes|infinite] [[store=]active|persistent]
netsh interface ipv6 add route fec0:0:0:1::/64 "Local Area Connection" publish=yes netsh interface ipv6 add route fec0:0:0:2::/64 "Local Area Connection 2" publish=yes
netsh interface ipv6 add route ::/0 "Local Area Connection 3" nexthop=fe80::2aa:ff:fe98:2ab1 publish=yes
C:>netsh interface ipv6 show /? The following commands are available: show address - Shows IPv6 addresses. show bindingcacheentries - Shows binding cache entries. show destinationcache - Shows destination cache entries. show dns - Displays the DNS server addresses. show global - Shows global configuration parameters. show interface - Shows interface parameters. show joins - Shows IPv6 multicast addresses. show mobility - Shows mobility configuration parameters. show neighbors - Shows neighbor cache entries. show prefixpolicy - Shows prefix policy entries. show privacy - Shows privacy configuration parameters. show routes - Shows route table entries. show siteprefixes - Shows site prefix table entries. show state - Shows the state of deprecated functionality. show teredo - Shows Teredo service state.
!!! Teredo sendet nur dann IPv6 Pakete, wenn das Ziel ausschließlich über IPv6 erreichbar ist (DNS-Antwort). Bei Dual-Stack angebundenen Hosts wird immer IPv4 verwendet.
Status anzeigen lassen:
netsh interface ipv6 show teredo
Teredo in Netzen mit Microsoft Active Directory aktivieren:
netsh interface ipv6 set teredo enterpriseclient
Teredo deaktivieren:
netsh interface ipv6 set teredo disable