qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "John R. Hogerhuis" <jhoger@pobox.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] about DHCP server in qemu
Date: Fri, 30 Sep 2005 11:28:53 -0700	[thread overview]
Message-ID: <1128104933.2390.42.camel@aragorn> (raw)
In-Reply-To: <20050930131014.GA14173@jbrown.mylinuxbox.org>

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.

  parent reply	other threads:[~2005-09-30 18:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 15:00 [Qemu-devel] about DHCP server in qemu octane indice
2005-09-29 20:34 ` Jim C. Brown
2005-09-29 21:50   ` Brad Campbell
2005-09-29 22:14     ` Jim C. Brown
2005-09-30  8:17       ` octane indice
2005-09-30 12:21         ` Oliver Gerlich
2005-09-30 13:10         ` Jim C. Brown
2005-09-30 14:51           ` octane indice
2005-10-01 21:17             ` Jim C. Brown
2005-10-02  2:39               ` Henrik Nordstrom
2005-10-02 19:23                 ` Jim C. Brown
2005-10-03 11:34                   ` octane indice
2005-09-30 18:28           ` John R. Hogerhuis [this message]
2005-09-30 21:37             ` Henrik Nordstrom
2005-09-30 21:59             ` Jim C. Brown
2005-10-03 15:55               ` octane indice
2005-10-03 18:12                 ` Henrik Nordstrom
2005-10-03 19:20                 ` Christian MICHON
2005-10-03 20:37                   ` Henrik Nordstrom
2005-10-04  7:47                     ` Christian MICHON
2005-10-04 11:43                       ` Jim C. Brown
2005-10-05  9:38                       ` Henrik Nordstrom
2005-10-03 21:31                 ` Jim C. Brown
2005-10-04  4:19                   ` octane indice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1128104933.2390.42.camel@aragorn \
    --to=jhoger@pobox.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).