Ipv6
bloc : 2a01:e0a:c77:3880::/64
gateway : 2a01:e0a:c77:3880:ffff:ffff:ffff:ffff
freebox pop : 2a01:e0a:c77:3880::1
soren : 2a01:e0a:c77:3880::2
# ajouter l’ip 2a01:e0a:c77:3880::2 à notre serveur.
ip -6 addr add 2a01:e0a:c77:3880::2/64 dev wlp3s0
# on ajoute maintenant la gateway
ip -6 route add 2a01:e0a:c77:3880:ffff:ffff:ffff:ffff dev wlp3s0
ip -6 route add default via 2a01:e0a:c77:3880:ffff:ffff:ffff:ffff
# on confirme que l'ip a bien été ajoutée
ip -6 addr show wlp3s0
4: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
inet6 2a01:e0a:c77:3880::2/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::e818:c6d0:d0e6:7ac4/64 scope link noprefixroute
valid_lft forever preferred_lft forever
# on confirme aussi la gateway
ip -6 route
::1 dev lo proto kernel metric 256 pref medium
2a01:e0a:c77:3880:ffff:ffff:ffff:ffff dev wlp3s0 metric 1024 pref medium
2a01:e0a:c77:3880::/64 dev wlp3s0 proto kernel metric 256 pref medium
fe80::/64 dev wlp3s0 proto kernel metric 1024 pref medium
default via 2a01:e0a:c77:3880:ffff:ffff:ffff:ffff dev wlp3s0 metric 1024 pref medium