/etc/rc.d/jail script

Fbsd8 fbsd8 at a1poweruser.com
Wed Jan 30 00:34:47 UTC 2013


Fbsd8 wrote:
> I have noticed that the /etc/rc.d/jail script
> will not start a jail that has the same ip address
> as a jail that is already running.
> 
> But if I define 2 jails the manual way in rc.conf that
> have the same ip address they will start.
> 
> So is this a bug in the "jail" script or is there some
> reason for this restriction?
> 
> 

On deeper inspection of the /etc/rc.d/jail script,
it seems the above only occurs if one or more jails are
assigned the same ip address and one or more of the jails
bound the shared ip address to a NIC device name. IE the
auto creation and deletion of ip address aliases.


More information about the freebsd-questions mailing list