Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

KVM Bridge issues, no connection

$
0
0
So I have installed KVM on my remote server, and am using virt-manager to configure a new VM.

Prior to that, I had a static IP on the server of 192.168.1.10 on eth0 as:

Code:

auto lo eth0
iface lo inet loopback
iface eth0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        gateway 192.168.1.1

I then added a bridge as br0 by typing # brctl addbr br0

I then did # brctl addif br0 eth0

And then went in to /etc/network/interfaces and made it say:

Code:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
        address 192.168.1.10
        netmask 255.255.255.0
        gateway 192.168.1.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

I can now connect to the host server at 192.168.1.10 - great.

But, when I start a VM, using the br0 bridge, it has no network connection? What am I doing wrong?

Thanks

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>