]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
ip6: Implement IPv6 address sharing
authorRoy Marples <roy@marples.name>
Sat, 5 Jan 2019 11:42:12 +0000 (11:42 +0000)
committerRoy Marples <roy@marples.name>
Sat, 5 Jan 2019 11:42:12 +0000 (11:42 +0000)
commitcd09e583c76755545396676833fad09313611f72
tree3d5b6596e4c07295d673ce00abb1ee266bbfedeb
parent8556cf885e23c11ff72bf6da7113095650038213
ip6: Implement IPv6 address sharing

This allows the same IPv6 address to exist on more than one
interface. Whenever dhcpcd address an IPv6 address, it will
advertise it along with the hardware address of the preferred
interface.

This is heavliy reliant on the kernel supporting this as it's the
kernel that handle the Duplicate Address Detection.
In a nutshell it needs to support RFC 7527 and ignore NA packets
from any hardware address the host owns.

Currently the only known kernel that fully supports this is
NetBSD-8.99.27
src/dhcp6.c
src/dhcp6.h
src/dhcpcd.c
src/if-bsd.c
src/if-linux.c
src/if.h
src/ipv6.c
src/ipv6.h
src/ipv6nd.c
src/ipv6nd.h