Difference between revisions of "Netplan examples"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
  
  
[[DHCP]]
+
== [[DHCP]] configuration ==
 +
Minimal configuration file:
 +
<pre>
 +
network:
 +
    ethernets:
 +
        eno0:
 +
            dhcp4: true
 +
</pre>
 +
 
 +
 
 
<pre>
 
<pre>
 
network:
 
network:

Revision as of 07:50, 31 August 2020



DHCP configuration

Minimal configuration file:

network:
    ethernets:
        eno0:
            dhcp4: true


network:
    ethernets:
        eth0:
            dhcp4: true
            match:
                macaddress: dc:a6:32:2c:9f:33
            set-name: eth0
    version: 2


See also

Advertising: