I have configured a virtual machine on Ubuntu with the help of below article,
https://help.ubuntu.com/9.04/serverguide/C/libvirt.html
I managed to finish all the parts except the major portion getting the virtual host to talk to the real network, which I guess should be done only via bridge interface.
Via virtual machine manager when I try to choose any interface it gives me interface not bridged
When I try to bridge the interceface eth0 as below
- auto br0
- iface br0 inet static
- address 192.168.0.223
- network 192.168.0.0
- netmask 255.255.255.0
- broadcast 192.168.0.255
- gateway 192.168.0.1
- bridge_ports eth0
- bridge_fd 9
- bridge_hello 2
- bridge_maxage 12
- bridge_stp off
I cannot communicate with this interface to the network, host server loses all the communication to network. But when I remote bridge interface from /etc/network/interfaces and configure eth0 as below it works fine.
The primary network interface
- auto eth0
- iface eth0 inet static
- address 192.168.0.223
- netmask 255.255.255.0
- network 192.168.0.0
- broadcast 192.168.0.255
- dns-nameservers 62.215.6.51
- gateway 192.168.0.1
How can I set up the bridge interface correctly and what would my /etc/netwrok/interfaces file look like?