Difference between revisions of "Netplan examples"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
  
  
 +
 +
== Static [[IP]] configuration ==
  
  

Revision as of 10:32, 6 September 2020


Static IP configuration

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: