From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 21 12:53:32 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5F45F36B for ; Mon, 21 Jan 2013 12:53:32 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id E3814F03 for ; Mon, 21 Jan 2013 12:53:31 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id s4so1210071lbc.7 for ; Mon, 21 Jan 2013 04:53:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=4/765eEOB9wJQTXthX8eyQIMSO9NZvNdHzBCfqrFoe8=; b=x3uY+ptLqKn7CmoyBmu/satDTO/drwwv6N18ka95xyZe5CKu2xWl4D5y9CBOuimbvs SDXO0eG4oGsvjh+NGjt+IZsF564XFra90DrSR+3+i1wXW0Tl5JwM1N8Ej7JIYL+hlB+d nHJpBo4h+D/dHriFRSx98XBUsDR/nQKh+c2a2AqzEL6mITaBsKBygQ/C1wUi3qSh41bP uNcO8QXY8d9rwB3yiXH+GkF4z1ifxjPCT67htHkuIQW85lYXJs5nelnoqX+vo62SwLUA TyyuJnkSMslcU0z6Aaw7ZFkwe7XooyI6dZwNMDCMInlfsVTYTWGebL+UZP6IWNFC4FIq TSWA== X-Received: by 10.112.32.100 with SMTP id h4mr7642855lbi.53.1358772805413; Mon, 21 Jan 2013 04:53:25 -0800 (PST) Received: from [192.168.1.130] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id er8sm5432876lbb.9.2013.01.21.04.53.24 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 21 Jan 2013 04:53:24 -0800 (PST) Message-ID: <50FD3A40.8040105@gmail.com> Date: Mon, 21 Jan 2013 14:53:20 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: rc.d/vboxnet fails to fully configure interface Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 12:53:32 -0000 Hi all. After patching rc.d/vboxnet to run VBoxManage correctly I found that it doesn't create interface at all, as all interface specification is bound to user running machines. I had created a sample config file for VirtualBox: But this only results in interface been created but not configured: vboxnet0: flags=8802 metric 0 mtu 1500 ether 0a:00:27:00:00:00 nd6 options=21 media: Ethernet autoselect status: active This is very bad from a production perspective. Imagine that I want to run a number of machines on one host-only interfaces making parent host the firewall for all of them. Then no system service can start and bind to this interface prior to making it fully active. This covers at least named and isc-dhcpd as I prefer to use full fledged dhcpd server to be able to provide routing info, local dns servers and machine registration in dns. -- Sphinx of black quartz, judge my vow.