Skip to content

Commit

Permalink
index: clarify NetworkManager managing all interfaces via DHCP section
Browse files Browse the repository at this point in the history
  • Loading branch information
slyon committed Jun 28, 2023
1 parent 204c7c9 commit e0d61bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ <h2>How do I use it?</h2>
<div class="row">
<div class="col-6 col-medium-3">
<h3>Configuration</h3>
<p>Obviously, without configuration, netplan will not do anything. The most useful configuration snippet (to bring up things via dhcp) is as follows:</p>
<p>Without configuration, Netplan will not do anything. The simplest configuration snippet (to bring up things via DHCP on workstations) is as follows:</p>
<pre><code>network:
version: 2
renderer: NetworkManager</code></pre>
<p>This will make NetworkManager manage all devices (and by default, any ethernet device will come up with DHCP once carrier is detected).</p>
<p>Using networkd as a renderer does not let devices automatically come up using DHCP; each interface needs to be specified in a file in <code>/etc/netplan</code> for its configuration to be written and for it to be used in networkd.</p>
<p>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).</p>
<p>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.</p>
</div>
<div class="col-6 col-medium-3">
<h3>Commands</h3>
Expand Down

0 comments on commit e0d61bd

Please sign in to comment.