Objectifs de certification

CCNA 200-301

  • 1.8 Configurer et vérifier l’adressage et les préfixes IPv6

  • 1.9 Comparer les types d’adresses IPv6

    • 1.9.a Global unicast
    • 1.9.b Unique local
    • 1.9.c Link local
    • 1.9.d Anycast
    • 1.9.e Multicast
    • 1.9.f Modified EUI 64
  • 1.10 Vérifier les paramètres IP des OS clients (Windows, Mac OS, Linux)


Prise d’information IPv6

1. Topologie

Topologie Prise d'information IPv6

1.1. Présentation

Chaque interface connectée au réseau dispose d’une adresse Link-Local :

  • Hôte Windows (Ethernet0) : fe80::a973:10e1:e029:d1bb%13
  • Hôte Red Hat : fe80::9055:5984:36b8:c50c%ens3
  • Routeur Linux : fe80::52c7:bfff:fefe:2eee%br-lan

On trouvera trois préfixe configurés sur le réseau :

  • 2001:db8:f4:2b4::/64
  • 2001:db8:f4:3bc::/64
  • fd8f:cafe:1ab::/64

Selon les capacités des hôtes, chaque préfixe fera l’objet d’une autoconfiguration automatique d’adresses et d’une attribution dynamique (DHCPv6).

1.2. Objectifs de l’activité

On propose dans cet exercice pratique de visualiser les différentes tables IPv6 d’un hôte Windows et d’un hôte Linux.

2. Hôte Windows

2.1. Liste des commandes Windows

Trois outils natifs sont disponibles pour vérifier IPv6 sous Microsoft Windows : ipconfig, netsh et PowerShell.

  • ipconfig /all
  • netsh interface ipv6 show interface
  • netsh interface ipv6 show address
  • netsh interface ipv6 show joins
  • netsh interface ipv6 show neighbor
  • netsh interface ipv6 show route
  • Get-NetIPInterface -AddressFamily IPv6
  • Get-NetIPAddress -AddressFamily IPv6
  • Get-NetRoute -AddressFamily IPv6
  • Get-NetNeighbor -AddressFamily IPv6

2.2. ipconfig /all

Cette commande ipconfig /all est bien connue des administrateurs Windows mais elle donne des résultats sommaires pour IPv6.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : DESKTOP-N62C2SU
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : lan

Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . : lan
   Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
   Physical Address. . . . . . . . . : 00-0C-29-0F-07-EC
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:db8:f4:2b4::d4d(Preferred)
   Lease Obtained. . . . . . . . . . : Wednesday, 6 February 2019 22:47:44
   Lease Expires . . . . . . . . . . : Thursday, 21 February 2019 01:25:27
   IPv6 Address. . . . . . . . . . . : 2001:db8:f4:3bc::d4d(Preferred)
   Lease Obtained. . . . . . . . . . : Thursday, 7 February 2019 19:29:50
   Lease Expires . . . . . . . . . . : Tuesday, 19 February 2019 06:15:35
   IPv6 Address. . . . . . . . . . . : 2001:db8:f4:3bc:a973:10e1:e029:d1bb(Preferred)
   IPv6 Address. . . . . . . . . . . : fd8f:cafe:1ab::d4d(Preferred)
   Lease Obtained. . . . . . . . . . : Wednesday, 6 February 2019 22:47:45
   Lease Expires . . . . . . . . . . : Monday, 17 March 2155 01:59:26
   IPv6 Address. . . . . . . . . . . : fd8f:cafe:1ab:0:a973:10e1:e029:d1bb(Preferred)
   Temporary IPv6 Address. . . . . . : 2001:db8:f4:3bc:7c80:3143:f2c8:8a05(Preferred)
   Temporary IPv6 Address. . . . . . : fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05(Preferred)
   Link-local IPv6 Address . . . . . : fe80::a973:10e1:e029:d1bb%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.171(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Thursday, 7 February 2019 19:29:45
   Lease Expires . . . . . . . . . . : Friday, 8 February 2019 07:29:44
   Default Gateway . . . . . . . . . : fe80::52c7:bfff:fefe:2eee%13
                                       192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 67111977
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-50-08-0B-00-0C-29-0F-07-EC
   DNS Servers . . . . . . . . . . . : fd8f:cafe:1ab::1
                                       192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Npcap Loopback Adapter:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Npcap Loopback Adapter
   Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::bcfb:20de:f90b:d525%14(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.213.37(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 486670412
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-50-08-0B-00-0C-29-0F-07-EC
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Bluetooth Network Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
   Physical Address. . . . . . . . . : AC-BC-32-95-7F-5C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:77:3985:3f57:fe54(Preferred)
   Link-local IPv6 Address . . . . . : fe80::77:3985:3f57:fe54%7(Preferred)
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 234881024
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-50-08-0B-00-0C-29-0F-07-EC
   NetBIOS over Tcpip. . . . . . . . : Disabled


2.3. netsh interface ipv6 show interface

La commande netsh interface ipv6 show interface permet d’identifier les interface IPv6 dans Windows.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show interface

Idx     Met         MTU          State                Name
---  ----------  ----------  ------------  ---------------------------
  1          75  4294967295  connected     Loopback Pseudo-Interface 1
  7          75        1280  connected     Teredo Tunneling Pseudo-Interface
 13          25        1500  connected     Ethernet0
  4          65        1500  disconnected  Bluetooth Network Connection
 14          25        1500  connected     Npcap Loopback Adapter

2.4. netsh interface ipv6 show address

La commande netsh interface ipv6 show address affiche les adresses par interface avec des détails leur statut et leur délai de validité.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show address

Interface 1: Loopback Pseudo-Interface 1

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

Interface 7: Teredo Tunneling Pseudo-Interface

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Public     Preferred     infinite   infinite 2001:0:9d38:6ab8:77:3985:3f57:fe54
Other      Preferred     infinite   infinite fe80::77:3985:3f57:fe54%7

Interface 13: Ethernet0

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Dhcp       Preferred  13d5h48m39s 6d5h48m39s 2001:db8:f4:2b4::d4d
Dhcp       Preferred  11d10h38m47s 6d23h47m5s 2001:db8:f4:3bc::d4d
Temporary  Preferred  6d23h52m58s  23h46m21s 2001:db8:f4:3bc:7c80:3143:f2c8:8a05
Public     Preferred  11d10h38m48s 6d23h47m6s 2001:db8:f4:3bc:a973:10e1:e029:d1bb
Dhcp       Preferred     infinite   infinite fd8f:cafe:1ab::d4d
Temporary  Preferred  6d23h52m58s  23h46m21s fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05
Public     Preferred     infinite   infinite fd8f:cafe:1ab:0:a973:10e1:e029:d1bb
Other      Preferred     infinite   infinite fe80::a973:10e1:e029:d1bb%13

Interface 4: Bluetooth Network Connection

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Other      Deprecated    infinite   infinite fe80::68c0:6c2e:fe7c:4c9b%4

Interface 14: Npcap Loopback Adapter

Addr Type  DAD State   Valid Life Pref. Life Address
---------  ----------- ---------- ---------- ------------------------
Other      Preferred     infinite   infinite fe80::bcfb:20de:f90b:d525%14


2.5. netsh interface ipv6 show address interface=X

La commande netsh interface ipv6 show addres interface=Xoffre ces détails par adresse.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show address interface=13

Address 2001:db8:f4:2b4::d4d Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : 13d5h47m33s
Preferred Lifetime : 6d5h47m33s
DAD State          : Preferred
Address Type       : Dhcp
Skip as Source     : false

Address 2001:db8:f4:3bc::d4d Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : 11d10h37m41s
Preferred Lifetime : 6d23h45m59s
DAD State          : Preferred
Address Type       : Dhcp
Skip as Source     : false

Address 2001:db8:f4:3bc:7c80:3143:f2c8:8a05 Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : 6d23h51m52s
Preferred Lifetime : 23h45m15s
DAD State          : Preferred
Address Type       : Temporary
Skip as Source     : false

Address 2001:db8:f4:3bc:a973:10e1:e029:d1bb Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : 11d10h37m41s
Preferred Lifetime : 6d23h45m59s
DAD State          : Preferred
Address Type       : Public
Skip as Source     : false

Address fd8f:cafe:1ab::d4d Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : infinite
Preferred Lifetime : infinite
DAD State          : Preferred
Address Type       : Dhcp
Skip as Source     : false

Address fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05 Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : 6d23h51m52s
Preferred Lifetime : 23h45m15s
DAD State          : Preferred
Address Type       : Temporary
Skip as Source     : false

Address fd8f:cafe:1ab:0:a973:10e1:e029:d1bb Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.0
Valid Lifetime     : infinite
Preferred Lifetime : infinite
DAD State          : Preferred
Address Type       : Public
Skip as Source     : false

Address fe80::a973:10e1:e029:d1bb%13 Parameters
---------------------------------------------------------
Interface Luid     : Ethernet0
Scope Id           : 0.13
Valid Lifetime     : infinite
Preferred Lifetime : infinite
DAD State          : Preferred
Address Type       : Other
Skip as Source     : false

2.6. netsh interface ipv6 show joins

La commande netsh interface ipv6 show joins indique par interface les groupes Multicast auxquelles elles sont à l’écoute.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show joins

Interface 1: Loopback Pseudo-Interface 1

Scope       References  Last  Address
----------  ----------  ----  ---------------------------------
0                    1  Yes   ff02::c

Interface 7: Teredo Tunneling Pseudo-Interface

Scope       References  Last  Address
----------  ----------  ----  ---------------------------------
0                    0  Yes   ff01::1
0                    0  Yes   ff02::1
0                    2  Yes   ff02::1:ff57:fe54

Interface 13: Ethernet0

Scope       References  Last  Address
----------  ----------  ----  ---------------------------------
0                    0  No    ff01::1
0                    0  No    ff02::1
0                    1  Yes   ff02::c
0                    1  Yes   ff02::fb
0                    1  Yes   ff02::1:3
0                    3  Yes   ff02::1:ff00:d4d
0                    3  Yes   ff02::1:ff29:d1bb
0                    2  Yes   ff02::1:ffc8:8a05
0                    0  No    ff02::1:ffe3:ecd8

Interface 4: Bluetooth Network Connection

Scope       References  Last  Address
----------  ----------  ----  ---------------------------------
0                    0  Yes   ff01::1
0                    0  Yes   ff02::1
0                    1  Yes   ff02::1:ff7c:4c9b

Interface 14: Npcap Loopback Adapter

Scope       References  Last  Address
----------  ----------  ----  ---------------------------------
0                    0  Yes   ff01::1
0                    0  Yes   ff02::1
0                    1  Yes   ff02::c
0                    1  Yes   ff02::fb
0                    1  Yes   ff02::1:3
0                    1  Yes   ff02::1:ff0b:d525


2.7. netsh interface ipv6 show neighbor

Equivalente à la commande arp -a, la commande netsh interface ipv6 show neighbor donne la table de voisinage IPv6.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show neighbor

netsh interface ipv6 show neighbor

Interface 1: Loopback Pseudo-Interface 1


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
ff02::2                                                          Permanent
ff02::c                                                          Permanent
ff02::16                                                         Permanent
ff02::1:2                                                        Permanent
ff02::1:ff00:1                                                   Permanent
ff05::c                                                          Permanent
ff05::1:3                                                        Permanent

Interface 7: Teredo Tunneling Pseudo-Interface


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
2001:0:9d38:6ab8:ccd:209b:53eb:f5fc           255.255.255.255:65535  Unreachable
fe80::8000:f227:62c7:9547                     255.255.255.255:65535  Unreachable (Router)
ff02::2                                       255.255.255.255:65535  Permanent
ff02::16                                      255.255.255.255:65535  Permanent
ff02::1:2                                     255.255.255.255:65535  Permanent
ff02::1:ff00:1                                255.255.255.255:65535  Permanent
ff05::c                                       255.255.255.255:65535  Permanent
ff05::1:3                                     255.255.255.255:65535  Permanent

Interface 13: Ethernet0


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
fd8f:cafe:1ab::1                              50-c7-bf-fe-2e-ee  Stale (Router)
fe80::52c7:bfff:fefe:2eee                     50-c7-bf-fe-2e-ee  Stale (Router)
ff02::1                                       33-33-00-00-00-01  Permanent
ff02::2                                       33-33-00-00-00-02  Permanent
ff02::c                                       33-33-00-00-00-0c  Permanent
ff02::16                                      33-33-00-00-00-16  Permanent
ff02::fb                                      33-33-00-00-00-fb  Permanent
ff02::1:2                                     33-33-00-01-00-02  Permanent
ff02::1:3                                     33-33-00-01-00-03  Permanent
ff02::1:ff00:1                                33-33-ff-00-00-01  Permanent
ff02::1:ff00:d4d                              33-33-ff-00-0d-4d  Permanent
ff02::1:ff29:d1bb                             33-33-ff-29-d1-bb  Permanent
ff02::1:ffc8:8a05                             33-33-ff-c8-8a-05  Permanent
ff02::1:ffe3:ecd8                             33-33-ff-e3-ec-d8  Permanent
ff02::1:fffe:2eee                             33-33-ff-fe-2e-ee  Permanent
ff05::c                                       33-33-00-00-00-0c  Permanent
ff05::1:3                                     33-33-00-01-00-03  Permanent

Interface 4: Bluetooth Network Connection


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
ff02::16                                      33-33-00-00-00-16  Permanent
ff02::1:2                                     33-33-00-01-00-02  Permanent
ff02::1:ff00:1                                33-33-ff-00-00-01  Permanent
ff05::c                                       33-33-00-00-00-0c  Permanent
ff05::1:3                                     33-33-00-01-00-03  Permanent

Interface 14: Npcap Loopback Adapter


Internet Address                              Physical Address   Type
--------------------------------------------  -----------------  -----------
ff02::1                                       33-33-00-00-00-01  Permanent
ff02::2                                       33-33-00-00-00-02  Permanent
ff02::c                                       33-33-00-00-00-0c  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:ff00:1                                33-33-ff-00-00-01  Permanent
ff02::1:ff0b:d525                             33-33-ff-0b-d5-25  Permanent
ff05::c                                       33-33-00-00-00-0c  Permanent
ff05::1:3                                     33-33-00-01-00-03  Permanent

2.8. netsh interface ipv6 show route

La commande netsh interface ipv6 show route donne la table de routage IPv6.

Microsoft Windows [Version 10.0.16299.309]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\user>netsh interface ipv6 show route

Publish  Type      Met  Prefix                    Idx  Gateway/Interface Name
-------  --------  ---  ------------------------  ---  ------------------------
No       Manual    256  ::/0                       13  fe80::52c7:bfff:fefe:2eee
No       System    256  ::1/128                     1  Loopback Pseudo-Interface 1
No       Manual    256  2001::/32                   7  Teredo Tunneling Pseudo-Interface
No       System    256  2001:0:9d38:6ab8:77:3985:3f57:fe54/128    7  Teredo Tunneling Pseudo-Interface
No       System    256  2001:db8:f4:2b4::d4d/128   13  Ethernet0
No       Manual    256  2001:db8:f4:3bc::/64      13  Ethernet0
No       Manual    256  2001:db8:f4:3bc::/64      13  fe80::52c7:bfff:fefe:2eee
No       System    256  2001:db8:f4:3bc::d4d/128   13  Ethernet0
No       System    256  2001:db8:f4:3bc:7c80:3143:f2c8:8a05/128   13  Ethernet0
No       System    256  2001:db8:f4:3bc:a973:10e1:e029:d1bb/128   13  Ethernet0
No       Manual    256  fd8f:cafe:1ab::/48         13  fe80::52c7:bfff:fefe:2eee
No       Manual    256  fd8f:cafe:1ab::/64         13  Ethernet0
No       System    256  fd8f:cafe:1ab::d4d/128     13  Ethernet0
No       System    256  fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05/128   13  Ethernet0
No       System    256  fd8f:cafe:1ab:0:a973:10e1:e029:d1bb/128   13  Ethernet0
No       System    256  fe80::/64                  14  Npcap Loopback Adapter
No       System    256  fe80::/64                  13  Ethernet0
No       System    256  fe80::/64                   4  Bluetooth Network Connection
No       System    256  fe80::/64                   7  Teredo Tunneling Pseudo-Interface
No       System    256  fe80::77:3985:3f57:fe54/128    7  Teredo Tunneling Pseudo-Interface
No       System    256  fe80::68c0:6c2e:fe7c:4c9b/128    4  Bluetooth Network Connection
No       System    256  fe80::a973:10e1:e029:d1bb/128   13  Ethernet0
No       System    256  fe80::bcfb:20de:f90b:d525/128   14  Npcap Loopback Adapter
No       System    256  ff00::/8                    1  Loopback Pseudo-Interface 1
No       System    256  ff00::/8                   14  Npcap Loopback Adapter
No       System    256  ff00::/8                   13  Ethernet0
No       System    256  ff00::/8                    7  Teredo Tunneling Pseudo-Interface
No       System    256  ff00::/8                    4  Bluetooth Network Connection


2.9. Get-NetIPInterface -AddressFamily IPv6

La commande Get-NetIPInterface -AddressFamily IPv6 correspond à la commande netsh interface ipv6 show interface.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\user> Get-NetIPInterface -AddressFamily IPv6

ifIndex InterfaceAlias                  AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp     ConnectionState PolicyStore
------- --------------                  ------------- ------------ --------------- ----     --------------- -----------
14      Npcap Loopback Adapter          IPv6                  1500              25 Enabled  Connected       ActiveStore
4       Bluetooth Network Connection    IPv6                  1500              65 Disabled Disconnected    ActiveStore
13      Ethernet0                       IPv6                  1500              25 Enabled  Connected       ActiveStore
7       Teredo Tunneling Pseudo-Inte... IPv6                  1280              75 Enabled  Connected       ActiveStore
1       Loopback Pseudo-Interface 1     IPv6            4294967295              75 Disabled Connected       ActiveStore

2.10. Get-NetIPAddress -AddressFamily IPv6

La commande Get-NetIPAddress -AddressFamily IPv6 correspond à la commande netsh interface ipv6 show address interface.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\user> Get-NetIPAddress -AddressFamily IPv6


IPAddress         : fe80::bcfb:20de:f90b:d525%14
InterfaceIndex    : 14
InterfaceAlias    : Npcap Loopback Adapter
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::68c0:6c2e:fe7c:4c9b%4
InterfaceIndex    : 4
InterfaceAlias    : Bluetooth Network Connection
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Deprecated
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::a973:10e1:e029:d1bb%13
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fd8f:cafe:1ab:0:a973:10e1:e029:d1bb
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Random
AddressState      : Preferred
ValidLifetime     : 6.23:48:23
PreferredLifetime : 23:41:46
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fd8f:cafe:1ab::d4d
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : Dhcp
SuffixOrigin      : Dhcp
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:db8:f4:3bc:a973:10e1:e029:d1bb
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : 11.10:34:12
PreferredLifetime : 6.23:42:30
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:db8:f4:3bc:7c80:3143:f2c8:8a05
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Random
AddressState      : Preferred
ValidLifetime     : 6.23:48:23
PreferredLifetime : 23:41:46
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:db8:f4:3bc::d4d
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : Dhcp
SuffixOrigin      : Dhcp
AddressState      : Preferred
ValidLifetime     : 11.10:34:12
PreferredLifetime : 6.23:42:30
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:db8:f4:2b4::d4d
InterfaceIndex    : 13
InterfaceAlias    : Ethernet0
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : Dhcp
SuffixOrigin      : Dhcp
AddressState      : Preferred
ValidLifetime     : 13.05:44:04
PreferredLifetime : 6.05:44:04
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : fe80::77:3985:3f57:fe54%7
InterfaceIndex    : 7
InterfaceAlias    : Teredo Tunneling Pseudo-Interface
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : WellKnown
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : 2001:0:9d38:6ab8:77:3985:3f57:fe54
InterfaceIndex    : 7
InterfaceAlias    : Teredo Tunneling Pseudo-Interface
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 64
PrefixOrigin      : RouterAdvertisement
SuffixOrigin      : Link
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

IPAddress         : ::1
InterfaceIndex    : 1
InterfaceAlias    : Loopback Pseudo-Interface 1
AddressFamily     : IPv6
Type              : Unicast
PrefixLength      : 128
PrefixOrigin      : WellKnown
SuffixOrigin      : WellKnown
AddressState      : Preferred
ValidLifetime     : Infinite ([TimeSpan]::MaxValue)
PreferredLifetime : Infinite ([TimeSpan]::MaxValue)
SkipAsSource      : False
PolicyStore       : ActiveStore

2.11. Get-NetNeighbor -AddressFamily IPv6

La commande Get-NetNeighbor -AddressFamily IPv6 correspond à la commande netsh interface ipv6 show neighbor.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\user> Get-NetNeighbor -AddressFamily IPv6

ifIndex IPAddress                                          LinkLayerAddress      State       PolicyStore
------- ---------                                          ----------------      -----       -----------
14      ff05::1:3                                          33-33-00-01-00-03     Permanent   ActiveStore
14      ff05::c                                            33-33-00-00-00-0C     Permanent   ActiveStore
14      ff02::1:ff0b:d525                                  33-33-FF-0B-D5-25     Permanent   ActiveStore
14      ff02::1:ff00:1                                     33-33-FF-00-00-01     Permanent   ActiveStore
14      ff02::1:3                                          33-33-00-01-00-03     Permanent   ActiveStore
14      ff02::1:2                                          33-33-00-01-00-02     Permanent   ActiveStore
14      ff02::16                                           33-33-00-00-00-16     Permanent   ActiveStore
14      ff02::c                                            33-33-00-00-00-0C     Permanent   ActiveStore
14      ff02::2                                            33-33-00-00-00-02     Permanent   ActiveStore
14      ff02::1                                            33-33-00-00-00-01     Permanent   ActiveStore
4       ff05::1:3                                          33-33-00-01-00-03     Permanent   ActiveStore
4       ff05::c                                            33-33-00-00-00-0C     Permanent   ActiveStore
4       ff02::1:ff00:1                                     33-33-FF-00-00-01     Permanent   ActiveStore
4       ff02::1:2                                          33-33-00-01-00-02     Permanent   ActiveStore
4       ff02::16                                           33-33-00-00-00-16     Permanent   ActiveStore
13      ff05::1:3                                          33-33-00-01-00-03     Permanent   ActiveStore
13      ff05::c                                            33-33-00-00-00-0C     Permanent   ActiveStore
13      ff02::1:fffe:2eee                                  33-33-FF-FE-2E-EE     Permanent   ActiveStore
13      ff02::1:ffe3:ecd8                                  33-33-FF-E3-EC-D8     Permanent   ActiveStore
13      ff02::1:ffc8:8a05                                  33-33-FF-C8-8A-05     Permanent   ActiveStore
13      ff02::1:ff29:d1bb                                  33-33-FF-29-D1-BB     Permanent   ActiveStore
13      ff02::1:ff00:d4d                                   33-33-FF-00-0D-4D     Permanent   ActiveStore
13      ff02::1:ff00:1                                     33-33-FF-00-00-01     Permanent   ActiveStore
13      ff02::1:3                                          33-33-00-01-00-03     Permanent   ActiveStore
13      ff02::1:2                                          33-33-00-01-00-02     Permanent   ActiveStore
13      ff02::fb                                           33-33-00-00-00-FB     Permanent   ActiveStore
13      ff02::16                                           33-33-00-00-00-16     Permanent   ActiveStore
13      ff02::c                                            33-33-00-00-00-0C     Permanent   ActiveStore
13      ff02::2                                            33-33-00-00-00-02     Permanent   ActiveStore
13      ff02::1                                            33-33-00-00-00-01     Permanent   ActiveStore
13      fe80::52c7:bfff:fefe:2eee                          50-C7-BF-FE-2E-EE     Stale       ActiveStore
13      fd8f:cafe:1ab::1                                   50-C7-BF-FE-2E-EE     Stale       ActiveStore
7       ff05::1:3                                          255.255.255.255:655   Permanent   ActiveStore
7       ff05::c                                            255.255.255.255:655   Permanent   ActiveStore
7       ff02::1:ff00:1                                     255.255.255.255:655   Permanent   ActiveStore
7       ff02::1:2                                          255.255.255.255:655   Permanent   ActiveStore
7       ff02::16                                           255.255.255.255:655   Permanent   ActiveStore
7       ff02::2                                            255.255.255.255:655   Permanent   ActiveStore
7       fe80::8000:f227:62c7:9547                          255.255.255.255:655   Unreachable ActiveStore
7       2001:0:9d38:6ab8:ccd:209b:53eb:f5fc                255.255.255.255:655   Unreachable ActiveStore
1       ff05::1:3                                                                Permanent   ActiveStore
1       ff05::c                                                                  Permanent   ActiveStore
1       ff02::1:ff00:1                                                           Permanent   ActiveStore
1       ff02::1:2                                                                Permanent   ActiveStore
1       ff02::16                                                                 Permanent   ActiveStore
1       ff02::c                                                                  Permanent   ActiveStore
1       ff02::2                                                                  Permanent   ActiveStore


2.12.Get-NetRoute -AddressFamily IPv6

La commande Get-NetRoute -AddressFamily IPv6 correspond à la commande netsh interface ipv6 show route.

PS C:\Users\user> Get-NetRoute -AddressFamily IPv6

ifIndex DestinationPrefix                              NextHop                                  RouteMetric ifMetric PolicyStore
------- -----------------                              -------                                  ----------- -------- -----------
4       ff00::/8                                       ::                                               256 65       ActiveStore
7       ff00::/8                                       ::                                               256 75       ActiveStore
13      ff00::/8                                       ::                                               256 25       ActiveStore
14      ff00::/8                                       ::                                               256 25       ActiveStore
1       ff00::/8                                       ::                                               256 75       ActiveStore
14      fe80::bcfb:20de:f90b:d525/128                  ::                                               256 25       ActiveStore
13      fe80::a973:10e1:e029:d1bb/128                  ::                                               256 25       ActiveStore
4       fe80::68c0:6c2e:fe7c:4c9b/128                  ::                                               256 65       ActiveStore
7       fe80::77:3985:3f57:fe54/128                    ::                                               256 75       ActiveStore
7       fe80::/64                                      ::                                               256 75       ActiveStore
4       fe80::/64                                      ::                                               256 65       ActiveStore
13      fe80::/64                                      ::                                               256 25       ActiveStore
14      fe80::/64                                      ::                                               256 25       ActiveStore
13      fd8f:cafe:1ab:0:a973:10e1:e029:d1bb/128        ::                                               256 25       ActiveStore
13      fd8f:cafe:1ab:0:7c80:3143:f2c8:8a05/128        ::                                               256 25       ActiveStore
13      fd8f:cafe:1ab::d4d/128                         ::                                               256 25       ActiveStore
13      fd8f:cafe:1ab::/64                             ::                                               256 25       ActiveStore
13      fd8f:cafe:1ab::/48                             fe80::52c7:bfff:fefe:2eee                        256 25       ActiveStore
13      2001:db8:f4:3bc:a973:10e1:e029:d1bb/128       ::                                               256 25       ActiveStore
13      2001:db8:f4:3bc:7c80:3143:f2c8:8a05/128       ::                                               256 25       ActiveStore
13      2001:db8:f4:3bc::d4d/128                      ::                                               256 25       ActiveStore
13      2001:db8:f4:3bc::/64                          fe80::52c7:bfff:fefe:2eee                        256 25       ActiveStore
13      2001:db8:f4:3bc::/64                          ::                                               256 25       ActiveStore
13      2001:db8:f4:2b4::d4d/128                      ::                                               256 25       ActiveStore
7       2001:0:9d38:6ab8:77:3985:3f57:fe54/128         ::                                               256 75       ActiveStore
7       2001::/32                                      ::                                               256 75       ActiveStore
1       ::1/128                                        ::                                               256 75       ActiveStore
13      ::/0                                           fe80::52c7:bfff:fefe:2eee                        256 25       ActiveStore

3. Hôte Linux

3.1. Liste des commandes

  • ip -6 add
  • ip -6 neigh
  • ip -6 maddress
  • ip -6 route

3.2. ip -6 add

La commande ip -6 add affiche les adresses IPv6 des inetrfaces.

[user@localhost ~]$ ip -6 add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fd8f:cafe:1ab::3b0/128 scope global
       valid_lft forever preferred_lft forever
    inet6 2001:db8:f4:3bc::3b0/128 scope global dynamic
       valid_lft 988207sec preferred_lft 603505sec
    inet6 fd8f:cafe:1ab:0:defc:4132:c315:483/64 scope global noprefixroute
       valid_lft forever preferred_lft forever
    inet6 2001:db8:f4:3bc:aea7:d3e7:ea94:f9cc/64 scope global noprefixroute dynamic
       valid_lft 988207sec preferred_lft 603505sec
    inet6 fe80::9055:5984:36b8:c50c/64 scope link
       valid_lft forever preferred_lft forever

3.3. ip -6 maddress

La commande ip -6 maddress affiche les groupes Multicast joints.

1:	lo
	inet6 ff02::1
	inet6 ff01::1
2:	ens33
	inet6 ff02::1:ff00:3b0 users 2
	inet6 ff02::1:ff15:483
	inet6 ff02::1:ff94:f9cc
	inet6 ff02::1:ffb8:c50c
	inet6 ff02::1
	inet6 ff01::1
3:	virbr0
	inet6 ff02::1
	inet6 ff01::1
4:	virbr0-nic
	inet6 ff02::1
	inet6 ff01::1


3.4. ip -6 neigh

La commande ip -6 neigh affiche la table de voisinage IPv6.

[user@localhost ~]$ ip -6 neigh
fe80::52c7:bfff:fefe:2eee dev ens33 lladdr 50:c7:bf:fe:2e:ee router STALE

3.5. ip -6 route

La commande ip -6 route affiche la table de routage IPv6.

[user@localhost ~]$ ip -6 route
unreachable ::/96 dev lo metric 1024 error -113
unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113
unreachable 2002:a00::/24 dev lo metric 1024 error -113
unreachable 2002:7f00::/24 dev lo metric 1024 error -113
unreachable 2002:a9fe::/32 dev lo metric 1024 error -113
unreachable 2002:ac10::/28 dev lo metric 1024 error -113
unreachable 2002:c0a8::/32 dev lo metric 1024 error -113
unreachable 2002:e000::/19 dev lo metric 1024 error -113
2001:db8:f4:3bc::3b0 dev ens33 proto kernel metric 256 expires 988089sec
2001:db8:f4:3bc::/64 via fe80::52c7:bfff:fefe:2eee dev ens33 proto ra metric 100
unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113
fd8f:cafe:1ab::3b0 dev ens33 proto kernel metric 256
fd8f:cafe:1ab::/64 dev ens33 proto ra metric 100
fd8f:cafe:1ab::/48 via fe80::52c7:bfff:fefe:2eee dev ens33 proto ra metric 100
fe80::52c7:bfff:fefe:2eee dev ens33 proto static metric 100
fe80::/64 dev ens33 proto kernel metric 256
default via fe80::52c7:bfff:fefe:2eee dev ens33 proto static metric 100