Netplan: Difference between revisions
Jump to navigation
Jump to search
Created page with "To show all network devices and their status: <pre> ip a </pre>" |
No edit summary |
||
(2 intermediate revisions 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> | ||
ip a | ip a | ||
</pre> | |||
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: | |||
<pre> | |||
netplan try | |||
</pre> | |||
Apply the new config: | |||
<pre> | |||
netplan apply | |||
</pre> | </pre> |
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