SOLVED Configuring VNET FAILED

cymatic

Cadet
Joined
Feb 17, 2019
Messages
4
Hi there,

I'm currently trying to set up a NextCloud server and, while I'm setting up the iocage, I receive an error regarding the vnet0 interface. I've initialised a nextcloud jail with the following command: iocage create -n nextcloud -r 11.2-RELEASE ip4_addr="vnet0|192.168.0.21/24" vnet="on" allow_raw_sockets="1" boot="on".
Everything seems to be fine up until nextcloud is attempted to be started. I get the following error:
* Starting nextcloud
+ Started OK
+ Configuring VNET FAILED
route: bad address: none

I've gone through a couple of forums where people have had somewhat similar problems, albeit with Plex and not ownCloud or NextCloud, but they've been for 11.1 or below and haven't worked for myself.
What could be the issue here? Any help is appreciated

Cheers in advance
 

cymatic

Cadet
Joined
Feb 17, 2019
Messages
4
UPDATE: Upon further inspection of my settings, I had completely forgotten to declare defaultrouter="192.168.0.1" and once I had deleted and reinitialised the jail, all seems to be working as it should. Maybe I should choose sleep over jail configuration
 
Top