免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。