qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Connecting vde and LAN


From: Jim C. Brown
Subject: Re: [Qemu-devel] Connecting vde and LAN
Date: Sun, 10 Jul 2005 14:58:58 -0400
User-agent: Mutt/1.4i

On Sun, Jul 10, 2005 at 08:23:17PM +0200, Oliver Gerlich wrote:
> > The best solution is to use a vde_switch with libpcap and libnet. This 
> > allows
> > intercepting packets meant for the guests (via libnet) and forwarding them 
> > thru
> > vde. libpcap allows for packets in vde to be passed on to the lan. This also
> > allows for a sort of seamless bridging between host and guest lan. 
> > (Technically
> > a tap device is still required to be able to talk to the host, but my 
> > understanding
> > is that libpcap handles this automatically.) Plus, the nic remains eth0.
> > 
> > I am not sure how libpcap and libnet would work with DHCP or ARP, but since
> > they work on the ethernet level I suppose a single dhcpd server on eth0 
> > would
> > work in this case, but I am not 100% sure.
> > 
> 
> Sounds interesting! How do I set this up? Couldn't find anything on
> Google, and personally I have no idea how to do this :)
> 
> Oliver

I should have stated that VDE doesn't actually have a version of vde_switch
which uses libpcap or libnet - so it will have to be written first. I'm working
toward that end, but right now its been a slow start.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]