From owner-freebsd-jail@FreeBSD.ORG Tue Feb 4 13:19:06 2014 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 936EEB3B for ; Tue, 4 Feb 2014 13:19:06 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 73CD51B41 for ; Tue, 4 Feb 2014 13:19:06 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WAfu5-0008S7-8A for freebsd-jail@freebsd.org; Tue, 04 Feb 2014 05:19:05 -0800 Date: Tue, 4 Feb 2014 05:19:05 -0800 (PST) From: Beeblebrox To: freebsd-jail@freebsd.org Message-ID: <1391519945225-5882902.post@n5.nabble.com> Subject: jail.conf setting - prevent alias removal on jail shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Feb 2014 13:19:06 -0000 I have two NIC's, re1 faces internal LAN. re1 also has a jail running on it for diskless clients (tftp, dhcp). IP assigned to re1 by /etc/rc.conf and jail.conf are same: ip4.addr = 192.168.2.1/24 A /32 subnet will break diskless clients and also prevents gatewaying of traffic from laptops connecting from internal LAN. My problem is if I stop the jail, jail script removes IP assigned by rc.conf (obviously). This breaks host gateway function for laptops on the LAN. Is there a setting for jail.conf that prevents removal of jail IP on jail shutdown? If not, the only alternative remaining is to move jail IP to 192.168.2.xx/24 (which I would rather not do). ----- FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS -- View this message in context: http://freebsd.1045724.n5.nabble.com/jail-conf-setting-prevent-alias-removal-on-jail-shutdown-tp5882902.html Sent from the freebsd-jail mailing list archive at Nabble.com.