I'm attempting to setup libvirt KVM guests on my server, and I've been messing around for two days now trying to get the guest networking working. So far, I haven't gotten anywhere.

My network is DHCP, but I have my server setup to pull a static IP.

I'm doing this all with the future intent of moving the machine to a datacenter, where things become even more complicated, in terms of multiple IP's and vlan's, so if you can point me in the direction of a guide or doc somewhere that will help me learn what to do there as well, it'd be really appreciated.

Here's my /etc/network/interfaces: auto lo iface lo inet loopback

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet static
    bridge_ports eth0
    bridge_fd 9
    bridge_hello 2
    bridge_maxage 12
    bridge_stp no 

And here's the line I'm trying to use to setup a VM. All works but the networking. Note I'm using a block device for storage, so if that looks weird, that's why.

virt-install --name irssi --ram 512 --vcpus=1 --vnc --disk /dev/mapper/irssi \
    --network bridge=br0,model=virtio --virt-type kvm \ 
  • This really should be simple, should it not? br0 is getting an IP, it's just that my VM's aren't connecting. They pull an IPv6 IP, which I actually have disabled, but otherwise can't connect. – ilikenwf Apr 10 '13 at 19:11

I added the following to the kernel parameters from the CD's bootloader and it worked:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.