Install required packages of kvm -
yum -u update && rebootyum -y install qemu-kvm virt-install virt-manager virt-viewer libvirt libvirt-client libvirt-python Test installation by executing -
virt-manager -hvirt-viewer -hRemove default network -
virsh net-destroy defaultvirsh net-undefine defaultConfigure interface port channel at switch -
interface Port-channel1 switchport mode trunk exitConfigure LACP at switch -
interface range Gi1/0/12-13 shutdown switchport mode trunk channel-group 1 mode active no shutdown exitLoad the bonding module by executing
modprobe --first-time bondingCreate a file as /etc/sysconfig/network-scripts/ifcfg-bond0 -
DEVICE=bond0TYPE=BondBONDING_MASTER=yesBOOTPROTO=noneONBOOT=yesBONDING_OPTS="mode=4"Configure slave interfaces as /etc/sysconfig/network-scripts/ifcfg-em1 -
BOOTPROTO=noneDEVICE=em1ONBOOT=yesMASTER=bond0SLAVE=yesConfigure slave interfaces as /etc/sysconfig/network-scripts/ifcfg-em2 -
BOOTPROTO=noneDEVICE=em2ONBOOT=yesMASTER=bond0SLAVE=yesLoad the VLAN module by executing
modprobe --first-time 8021qLoad the bridge module by executing
modprobe --first-time bridgeCreate a file as /etc/sysconfig/network-scripts/ifcfg-bond0.8 -
DEVICE=bond0.8VLAN=yesONBOOT=yesBRIDGE=virbr0.8Create a file as /etc/sysconfig/network-scripts/ifcfg-virbr0.8 -
DEVICE=virbr0.8ONBOOT=yesTYPE=BridgeBOOTPROTO=noneIPADDR=192.168.8.221NETMASK=255.255.255.0GATEWAY=192.168.8.1DOMAIN=bergerbd.comDNS1=192.168.10.3DNS2=10.0.1.215STP=onDELAY=0