Avec l'exemple de l'adresse IPV6 de localhost on comprend comment contracter une adresse IPV6 [::1]
Les 8 termes 16 bits sont en hexadécimal.
=> 0000:0000:0000:0000:0000:0000:000:0001
bruno@samsung:~$ ping6 0000:0000:0000:0000:0000:0000:0000:0001
PING 0000:0000:0000:0000:0000:0000:0000:0001(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.114 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.095 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.100 ms
^C
--- 0000:0000:0000:0000:0000:0000:0000:0001 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2039ms
rtt min/avg/max/mdev = 0.095/0.103/0.114/0.008 ms
bruno@samsung:~$ ping6 0000:0000:0000:0000:0000:0000:0000:1
PING 0000:0000:0000:0000:0000:0000:0000:1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.084 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.095 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.095 ms
64 bytes from ::1: icmp_seq=4 ttl=64 time=0.099 ms
^C
--- 0000:0000:0000:0000:0000:0000:0000:1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3049ms
rtt min/avg/max/mdev = 0.084/0.093/0.099/0.008 ms
bruno@samsung:~$ ping6 ::1
PING ::1(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.077 ms
64 bytes from ::1: icmp_seq=2 ttl=64 time=0.103 ms
64 bytes from ::1: icmp_seq=3 ttl=64 time=0.104 ms
^C
--- ::1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2026ms
rtt min/avg/max/mdev = 0.077/0.094/0.104/0.016 ms
bruno@samsung:~$
Exemple de notation IPV6 'compacte'
voir TD IPV6