diff --git a/admin-guide/configuration/networking.md b/admin-guide/configuration/networking.md index 66cb774a..aef16a4a 100644 --- a/admin-guide/configuration/networking.md +++ b/admin-guide/configuration/networking.md @@ -64,6 +64,19 @@ So there is the list `networking::connections` which selects the network connect Then for each connection name listed there needs to be a hash in Hiera named `networking::connection::$CONNECTION_NAME`. +If you have a fixed IP address which is in the DNS, you might also interpolate the `ipv4_by_dns` or the `ipv6_by_dns` variable: + +``` +networking::connection::psi_network: + mac_address: '00:50:56:9d:bb:ad' + ipv4_method: 'manual' + ipv4_address: '%{ipv4_by_dns}/24' + ipv4_gateway: '129.129.187.1' + ipv6_method: 'manual' + ipv6_address: '%{ipv6_by_dns}' + ipv6_gateway: 'abcd:1234::1' +``` + ### Ethernet Connection Definition The default connection type is `ethernet` (alias for `802-3-ethernet`).