From owner-freebsd-questions@FreeBSD.ORG Thu May 14 13:52:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E81E5106566B for ; Thu, 14 May 2009 13:52:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 7383C8FC08 for ; Thu, 14 May 2009 13:52:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy3 with SMTP id 3so1555044ewy.43 for ; Thu, 14 May 2009 06:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=N4D5+k5sQbUtIFC5XgZvo9CWz4786Zwp2TZmmaLbyCw=; b=LKa63ZAeXoAyNq1UKlXAaMlDlK8J4UGFvWw3H6Y/FVkSHZIM3iVN3JyC/zvqRLaUVg VEPkHnmAjrB+fahGxLsieLWPTHmkAi5uLUjjsaIafYl/mMxKYez3pE6JuodaN7XoFw8P Dc9G7IQqZkl+UtwInGl1F4gjPsULDLWwRxeyw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=OgLQtAYOzF/97mAck6L0MFTlAvSSHHHZEy1hnPAVWEoy6SeJNoHebtcKaynW/uv2AC 0XDObnU5AdP/1ainfzI6oiku4OfSxFgEgK7KAwV1xsS6rXceXTnEdSdtYqvgWYJEPJNc mtdhTdtWFZ9MOfFLbrXG8DCCIetFw4mZIrjvk= Received: by 10.210.115.17 with SMTP id n17mr1943715ebc.55.1242309170113; Thu, 14 May 2009 06:52:50 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 10sm18442eyd.42.2009.05.14.06.52.48 (version=SSLv3 cipher=RC4-MD5); Thu, 14 May 2009 06:52:49 -0700 (PDT) Date: Thu, 14 May 2009 14:52:46 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090514145246.0c91489b@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: virtual network with qemu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 13:52:52 -0000 On Thu, 14 May 2009 13:39:17 +0200 "marco\.borsatino\@poste\.it" wrote: > First, thank you. > You are right, qemu has an internal DHCP server, which should be > perfect for me, becuse I would like to emulate a network without any > contact with external (real) world. The problem is that my virtual PC > can't ping the gateway. For my idea (this is just a way to study a > project for a network without a real network) the communication is > intended only among virtual PCs. But If I can't contact the (virtual) > gateway will it be possible to contact another virtual PC on a > different subnet? The problem is that ping is a setuid binary, so qemu cant send a ping into the outside world as an ordinary user process. I think you may be able to ping between two emulated machine within qemu. Even if you can't it might be worth staying with qemu's networking, if pings aren't essential, as it sounds closer to what you need than networking via tap.