Page MenuHomeVyOS Platform

Support "stateless" DHCP-v6 (information-request) clients
Closed, ResolvedPublic

Description

The VyOS config syntax currently does not support setting up a DHCPv6 server to hand out DNS settings such as nameservers and search domains to stateless clients.

Stateless clients are DHCPv6 clients that do not request an IP address. Typically they send a DHCPv6 "information request" message instead of the usual address assignment flow. This is typically used when addresses are assigned via SLAAC, but the client is sufficiently old that it does not support receiving DNS information via the RDNSS extension to the router advertisement. Sufficiently old clients include Windows 7 machines, and I've also observed this behavior in some fairly recent models of printers and Sony Blu-Ray players.

The isc-dhcp-server happily supports stateless clients, however it will only hand out parameters specified at the "shared network" level. The VyOS config syntax currently only support setting parameters at the subnet level. To enable support for this behavior, we should add the option to specify applicable parameters (such as name server and search domains) at the shared network level.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

lucasec created this object in space S1 VyOS Public.

I did a minor improvement and reused the fqdn validator in our system. In addition I refactored the domain-search into an includable snippet - so changing grammar, validators can be done in one single file.

Any rolling newer then vyos-1.3-rolling-202010050117-amd64.iso will have this included.