From e0d61bdfde6664a37b706127518077672826aabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= Date: Wed, 28 Jun 2023 17:32:22 +0200 Subject: [PATCH] index: clarify NetworkManager managing all interfaces via DHCP section see https://github.com/canonical/netplan/pull/373 --- templates/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index 2c94f86..3296d20 100644 --- a/templates/index.html +++ b/templates/index.html @@ -50,12 +50,12 @@

How do I use it?

Configuration

-

Obviously, without configuration, netplan will not do anything. The most useful configuration snippet (to bring up things via dhcp) is as follows:

+

Without configuration, Netplan will not do anything. The simplest configuration snippet (to bring up things via DHCP on workstations) is as follows:

network:
   version: 2
   renderer: NetworkManager
-

This will make NetworkManager manage all devices (and by default, any ethernet device will come up with DHCP once carrier is detected).

-

Using networkd as a renderer does not let devices automatically come up using DHCP; each interface needs to be specified in a file in /etc/netplan for its configuration to be written and for it to be used in networkd.

+

This will make Netplan hand over control to NetworkManager, which will manage all devices in its default way (i.e. any ethernet device will come up with DHCP once carrier is detected).

+

When individual interface configurations are given, it will not let devices automatically come up using DHCP, but each interface needs to be specified in a file in /etc/netplan/ with its explicit YAML settings for the networkd or NetworkManager backend renderers.

Commands