Using FreeBSD 10-RELEASE, when following the jail(8) jail.conf example, it causes the host to lose network when starting the jail.
The host is using one static IP address on the same interface as is passed to the jail.
After removing the interface option, everything works fine. It does not seem to be required.
Is this expected behaviour? If so, shouldn't this be removed from the example to avoid mistakes?
First time I try out the jail.conf method, luckily on a local machine P
Code:
testjail {
path = /tmp/jail/testjail;
mount.devfs;
host.hostname = testhostname;
ip4.addr = 192.0.2.100;
interface = ed0;
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
}
The host is using one static IP address on the same interface as is passed to the jail.
After removing the interface option, everything works fine. It does not seem to be required.
Is this expected behaviour? If so, shouldn't this be removed from the example to avoid mistakes?
First time I try out the jail.conf method, luckily on a local machine P