From owner-freebsd-questions@freebsd.org Fri Jun 10 20:28:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1924FAEF03E; Fri, 10 Jun 2016 20:28:11 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-188.static.stls.mo.charter.com [24.240.198.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E142B2675; Fri, 10 Jun 2016 20:28:10 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.local (localhost [10.9.5.2]) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPS id u5AKS8Ai080900 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 10 Jun 2016 15:28:09 -0500 (CDT) (envelope-from dweimer@dweimer.net) Received: (from www@localhost) by webmail.dweimer.local (8.15.2/8.15.2/Submit) id u5AKS8Cw080899; Fri, 10 Jun 2016 15:28:08 -0500 (CDT) (envelope-from dweimer@dweimer.net) X-Authentication-Warning: webmail.dweimer.local: www set sender to dweimer@dweimer.net using -f To: FreeBSD Questions Subject: Re: Adding an IP address to a Running Jail MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 10 Jun 2016 15:28:08 -0500 From: "Dean E. Weimer" Cc: owner-freebsd-questions@freebsd.org Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <7616fe399e89e4e178915120edbcad23@dweimer.net> References: <7616fe399e89e4e178915120edbcad23@dweimer.net> Message-ID: <2fad8c3b97c5d95f9e8007a098de2579@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.2.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 20:28:11 -0000 On 2016-06-10 2:27 pm, Dean E. Weimer wrote: > I already have multiple IPs on our reverse proxy server which is > running on a FreeBSD jail, and I know how to add them to the > configuration. I am working on a new project, and need to add another > IP. I have it in the configuration, but what I can't seem to figure > out how to add the IP to the jail without restarting it. > > So I am stuck until our maintenance window to complete the project, > unless someone out there can tell me how to do it if its even > possible. Of course I have other things that need done, and this > project doesn't have to be completed today, just thought it would be > nice to know going forward. I found my own answer, I did some searching and found the -m option for the jail command, and was able to add an IP to a jail on my test system. Think I am still going to wait on the production system and restart it, as I put a typo in the first time and dropped its original IP off on the test system. But now I know going forward if I have an urgent reason it can be done. -- Thanks, Dean E. Weimer http://www.dweimer.net/