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 > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection. _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel