change jail IP

anyone know how to change an IP for a jail? I have moved the server to a new subnet and i'm not sure how to change the ip since it was specified using ezjail-admin when i intially created the jail.

thanks
 
Just change the IP address of the jail in /etc/rc.conf. That should do it.
 
Also: you will need to update any daemon configurations within the jail that expect to bind to the (new) IP.
 
i have aliases set on the interfaces in /etc/rc.conf and i changed them accordingly but when i
Code:
ezjail-admin console HOSTNAME
and then look in /etc/rc.conf an ip never gets assigned. those aliases are just getting pointed the host server.
 
have a look at the ezjail configurations at /usr/local/etc/ezjail.
 
Back
Top