SOLVED Manually Setting Up Iocage Network

Status
Not open for further replies.

Chris Dill

Contributor
Joined
Jan 1, 2014
Messages
116
I am following this guide: https://forums.sickrage.ca/t/how-to-install-on-freenas/19

However, I keep having networking setup issues after the fact, and during the fact. Can someone assist me in setting up the network correctly? I am assuming we would modify this command:

iocage create -n "sickrage" -p /tmp/pkg.json -r 11.1-RELEASE dhcp=on bpf=yes vnet="on" devfs_ruleset=5 interfaces=vnet0:bridge0 host_hostname=sickrage allow_raw_sockets="1" boot="on"
rm /tmp/pkg.json

My network is 192.168.2.0/24
Freenas box is 192.168.2.150
Gateway is 192.168.2.1
DNS is 192.168.2.254
This jail will have its own static IP of 192.168.2.2

The jail needs to be able to reach the internet, the host FreeNAS IP, its own IP, etc. Been trying to 2 hours to get this working.
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
try assigning the ip, either when you create it or when its powered off
iocage create -n "sickrage" bpf=yes vnet="on" devfs_ruleset=5 ip4_addr=vnet0|192.168.2.2/24 interfaces=vnet0:bridge0 boot="on"
or
iocage set ip4_addr=vnet0|192.168.2.2/24 sickrage
 

Chris Dill

Contributor
Joined
Jan 1, 2014
Messages
116
That still did not work, no default route- and when I added it on iocage creation it still did not work. But, I switched to Sonarr, so this is a non-issue. Thanks!
 
Status
Not open for further replies.
Top