[KD6-DANIR] Lite Kernel DHCPv6 PD and NDP implementation
Today we are happy to introduce a Lite Kernel DHCPv6 Prefix Delegation and Neighbour Discovery implementation
KD6-DHCPv6-PD-DANIR
The kernel in the IoT Router issues a DHCPv6 PD request on its egress interface and obtains a /56 from DHCPv6 PD server. Further it splits multiple /64s out of it and sends RAs with /64 on the ingress interfaces. After clients receive the RA the default route is configured (link-local) address of IoT Requesting Router and /64 prefix is used to configure interface IP address.
GITHUB, DEMO and IETF docs:
DANIR implementation at github: https://github.com/dmytroshytyi/KD6-DHCPv6-PD-DANIR
It is an implementation of draft-shytyi-v6ops-danir-03.txt: https://tools.ietf.org/html/draft-shytyi-v6ops-danir-03
You may want to save the time and just have a look at lite working implementation. We invite you to download the VM (ova format exported from VirtualBox) with custom kernel just to try the KD6-DANIR linux kernel module. DOWLOAD LINK
Demo of this implementation: https://www.youtube.com/watch?v=DymVQY7bCUM
The DEMO recorded the virtual machines output on the IoT Router, the Client device behind it, and the DHCPv6-PD server.
Compiled with kernel:
Linux ferby 4.19.4pachedkernel-v2 #7 SMP PREEMPT Fri Aug 23 04:58:09 CEST 2019 x86_64 GNU/Linux
Suggestions:
Do not forget to enable ipv6 forwarding on the IoT Router.
Requirements:
Patched kernel.
Problems and solutions:
Problem:
Errors in the journalctl -f during insmod:
Solution:

