Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema: introduce IPv6 settings #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jow-
Copy link
Collaborator

@jow- jow- commented Apr 8, 2021

This commit adds four new schema options:

ipv6

The IPv6 operation mode of this interface. When set to "upstream", the system will
attempt to acquire an IPv6 address and prefix through DHCPv6-PD and SLAAC. When set
to "downstream", DHCPv6 and router advertisements will be offered. Setting "none"
will inhibit any IPv6 configuration.

ipv6_reqprefixlen

Specifies the IPv6 prefix size that should be requested on upstream interfaces.

ipv6_dhcpmode

Specifies the DHCPv6 operation mode on downstream interfaces. When set to "stateless",
the system will announce router advertisements only, without offering stateful DHCPv6
service. When set to "stateful", emitted router advertisements will instruct clients
to obtain a DHCPv6 lease. When set to "hybrid", clients can freely chose whether to self-
assign a random address through SLAAC, whether to request an address via DHCPv6, or both.
For maximum compatibility with different clients, it is recommended to use the hybrid mode.
The special mode "relay" will instruct the unit to act as DHCPv6 relay between this interface
and any of the IPv6 interfaces in "upstream" mode.

ipv6_setprefixlen

Specifies the IPv6 prefix size that should be assigned to this downstream interface.
A suitable prefix is taken from any of the received upstream prefixes and configured
on this interface for redistribution via DHCPv6. Setting this value to 64 disables
DHCPv6-PD since there will be no prefixes to redistribute.

Signed-off-by: Jo-Philipp Wich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant