[ubuntu-za] kvm br0
Morgan Collett
morgan at ubuntu.com
Thu Aug 12 06:19:25 BST 2010
On Wed, Aug 11, 2010 at 21:35, Charl Wentzel
<charl.wentzel at vodamail.co.za> wrote:
> Hi Guys
>
> We're setting up a Core i3 for a small virtual host running KVM on Ubuntu
> 10.04. Everything when well until we tried to create a bridge interface to
> eth0 for the virtual guest servers. (The default interface virbr0 is NAT'ed
> so we need another bridge interface without NAT to access the guest servers)
>
> The standard instructions basically require:
> a. install bridge-utils
> b. modify /etc/network/interface to configure br0
> c. restart networking
>
> However, the system fails to create br0, no such device. I'm pretty sure
> you need to create br0 somewhere, but I can't find proper instructions to do
> so. I tried to create it with "brctl addbr br0". It created the bridge,
> but networking would not restart and complained about something related to
> eth0. When I rebooted, br0 was gone.
>
> Does anyone know of more detailed instructions?
Hi Charl
This is my config on a Dell R710 server running KVM with multiple VMs,
each on their own public IP address:
/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
# Bridge interface for KVM
auto br0
iface br0 inet static
address XX.XX.XX.XX
netmask XX.XX.XX.XX
network XX.XX.XX.XX
broadcast XX.XX.XX.XX
gateway XX.XX.XX.XX
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers XX.XX.XX.XX
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
Basically, put what you have for eth0 (IP address, netmask, broadcast,
gateway) into the br0 section instead...
Regards
Morgan
>
> Regards
> Charl
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
>
More information about the ubuntu-za
mailing list