From 25a65efb2ea876ca8096912e5860c63c2cb1bbe1 Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Fri, 25 Sep 2020 10:23:30 -0400 Subject: [PATCH] docs: add note around link-local addressing This PR adds a small note to the config docs to detail how to do link local networking like SLAAC. Signed-off-by: Spencer Smith --- docs/website/content/v0.7/en/configuration/v1alpha1.md | 4 ++++ pkg/machinery/config/types/v1alpha1/v1alpha1_types.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/website/content/v0.7/en/configuration/v1alpha1.md b/docs/website/content/v0.7/en/configuration/v1alpha1.md index 42af77c37..0e148f1e1 100644 --- a/docs/website/content/v0.7/en/configuration/v1alpha1.md +++ b/docs/website/content/v0.7/en/configuration/v1alpha1.md @@ -732,6 +732,10 @@ The following DHCP options are supported: > Note: This option is mutually exclusive with CIDR. +> Note: To configure an interface with *only* IPv6 SLAAC addressing, CIDR should be set to "" and DHCP to false +> in order for Talos to skip configuration of addresses. +> All other options will still apply. + ##### machine.network.interfaces.ignore `ignore` is used to exclude a specific interface from configuration. diff --git a/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go b/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go index e7668c036..80e36d724 100644 --- a/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go +++ b/pkg/machinery/config/types/v1alpha1/v1alpha1_types.go @@ -443,6 +443,10 @@ type NetworkConfig struct { // // > Note: This option is mutually exclusive with CIDR. // + // > Note: To configure an interface with *only* IPv6 SLAAC addressing, CIDR should be set to "" and DHCP to false + // > in order for Talos to skip configuration of addresses. + // > All other options will still apply. + // // ##### machine.network.interfaces.ignore // // `ignore` is used to exclude a specific interface from configuration.