]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ip: ipv6: add tokenized interface identifier support
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 30 Apr 2013 06:22:50 +0000 (06:22 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 3 May 2013 20:17:21 +0000 (13:17 -0700)
commit191b60bd73d50a9197302417a2fc119d71d11005
treecafe3d0b41623733e86a822312a61bea5e7fe828
parent79e9a1db11db494eade7bd6917a34f383c0774e3
ip: ipv6: add tokenized interface identifier support

This patch adds support for tokenized IIDs, that enable
administrators to assign well-known host-part addresses
to nodes whilst still obtaining global network prefix
from Router Advertisements. This is the iproute2 part for
the kernel patch f53adae4eae5 (``net: ipv6: add tokenized
interface identifier support'').

Example commands with iproute2:

Setting a device token:
  # ip token set ::1a:2b:3c:4d/64 dev eth1

Getting a device token:
  # ip token get dev eth1
  token ::1a:2b:3c:4d dev eth1

Listing all tokens:
  # ip token list  (or: ip token)
  token :: dev eth0
  token ::1a:2b:3c:4d dev eth1

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
ip/Makefile
ip/ip.c
ip/ip_common.h
ip/iptoken.c [new file with mode: 0644]
man/man8/Makefile
man/man8/ip-token.8 [new file with mode: 0644]