Monday, March 14, 2022

How To Install KVM On Rocky Linux | Configure Bridge networking

 in This Tutorial you will Learn " How To Install KVM On Rocky Linux 8.5 | Configure Bridge networking for KVM virtual machines."

KVM hypervisor is the virtualization layer in Kernel-based Virtual Machine (KVM), a free, open source virtualization architecture for Linux distributions.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release
dnf -y install qemu-kvm libvirt virt-install
systemctl enable --now libvirtd

Configure Bridge networking for KVM virtual machines."-
nmcli connection add type bridge autoconnect yes con-name br0 ifname br0
nmcli connection modify br0 ipv4.addresses 192.168.1.20/24 ipv4.method manual
nmcli connection modify br0 ipv4.gateway 192.168.1.1
nmcli connection modify br0 ipv4.dns 192.168.1.10
nmcli connection del ens33
nmcli connection add type bridge-slave autoconnect yes con-name ens33 ifname ens33 master br0
reboot
_________________________________________________________________________________________


No comments:

Post a Comment