diff --git a/admin-guide/configuration/networking.md b/admin-guide/configuration/networking.md index 2900b6f1..4a48fb46 100644 --- a/admin-guide/configuration/networking.md +++ b/admin-guide/configuration/networking.md @@ -2,18 +2,20 @@ Our Puppet configuration management supports four types of network configuration: - **auto**: NetworkManager does automatic configuration while respecting local user managed configuration +- **auto_static_ip**: static NetworkManager connection with IP from DNS and network information from DHCP - **managed**: NetworkManger is fully managed via Hiera/Puppet - **unmanaged**: network configuration (incl. DNS) is not touched by Puppet - **legacy**: Puppet keeps network configuration untouched except for DNS configuration and applying `network::*` Hiera settings Not all types are supported by all RedHat versions: -| Type | RHEL7 | RHEL8 | RHEL9 | -|-----------|---------|---------|---------| -| auto | \- | ✓ | Default | -| managed | \- | ✓ | ✓ | -| unmanaged | \- | ✓ | ✓ | -| legacy | Default | Default | \- | +| Type | RHEL7 | RHEL8 | RHEL9 | +|----------------|---------|---------|---------| +| auto | \- | ✓ | Default | +| auto_static_ip | \- | ✓ | ✓ | +| managed | \- | ✓ | ✓ | +| unmanaged | \- | ✓ | ✓ | +| legacy | Default | Default | \- | ## Automatic Network Configuration @@ -31,6 +33,16 @@ DNS configuration as such is learned by autoconfiguration/manual connection conf Note that when changing to `auto` all legacy `ifcfg` files for network configuration are removed. +## Automatic Network Configuration with Static IP Address + +In a setup where there is just one static IP address which can be resolved via DNS, Puppet can configure a static connection with + +``` +networking::setup: auto_static_ip +``` + +Note this only works if there is a DHCP server in that network which provides the network mask and the default gateway IP address. + ## Managed Network Configuration The network configuration can be fully and fine-grained be managed from Hiera with