I have a virtual machine running under QEMU-KVM, on a 13.10 host. I am using Virt-manager to define the machine, and I have added a virtual NIC, using the new Macvtap driver. I have the following definition: <interface type= ' direct ' >
<mac address= ' 52:54:00:1f:dd:c4 ',/> <source dev= ' eth0 ' mode= '
Bridge '/>
<model type= ' virtio '/> <address ' type= ' PCI ' domain= ' 0x0000 ' ' bus= ', 0x00 ' slot= ' ' 0x03 '
function= ' 0x0 '/>
</interface>
On the host machine, I can and the tap interface is created: $ip link
5:macvtap0@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU 1500 Qdisc pfifo_fast State UNKNOWN mode Defau LT qlen
link/ether 52:54:00:1f:dd:c4 brd ff:ff:ff:ff:ff:ff
$ls/dev/tap5/dev/tap5
But in the virtual machine, interface eth0 are unable to access the network. DHCP fails. Static configuration obviously works, but then I cannot ping anything. I have no iptables rules, neither on the host, nor in the virtual machine. So, how can I troubleshoot this problem? |