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

[ubuntu] KVM Virt-Manager machine can't connect to the internet using br0

$
0
0
I'm using Ubuntu 14.04. I've successfully created a bridge, because the host has internet connection. Everything seems to work fine, but when I use virt-manager and add br0 as the interface for the virtual machine, it doesn't work.

ip route
Code:

default via 1.1.1.2 dev br0
1.1.1.0/24 dev br0  proto kernel  scope link  src 1.1.1.6
10.0.0.0/15 dev virbr0  proto kernel  scope link  src 10.0.0.1
169.254.0.0/16 dev br0  scope link  metric 1000

/etc/network/interfaces
Code:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_maxwait 0

I had this working before. I don't know why it's not working now.


Edit: DHCP it seems is the problem, because I can manually input the ip addresses for the virtual machines and they're connected. What's the deal?

Viewing all articles
Browse latest Browse all 4211

Trending Articles



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