Hi,
I'm having a problem with some of my VMs not getting network access. I've traced the problem to the guest getting no link on eth0. I'm using the virtio-net-pci with user-mode networking.
What would cause the eth0 device to show no link? Here's the QEMU command I'm using:
qemu-system-x86_64 -nographic -enable-kvm -m 5G -vnc
127.0.0.1:11 -monitor tcp:
127.0.0.1:4511,server,nowait -serial tcp:
127.0.0.1:5011,server,nowait -netdev user,id=net0,hostname=
guest.domain.com,hostfwd=tcp:127.0.0.1:4011-:22 -device virtio-net-pci,netdev=net0,mac=00:50:56:01:00:02 -drive file=image.img,if=virtio,cache=unsafe
Version:
QEMU emulator version 1.6.1 (Debian 1.6.0+dfsg-2ubuntu2~precise1~ppa1), Copyright (c) 2003-2008 Fabrice Bellard