Lesson 5

Dates: 6/6/2018
Linux networking
Linux System Administration

Exercises: Configuring network on Ubuntu 18.04 with Netplan

  • Shutdown kvm-18.04 VM, and clone it into netplan VM:
    virsh shutdown kvm-18.04 
    virt-clone --connect=qemu:///system -o kvm-18.04 -n netplan -f /home/hostadm/KVM/netplan.qcow2
    Start netplan. Login to console of netplan:
    virsh console netplan 
  • Fix the hostname, and reboot the VM.
  • Check the IP address settings on netplan
    ip addr
  • Assign IP address by modifying the content of /etc/netplan/01-netcfg.yaml as follows
     version: 2
     renderer: networkd
         dhcp4: no
         addresses: []
           addresses: []
  • Have the settings applied:
    netplan apply
  • Check the IP address again:
    ip addr
    It should show for ens3 interface now.

  • Take me to the Course Website