Blue Flower

Trouver l'adresse IPv6 à partir du nom logique

thierry@PC1:~$ host -t AAAA www.google.fr
www.google.fr has IPv6 address 2a00:1450:400c:c05::5e
thierry@PC1:~$

Voir les routes

Via la commande ip

thierry@PC1:~$ ip -6 route show dev eth0
2a02:8420:5061:c700::/64  proto kernel  metric 256  expires 604594sec
fe80::/64  proto kernel  metric 256 
default via fe80::180e:ddff:fe87:ddf9  proto static  metric 1 
default via fe80::180e:ddff:fe87:ddf9  proto ra  metric 1024  expires 1594sec
thierry@PC1:~$ 

Via la commande route

thierry@PC1:~$ route -A inet6
Table de routage IPv6 du noyau
Destination                    Next Hop                   Flag Met Ref Use If
2a02:8420:5061:c700::/64       ::                         UAe  256 1     0 eth0
fe80::/64                      ::                         U    256 0     0 eth0
fe80::/64                      ::                         U    256 0     0 eth1
::/0                           fe80::180e:ddff:fe87:ddf9  UG   1   10     0 eth0
::/0                           fe80::180e:ddff:fe87:ddf9  UGDAe 1024 0     0 eth0
::/0                           ::                         !n   -1  1 14236 lo
::1/128                        ::                         Un   0   3    57 lo
2a02:8420:5061:c700:224:21ff:feb5:e646/128 ::                         Un   0   1    16 lo
2a02:8420:5061:c700:a89b:bbd5:a5ea:3369/128 ::                         Un   0   6  3820 lo
fe80::224:21ff:feb5:e646/128   ::                         Un   0   1    51 lo
fe80::cad3:a3ff:fe98:44e7/128  ::                         Un   0   1     0 lo
ff00::/8                       ::                         U    256 0     0 eth0
ff00::/8                       ::                         U    256 0     0 eth1
::/0                           ::                         !n   -1  1 14236 lo
thierry@PC1:~$