On Fri, 2005-09-30 at 09:10 -0400, Jim C. Brown wrote:
> On Fri, Sep 30, 2005 at 10:17:04AM +0200, octane indice wrote:
> > > I don't see any way for qemu guests to be able to
> > > ping each other
> > > (for example) if they are both using user-net.
> > > 
> > it would be good to get that working :)
> > 
> 
> Alas, that is so difficult it is nearly impossible.
> 

Nearly? Oh come on... you know it ain't possible, period.

Ping (ICMP) operates at the IP level. An unprivileged socket, which is
what user-net (slirp) uses can only send/receive packets at the ported
protocols level, which means UDP or TCP.

Of course, why ping? If all you need to do is validate connectivity,
find some ported protocol service to connect to in order to validate
connectivity.

If non-ported protocols like ICMP must be supported use tun/tap.

-- John.



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to