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: Tue, 12 Jul 2005 18:25:22 -0400
User-agent: Mutt/1.4i

On Tue, Jul 12, 2005 at 04:49:08AM +0200, Henrik Nordstrom wrote:
> It you forget about Ethernet and instead send the packet as a raw IP 
> packet then it should reach the host, but you must then fake ARP 
> responses on behalf of the host.
> 

I just tried this with libnet 1.1 (1.1.2.1 to be specific), and it doesn't
seem to work. Pings do not go through. I only handled the vde -> host case
though, do I need to do anything special for host -> vde packets?

I'll try again with libnet 1.0.2a

> >I guess we should just do it the hard way - when grabbing packets that are
> >meant for the host, fake the request (fake a ping, manually do the socket 
> >call,
> >etc) and send the result back to the vde.
> 
> You mean diverting them to slirp? Some additional magics for ARP will be 
> required.. also it doesn't solve host talking to the guest..

Yeah, I'm not sure how to handle the host -> guest case yes.

> 
> Regards
> Henrik
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

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




reply via email to

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