[libvirt] FW: macvtap not working on rhel 6.1 x86 machine

Gerhard Stenzel gstenzel at linux.vnet.ibm.com
Thu Dec 15 10:17:07 UTC 2011

On Thu, 2011-12-15 at 15:20 +0530, Amit Tewari wrote:
> Hi all,
> My test environment
> Host os=rhel6.1 x86 machine
> Guest os = rhel6.1
> Libvirt=0.8.7
> Kvm hypervisor

maybe it would help if you try to explain first, what you are trying to
achieve, what your setup looks like (including your DHCP setup and
switch infrastructure).

Here (http://libvirt.org/formatdomain.html) you will find the following
xml sample, which works: 
    <interface type='direct'>
      <source dev='eth0' mode='vepa'/>

This will connect your VM directly to the same network as eth0. Please
be aware that, depending on your switch configuration (supports hair pin
mode or not), your host might not be able to talk to your VM and vice

Best regards, 

Gerhard Stenzel, 
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

More information about the libvir-list mailing list