From owner-freebsd-net@FreeBSD.ORG Wed Dec 17 06:40:02 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2F9FF73 for ; Wed, 17 Dec 2014 06:40:02 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 869AF91 for ; Wed, 17 Dec 2014 06:40:02 +0000 (UTC) Received: by mail-ig0-f171.google.com with SMTP id z20so8234575igj.10 for ; Tue, 16 Dec 2014 22:40:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=y0JK3STrwMZ6ziui5iYolkgVJe6eyEhM0bUwmXNfvPI=; b=otZG3/WAUPNWmBo6D3dcq85deil/VPAItyJOFtIn4Tfyw4BWe0JGpfJXJyuQVpH1RI fTTf0YeUwQWAJBPBObxAd6jImdeAS6EWSNiRPF6TRYMvYWg2xxqKaVYXyTnsJWEPuNq+ bN3CIpdkDE2WzUq5jrfz19hdz8TlRqJDEmON9Bc0HYAF1MbQFKwwHlYYiGz/MA1bNhnn SACn+GWYE6v2onA6qknpLrGr0gvodT0XNCRPp+POR/kcdtsRp8Oe5zbFrGWMw/GQoIfO G136mDwNUCuquhXpCx3Gz97keOMkd9ddJdFFOzfIRh+P1BosUWNpuK3QCoysZ7Irq2Mx 8K6w== X-Received: by 10.42.78.208 with SMTP id o16mr35093081ick.41.1418798401818; Tue, 16 Dec 2014 22:40:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.252.39 with HTTP; Tue, 16 Dec 2014 22:39:41 -0800 (PST) In-Reply-To: References: From: Alexander Lunev Date: Wed, 17 Dec 2014 10:39:41 +0400 Message-ID: Subject: Re: only lo0 interface inside jail, no default gw To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2014 06:40:02 -0000 On Wed, Dec 17, 2014 at 12:47 AM, Kevin Oberman wrote: > > On Tue, Dec 16, 2014 at 9:39 AM, Alexander Lunev wrote: > >> I have no default gateway in jail - why? What have i missed in this new >> jail implementation since 9.2-R? >> >> Crossposted to freebsd-jail@ >> >> > You lack a default route, so nothing will be reachable other than > 10.1.1.206 and 127.0.0.2. > Yes, I know that. The question is why? > I just learned today that the handbook has a very nice tutorial on jailing > BIND. It will probably save a lot of time if you check it out at > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html#jails-ezjail-example-bind > > As the handbook makes obvious, you really will find it a lot easier if you > use ezjail. It massively simplified working with jails. > I know about ezjail, and until now i was able to do jails without it, and from 6.4-R till 9.2-R it just works. Why it's not in 10.1-R? -- your sweet isn't ready yet