[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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
> 

Hi,
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: 
...
  <devices>
    <interface type='direct'>
      <source dev='eth0' mode='vepa'/>
    </interface>
  </devices>
  ...

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
versa.

-- 
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]