Difference between revisions of "Windows 7 IPv6"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 1: Line 1:
 
=Zone or Ifindex=
 
=Zone or Ifindex=
<source lang=cli>
+
Because the [[Link-Local IPv6 Address|IPv6 Link-Local]] Address is local on the link and the node has several links - all with the same [[Link-Local IPv6 Address|IPv6 Link-Local]] prefix. Therefore its necessary to identify the Link in question. For example the Link-Local address from below '''fe80::221:86ff:fea0:ce84%12''' where '''fe80::221:86ff:fea0:ce84''' is the address and '''%12''' is the Zone identifier which identifies the Link. In this case interface 12 is the "Local Area Connection". Which is my Ethernet adapter.   
<input>
+
<source lang=cmd>
C:\Users><notice>ipconfig/all</notice>
+
C:\><input>netsh interface ipv6 show addresses</input>
 +
 
 +
Interface 1: Loopback Pseudo-Interface 1
 +
 
 +
Addr Type  DAD State  Valid Life Pref. Life Address
 +
---------  ----------- ---------- ---------- ------------------------
 +
Other      Preferred    infinite  infinite ::1
 +
 
 +
Interface 11: Wireless Network Connection
 +
Other      Preferred    infinite  infinite <notice>fe80::221:6bff:fe52:e36%11</notice>
 +
 
 +
Interface 21: Wireless Network Connection 2
 +
Other      Deprecated    infinite  infinite <notice>fe80::221:6bff:fe52:e37%21</notice>
 +
 
 +
Interface 12: Local Area Connection
 +
Other      Preferred    infinite  infinite <notice>fe80::221:86ff:fea0:ce84%12</notice>
 +
 
 +
Interface 23: isatap.home
 +
Other      Preferred    infinite  infinite fe80::5efe:192.168.1.13%23
 +
Other      Preferred    infinite  infinite fe80::5efe:192.168.1.15%23
 +
 
 +
Interface 14: Bluetooth Network Connection
 +
Other      Deprecated    infinite  infinite fe80::222:68ff:fee7:7f95%14
 +
</source>
 +
==Looking at ipconfig for interface Zone==
 +
<source lang=cmd>
 +
C:\Users><input>ipconfig/all</input>
  
 
Windows IP Configuration
 
Windows IP Configuration
Line 21: Line 47:
 
   IPv6 Address. . . . . . . . . . . : 2001:16d8:dd85:139:29f6:1f1c:b88f:cb25(Preferred)
 
   IPv6 Address. . . . . . . . . . . : 2001:16d8:dd85:139:29f6:1f1c:b88f:cb25(Preferred)
 
   Temporary IPv6 Address. . . . . . : 2001:16d8:dd85:139:fc50:5ffa:d07d:8ab9(Preferred)
 
   Temporary IPv6 Address. . . . . . : 2001:16d8:dd85:139:fc50:5ffa:d07d:8ab9(Preferred)
   Link-local IPv6 Address . . . . . : fe80::29f6:1f1c:b88f:cb25</input>%12(Preferred)<input>
+
   Link-local IPv6 Address . . . . . : <notice>fe80::29f6:1f1c:b88f:cb25%12(Preferred)</notice>
 
   IPv4 Address. . . . . . . . . . . : 192.168.139.73(Preferred)
 
   IPv4 Address. . . . . . . . . . . : 192.168.139.73(Preferred)
 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
 
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
 
   Lease Obtained. . . . . . . . . . : 13. maj 2011 07:36:32
 
   Lease Obtained. . . . . . . . . . : 13. maj 2011 07:36:32
 
   Lease Expires . . . . . . . . . . : 13. maj 2011 08:21:32
 
   Lease Expires . . . . . . . . . . : 13. maj 2011 08:21:32
   Default Gateway . . . . . . . . . : fe80::218:18ff:fe7c:b441</input>%12<input>
+
   Default Gateway . . . . . . . . . : <notice>fe80::218:18ff:fe7c:b441%12</notice>
 
                                       192.168.139.1
 
                                       192.168.139.1
 
   DHCP Server . . . . . . . . . . . : 172.16.4.66
 
   DHCP Server . . . . . . . . . . . : 172.16.4.66
 
   DNS Servers . . . . . . . . . . . : 172.16.4.66
 
   DNS Servers . . . . . . . . . . . : 172.16.4.66
 
   NetBIOS over Tcpip. . . . . . . . : Enabled
 
   NetBIOS over Tcpip. . . . . . . . : Enabled
</input>
 
 
</source>
 
</source>
 
==Interface parameters==
 
==Interface parameters==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 show interface level=verbose</input>
C:\Users><notice>netsh interface ipv6 show interface level=verbose</notice>
 
  
 
Interface Local Area Connection Parameters
 
Interface Local Area Connection Parameters
 
----------------------------------------------
 
----------------------------------------------
 
IfLuid                            : ethernet_6
 
IfLuid                            : ethernet_6
</input>IfIndex                            : 12<input>
+
<notice>IfIndex                            : 12</notice>
 
State                              : connected
 
State                              : connected
 
Metric                            : 10
 
Metric                            : 10
Line 67: Line 91:
 
Force ARPND Wake up patterns      : disabled
 
Force ARPND Wake up patterns      : disabled
 
Directed MAC Wake up patterns      : disabled
 
Directed MAC Wake up patterns      : disabled
</input>
 
 
</source>
 
</source>
  
 
=Windows 7 Interface Identifier=
 
=Windows 7 Interface Identifier=
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 show global</input>
C:\Users\Henrik thomsen\HOT\TDC IPv6><notice>netsh interface ipv6 show global</notice>
 
 
Querying active state...
 
Querying active state...
  
Line 91: Line 113:
 
Multicast Forwarding                : disabled
 
Multicast Forwarding                : disabled
 
Group Forwarded Fragments          : disabled
 
Group Forwarded Fragments          : disabled
</input>Randomize Identifiers              : enabled<input>
+
</notice>Randomize Identifiers              : enabled</notice>
 
Address Mask Reply                  : disabled
 
Address Mask Reply                  : disabled
  
Line 99: Line 121:
 
Number of NL clients                : 7
 
Number of NL clients                : 7
 
Number of FL providers              : 4
 
Number of FL providers              : 4
</input>
 
 
</source>
 
</source>
 
==Using EUI-64 identifiers==
 
==Using EUI-64 identifiers==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 set global randomize identifiers=disable</input>
C:\><notice>netsh interface ipv6 set global randomize identifiers=disable</notice>
 
</input>
 
 
</source>
 
</source>
 
=Solicited-Node Multicast Address=
 
=Solicited-Node Multicast Address=
 
==First find Unicast address==
 
==First find Unicast address==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 show addresses 12</input>
C:\><notice>netsh interface ipv6 show addresses 12</notice>
 
  
Address fe80::221:86ff:fe</input>a0:ce84<input>%12 Parameters
+
Address fe80::221:86ff:fe<notice>a0:ce84</notice>%12 Parameters
 
---------------------------------------------------------
 
---------------------------------------------------------
 
Interface Luid    : Local Area Connection
 
Interface Luid    : Local Area Connection
Line 121: Line 139:
 
DAD State          : Preferred
 
DAD State          : Preferred
 
Address Type      : Other
 
Address Type      : Other
</input>
 
 
</source>
 
</source>
  
 
==Find Solicited-Node Multicast address==
 
==Find Solicited-Node Multicast address==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 show joins 12</input>
C:\><notice>netsh interface ipv6 show joins 12</notice>
 
 
Interface 12: Local Area Connection
 
Interface 12: Local Area Connection
  
Line 150: Line 166:
 
Last Reporter?    : Yes
 
Last Reporter?    : Yes
  
Multicast Address : ff02::1:ff</input>a0:ce84<input>
+
Multicast Address : ff02::1:ff<notice>a0:ce84</notice>
 
Scope            : 0
 
Scope            : 0
 
References        : 1
 
References        : 1
 
Last Reporter?    : Yes
 
Last Reporter?    : Yes
</input>
 
 
</source>
 
</source>
 
==IPv6 neighbours Physical Address==
 
==IPv6 neighbours Physical Address==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 show nei 12</input>
C:\><notice>netsh interface ipv6 show nei 12</notice>
 
  
 
Interface 12: Local Area Connection
 
Interface 12: Local Area Connection
Line 171: Line 185:
 
ff02::1:3                                    33-33-00-01-00-03  Permanent
 
ff02::1:3                                    33-33-00-01-00-03  Permanent
 
ff02::1:ffa0:ce84                            33-33-ff-a0-ce-84  Permanent
 
ff02::1:ffa0:ce84                            33-33-ff-a0-ce-84  Permanent
</input>
 
 
</source>
 
</source>
{{Source cli}}
+
{{Source cmd}}
 
==Delete Autoconfigured IPv6 address==
 
==Delete Autoconfigured IPv6 address==
<source lang=cli>
+
<source lang=cmd>
<input>
+
C:\><input>netsh interface ipv6 delete address 12 2001:16d8:dd85:a200:221:86ff:fea0:ce84</input>
C:\><notice>netsh interface ipv6 delete address 12 2001:16d8:dd85:a200:221:86ff:fea0:ce84</notice>
 
 
</source>
 
</source>
 
[[Category:IPv6]]
 
[[Category:IPv6]]

Revision as of 07:25, 14 June 2011

Zone or Ifindex

Because the IPv6 Link-Local Address is local on the link and the node has several links - all with the same IPv6 Link-Local prefix. Therefore its necessary to identify the Link in question. For example the Link-Local address from below fe80::221:86ff:fea0:ce84%12 where fe80::221:86ff:fea0:ce84 is the address and %12 is the Zone identifier which identifies the Link. In this case interface 12 is the "Local Area Connection". Which is my Ethernet adapter.

C:\><input>netsh interface ipv6 show addresses</input>

Interface 1: Loopback Pseudo-Interface 1

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Other      Preferred     infinite   infinite ::1

Interface 11: Wireless Network Connection
Other      Preferred     infinite   infinite <notice>fe80::221:6bff:fe52:e36%11</notice>

Interface 21: Wireless Network Connection 2
Other      Deprecated    infinite   infinite <notice>fe80::221:6bff:fe52:e37%21</notice>

Interface 12: Local Area Connection
Other      Preferred     infinite   infinite <notice>fe80::221:86ff:fea0:ce84%12</notice>

Interface 23: isatap.home
Other      Preferred     infinite   infinite fe80::5efe:192.168.1.13%23
Other      Preferred     infinite   infinite fe80::5efe:192.168.1.15%23

Interface 14: Bluetooth Network Connection
Other      Deprecated    infinite   infinite fe80::222:68ff:fee7:7f95%14

Looking at ipconfig for interface Zone

C:\Users><input>ipconfig/all</input>

Windows IP Configuration

   Host Name . . . . . . . . . . . . : VIHCA-HOT-HETH
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : tekkom.local
Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : tekkom.local
   Description . . . . . . . . . . . : Broadcom NetLink (TM) Gigabit Ethernet
   Physical Address. . . . . . . . . : 00-21-86-A0-CE-84
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:16d8:dd85:139:29f6:1f1c:b88f:cb25(Preferred)
   Temporary IPv6 Address. . . . . . : 2001:16d8:dd85:139:fc50:5ffa:d07d:8ab9(Preferred)
   Link-local IPv6 Address . . . . . : <notice>fe80::29f6:1f1c:b88f:cb25%12(Preferred)</notice>
   IPv4 Address. . . . . . . . . . . : 192.168.139.73(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 13. maj 2011 07:36:32
   Lease Expires . . . . . . . . . . : 13. maj 2011 08:21:32
   Default Gateway . . . . . . . . . : <notice>fe80::218:18ff:fe7c:b441%12</notice>
                                       192.168.139.1
   DHCP Server . . . . . . . . . . . : 172.16.4.66
   DNS Servers . . . . . . . . . . . : 172.16.4.66
   NetBIOS over Tcpip. . . . . . . . : Enabled

Interface parameters

C:\><input>netsh interface ipv6 show interface level=verbose</input>

Interface Local Area Connection Parameters
----------------------------------------------
IfLuid                             : ethernet_6
<notice>IfIndex                            : 12</notice>
State                              : connected
Metric                             : 10
Link MTU                           : 1500 bytes
Reachable Time                     : 27000 ms
Base Reachable Time                : 30000 ms
Retransmission Interval            : 1000 ms
DAD Transmits                      : 1
Site Prefix Length                 : 64
Site Id                            : 1
Forwarding                         : disabled
Advertising                        : disabled
Neighbor Discovery                 : enabled
Neighbor Unreachability Detection  : enabled
Router Discovery                   : enabled
Managed Address Configuration      : disabled
Other Stateful Configuration       : disabled
Weak Host Sends                    : disabled
Weak Host Receives                 : disabled
Use Automatic Metric               : enabled
Ignore Default Routes              : disabled
Advertised Router Lifetime         : 1800 seconds
Advertise Default Route            : disabled
Current Hop Limit                  : 64
Force ARPND Wake up patterns       : disabled
Directed MAC Wake up patterns      : disabled

Windows 7 Interface Identifier

C:\><input>netsh interface ipv6 show global</input>
Querying active state...

General Global Parameters
---------------------------------------------
Default Hop Limit                   : 128 hops
Neighbor Cache Limit                : 256 entries per interface
Route Cache Limit                   : 128 entries per compartment
Reassembly Limit                    : 32981216 bytes
ICMP Redirects                      : enabled
Source Routing Behavior             : dontforward
Task Offload                        : enabled
Dhcp Media Sense                    : enabled
Media Sense Logging                 : disabled
MLD Level                           : all
MLD Version                         : version3
Multicast Forwarding                : disabled
Group Forwarded Fragments           : disabled
</notice>Randomize Identifiers               : enabled</notice>
Address Mask Reply                  : disabled

Current Global Statistics
---------------------------------------------
Number of Compartments              : 1
Number of NL clients                : 7
Number of FL providers              : 4

Using EUI-64 identifiers

C:\><input>netsh interface ipv6 set global randomize identifiers=disable</input>

Solicited-Node Multicast Address

First find Unicast address

C:\><input>netsh interface ipv6 show addresses 12</input>

Address fe80::221:86ff:fe<notice>a0:ce84</notice>%12 Parameters
---------------------------------------------------------
Interface Luid     : Local Area Connection
Scope Id           : 0.12
Valid Lifetime     : infinite
Preferred Lifetime : infinite
DAD State          : Preferred
Address Type       : Other

Find Solicited-Node Multicast address

C:\><input>netsh interface ipv6 show joins 12</input>
Interface 12: Local Area Connection

Multicast Address : ff01::1
Scope             : 0
References        : 0
Last Reporter?    : Yes

Multicast Address : ff02::1
Scope             : 0
References        : 0
Last Reporter?    : Yes

Multicast Address : ff02::c
Scope             : 0
References        : 1
Last Reporter?    : Yes

Multicast Address : ff02::1:3
Scope             : 0
References        : 1
Last Reporter?    : Yes

Multicast Address : ff02::1:ff<notice>a0:ce84</notice>
Scope             : 0
References        : 1
Last Reporter?    : Yes

IPv6 neighbours Physical Address

C:\><input>netsh interface ipv6 show nei 12</input>

Interface 12: Local Area Connection


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
ff02::2                                       33-33-00-00-00-02  Permanent
ff02::16                                      33-33-00-00-00-16  Permanent
ff02::1:2                                     33-33-00-01-00-02  Permanent
ff02::1:3                                     33-33-00-01-00-03  Permanent
ff02::1:ffa0:ce84                             33-33-ff-a0-ce-84  Permanent

Delete Autoconfigured IPv6 address

C:\><input>netsh interface ipv6 delete address 12 2001:16d8:dd85:a200:221:86ff:fea0:ce84</input>