From owner-freebsd-stable@FreeBSD.ORG Thu Jan 19 07:22:24 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA601065670 for ; Thu, 19 Jan 2012 07:22:24 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [IPv6:2a01:4f8:130:6021::50]) by mx1.freebsd.org (Postfix) with ESMTP id C2DED8FC15 for ; Thu, 19 Jan 2012 07:22:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id A917E6727 for ; Thu, 19 Jan 2012 08:24:12 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZaOcF86cep7P for ; Thu, 19 Jan 2012 08:24:08 +0100 (CET) Received: from pcdenny.rbg.informatik.tu-darmstadt.de (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id B8D473F9B9 for ; Thu, 19 Jan 2012 08:24:07 +0100 (CET) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1251.1) From: Denny Schierz In-Reply-To: <4F174607.9070707@fdrive.com.au> Date: Thu, 19 Jan 2012 08:22:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <741811DB-240C-4390-A3B3-4BEFE8714942@4lin.net> References: <4F174607.9070707@fdrive.com.au> To: freebsd-stable@freebsd.org X-Mailer: Apple Mail (2.1251.1) Subject: Re: Fighting with vnet / jails epair and so on X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 07:22:24 -0000 hi, Am 18.01.2012 um 23:21 schrieb Philipp Huebner: >=20 > I use 9.0.0 release for host and jail and a generic kernel with = OPTIONS > VIMAGE being the only change/addition. > No problem. so, how looks your rc.conf config ? Do you use vimage the tool? I can't = use vimage (as I know) on sparc64. What I did to get it working without /etc/rc.d/jail: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D jail -c vnet jid=3D"101" name=3Dtemplate = host.hostname=3Dtemplate.example.com path=3D/jails/template/ persist ifconfig epair0 create ifconfig bridge0 addm epair0a ifconfig epair0b vnet 101 jexec 101 ifconfig epair0b 192.168.1.2 netmask 255.255.255.0 jexec 101 route add default 192.168.1.1 ifconfig epair0a up =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ping 192.168.1.2 64 bytes from 192.168.1.2: icmp_seq=3D1 ttl=3D64 time=3D0.054 ms inside the Jail I have only "lo" and "epair0b" and it works :-) but even not from /etc/rc.conf and that is the problem. cu denny