Tag Archives: kvm

KVM virtualization

I will use kvm with libvirt and qemu:

- install next packages: kvm libvirt-bin python-virtinst bridge-utils
- adduser $YOURUSERNAME libvirtd
- reboot
- user@kvmhost:~$ virsh -c qemu:///system list --all
Id Name State
---------------------------------- 

if we have linux ubuntu, then bridge network will install very simply:
- edit /etc/network/interfaces

before modification:

auto eth0
iface eth0 inet static
       address 172.16.4.24
       netmask 255.255.255.192
       network 172.16.4.0
       broadcast 172.16.4.63
       gateway 172.16.4.1

after modification:

auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
        address 172.16.4.24
        netmask 255.255.255.192
        network 172.16.4.0
        broadcast 172.16.4.63
        gateway 172.16.4.1
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off

 Continue reading KVM virtualization