Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2016 15:28:08 -0500
From:      "Dean E. Weimer" <dweimer@dweimer.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        owner-freebsd-questions@freebsd.org
Subject:   Re: Adding an IP address to a Running Jail
Message-ID:  <2fad8c3b97c5d95f9e8007a098de2579@dweimer.net>
In-Reply-To: <7616fe399e89e4e178915120edbcad23@dweimer.net>
References:  <7616fe399e89e4e178915120edbcad23@dweimer.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2fad8c3b97c5d95f9e8007a098de2579>