Today we created a jail on our FreeNAS Server to compile a driver.
By default the jail got a IP Address from our management network and there was no GUI option to change the network interface.
We did the following:
1. Stop the jail.
2. SSH to FreeNAS server.
3. cd to /mnt/<dataset>/jails/.<jailname>
4. echo <interfacename> > iface
5. echo “<ipofgateway>” > defaultrouter-ipv4
6. warden start <jailname>