From the course: Building an Ubuntu Server

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Network configuration with Netplan

Network configuration with Netplan - Linux Tutorial

From the course: Building an Ubuntu Server

Network configuration with Netplan

- Network configuration on recent and current versions of Ubuntu server is handled through Netplan. Netplan uses text files written in YAML format which are used to create configurations for either systemd-networkd or for network manager depending on which tool or in the terminology of Netplan which renderer you choose to use. Out of the box, Ubuntu server uses systemd-networkd as the renderer, and so that's what we'll explore here. We can use a systemd's networkctl tool to take a look at the network interfaces systemd knows about and what their status is. I'll write networkctl and press Enter. Here's my primary ethernet adapter. I can see that it's configured over here in this column. That indicates that systemd is reading a configuration file for this interface. On the server, that configuration was generated by Netplan. Let's dig down a little bit more and take a look at this interface in more detail. To do that…

Contents