Netplan: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
https://www.linux.com/learn/intro-to-linux/2018/9/how-use-netplan-network-configuration-tool-linux | |||
To show all network devices and their status: | To show all network devices and their status: | ||
<pre> | <pre> | ||
Line 4: | Line 6: | ||
</pre> | </pre> | ||
Configure a file in <code>/etc/netplan</code> | Configure a file in <code>/etc/netplan</code>. '''NOTE: This file must have consistent indendation.''' Either use all spaces or all tabs. | ||
Try the new config: | Try the new config: |
Latest revision as of 16:35, 28 January 2019
https://www.linux.com/learn/intro-to-linux/2018/9/how-use-netplan-network-configuration-tool-linux
To show all network devices and their status:
ip a
Configure a file in /etc/netplan
. NOTE: This file must have consistent indendation. Either use all spaces or all tabs.
Try the new config:
netplan try
Apply the new config:
netplan apply