OS: Ubuntu 14.04 - 64 bit
Install the prerequisites and bridge utils for creating the bridge interface
apt-get install vim aptitude bridge-utils
Now lets configure the bridge interface
Change the eth0 interface to manual, create the bridge interface and link the bridge interface with eth0. After configuring the bridge interface the host machine will be connected to eth0 which inturn will be connected to the bridge. Now any traffic originating from the host machine will go through the bridge interface
vim /etc/network/interfaces
----------------------------------------------------------------
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address x.x.x.x
netmask 255.x.x.x
gateway x.x.x.x
dns-nameservers 8.8.8.8 4.2.2.2
#bridge configuration
bridge_ports eth0
#turning off spaning tree
bridge_stp off
bridge_maxweight 0
bridge_fd 0
----------------------------------------------------------------
Now lets intall KVM
$aptitude install qemu-kvm qemu-system
Now install the virt-manager
$aptitude install virt-manager
After installation we can start virt manager by issuing the following command
$sudo virt-manager
Install the prerequisites and bridge utils for creating the bridge interface
apt-get install vim aptitude bridge-utils
Now lets configure the bridge interface
Change the eth0 interface to manual, create the bridge interface and link the bridge interface with eth0. After configuring the bridge interface the host machine will be connected to eth0 which inturn will be connected to the bridge. Now any traffic originating from the host machine will go through the bridge interface
vim /etc/network/interfaces
----------------------------------------------------------------
auto eth0
iface eth0 inet manual
auto br0
iface br0 inet static
address x.x.x.x
netmask 255.x.x.x
gateway x.x.x.x
dns-nameservers 8.8.8.8 4.2.2.2
#bridge configuration
bridge_ports eth0
#turning off spaning tree
bridge_stp off
bridge_maxweight 0
bridge_fd 0
----------------------------------------------------------------
Now lets intall KVM
$aptitude install qemu-kvm qemu-system
Now install the virt-manager
$aptitude install virt-manager
After installation we can start virt manager by issuing the following command
$sudo virt-manager
This will launch the Virtual Machine Manager
No comments:
Post a Comment