Difference between revisions of "Netplan Configuration"
From Jay's Cafe' Wiki
Jayctheriot (talk | contribs) (Created page with "# This file describes the network interfaces available on your system # For more information, see netplan(5). <pre> network: version: 2 renderer: networkd ethernets:...") |
Jayctheriot (talk | contribs) m |
||
Line 21: | Line 21: | ||
$ sudo netplan --debug apply | $ sudo netplan --debug apply | ||
</pre> | </pre> | ||
[https://netplan.io/examples Netplan Route Configuration] |
Latest revision as of 10:41, 21 December 2022
- This file describes the network interfaces available on your system
- For more information, see netplan(5).
network: version: 2 renderer: networkd ethernets: enp0s3: dhcp4: no addresses: [192.168.1.222/24] gateway4: 192.168.1.1 nameservers: addresses: [8.8.8.8,8.8.4.4]
Once ready apply changes with:
$ sudo netplan apply
In case you run into some issues execute:
$ sudo netplan --debug apply