Posts

Showing posts from March, 2019

How to configure Linux KVM bridge on Ubuntu 18.04 & 20.04 LTS ?

Image
1. Install all the required KVM packages:    # apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager   -y 2. Start and enable 'libvirtd' daemon:    # systemctl start libvirtd     # systemctl enable libvirtd    # systemctl status libvirtd 3. Login to the KVM host using console or do SSH:    ➤  ssh -l root kvmhost.example.com    The default config file will look like below: # cat  /etc/netplan/50-cloud-init.yaml network:     ethernets:         eno1:             addresses:             - 192.168.0.3/24             dhcp4: false             gateway4: 192.168.0.1             nameservers:                 addresses:                 - 192.168.125.100                 search:                 - example.com         eno2:             addresses: []             dhcp4: true             optional: true         eno3:             addresses: []             dhcp4: true             optional: true         eno4:             addres