Table of Contents

IPv6 via DTAG

Goal

Prerequisites

Set up DHCPv6 client

  /ipv6 dhcp-client add allow-reconfigure=yes default-route-tables=main interface=pppoe-dsl pool-name=telekom-v6-dyn pool-prefix-length=57 prefix-hint=::/56 request=prefix

Do NOT set add-default-route! It will mess up your RAs and announce also the /56, then deprecate it before announcing the real prefix.

Set up local /57 pool

  /ipv6 pool add from-pool=telekom-v6-dyn name=local prefix=0:0:0:80::/57 prefix-length=64

Delegate other /57

  /ipv6 dhcp-server add address-pool=telekom-v6-dyn interface=ether1 lease-time=20m name=router prefix-pool=telekom-v6-dyn

Assign prefix to interface

Just assign an address from the pool, this will start RAs for that prefix on that interface

  /ipv6 address add address=::49:0:0:0:1 from-pool=local interface=ether1.201

This will assign 2001:db8:1234:56c9::1/64 (0x80 + 0x49 = 0xc9) to ether1.201.