Lesson 5

Dates: 6/5/2019
Linux networking
Linux System Administration


Linux network configuration on Ubuntu 18.04 LTS

  • On Ubuntu 18.04 LTS, configuration in /etc/network/interfaces no longer works.

  • NetPlan defines the network service renderer and configuration.

  • File /etc/netplan/*.yaml contains the main configuration for Ubuntu network interfaces.

    For example, /etc/netplan/01-netcfg.yaml on kvm-18.04 VM contains settings for DHCP client:
    network:
      version: 2
      renderer: networkd
      ethernets:
        ens3:
          dhcp4: yes
    

  • Netplan supports two types of the network renderers (services):
    networkd, default for server installation
    and
    NetworkManager, default for desktop installation


  • Take me to the Course Website