Difference between revisions of "Windows 7 IPv6"

From Teknologisk videncenter
Jump to: navigation, search
m
m (Zone or Ifindex)
Line 20: Line 20:
  
 
Interface 23: isatap.home
 
Interface 23: isatap.home
Other      Preferred    infinite  infinite fe80::5efe:192.168.1.13%23
+
Other      Preferred    infinite  infinite <notice>fe80::5efe:192.168.1.13%23</notice>
Other      Preferred    infinite  infinite fe80::5efe:192.168.1.15%23
+
Other      Preferred    infinite  infinite <notice>fe80::5efe:192.168.1.15%23</notice>
  
 
Interface 14: Bluetooth Network Connection
 
Interface 14: Bluetooth Network Connection
Other      Deprecated    infinite  infinite fe80::222:68ff:fee7:7f95%14
+
Other      Deprecated    infinite  infinite <notice>fe80::222:68ff:fee7:7f95%14</notice>
 
</source>
 
</source>
 
==Looking at ipconfig for interface Zone==
 
==Looking at ipconfig for interface Zone==

Revision as of 07:26, 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 <notice>fe80::5efe:192.168.1.13%23</notice>
Other      Preferred     infinite   infinite <notice>fe80::5efe:192.168.1.15%23</notice>

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

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>