> 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

Holger


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to