Ubuntu 16.04

WILSON Sam sam.wilson at ed.ac.uk
Fri Apr 22 15:51:01 CEST 2016


On 22 Apr 2016, at 14:37, Holger Zuleger <Holger.Zuleger at hznet.de> wrote:

>> Forgot to mention one very useful command if you are after
>> short and easy-to-remember addresses with dynamic prefixes:
>> 
>> $ ip token help
>> Usage: ip token [ list | set | get ] [ TOKEN ] [ dev DEV ]
> Great! This is something I was looking for years now.
> 
> Does anyone know why the output is in "inet" syntax?
> 
> # ip token set ::0:0:27:53 dev eth0
> # ip token list
> token ::0.39.0.83 dev eth0
> token :: dev wlan0
> 
> $ ip -6 addr show | grep :53
>    inet6 2a00:0:1803::27:53/64 scope global dynamic
> 
> Ok, setting it to a larger value "restores" inet6 syntax:
> # ip token set ::0:18:27:53 dev eth0
> # ip token get dev eth0
> token ::18:27:53 dev eth0


<https://tools.ietf.org/html/rfc4291#section-2.5.5>

Sam

-- 
Sam Wilson
Communications Infrastructure Section, IT Infrastructure
Information Services, The University of Edinburgh
Edinburgh, Scotland, UK


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.




More information about the ipv6-ops mailing list