Re: ndp(1) and arp(1) enhancements for easier scripting of IPv6 prefix delegation
Tobias Nygren <[email protected]> Sun, 21 Jun 2026 12:32:40 +0200
| Newsgroups | gmane.os.netbsd.devel.network |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 21 Jun 2026 12:08:46 +0200 Martin Husemann <[email protected]> wrote: > What do others do? Not care about IPv6, have a fixed prefix, something else? I have a convoluted orchestration that starts with a dhcpcd hook script. dhcpcd sets a bunch of environment variables with information about the delegation. This in turn runs a bunch of other scripts that regenerate npf.conf and dhcpd6.conf from m4 templates with the prefixes subsituted. Using DHCPv6 gives opportunity to assign shorter addresses instead of using mac addr. The delegated prefixes have not changed in over a year so I never got around to implementing a solution for DNS but resort to manually updating the zone when needed. -Tobias