Hello everyone,
I've had a FreeNAS instance up and running for a few months without any issues, and was running a single plugin (plex) on it. The plugin stopped working after I upgraded to FreeNAS-11.3-U2.1 - it happens. Despite my best efforts, I was never able to bring it back up and ended up deleting it in order to re-install it from scratch, which didn't work either. After trying out various network configurations and struggling with the various error messages, I ended up trying to do the setup manually using danb35's script. This also didn't work, as it turned out that the jail was unable to resolve "pkg.freebsd.org" during the installation process. Investigating further, I created a simple iocage and realized that I had zero connectivity inside of it. I'm fairly experienced with Debian-based systems, but not so much with FreeBSD and simply can't figure out what is going on here - there's an obvious networking problem but it eludes me and I'd appreciate any help in solving it.
I'm assuming that the various failure messages I got during the plugin installation are, one way or another, related to the iocage not being able to access the network.
I'm running FreeNAS on a VM with 8 GB of RAM, over a home-ESX that has two Intel(R) Xeon(R) CPU E5-2609 v4 @ 1.70GHz and over 140 GB of RAM. Everything takes place in a VLAN using 10.12.0.0/16 address space:
If I set up a jail to use DHCP, the following error happens on startup (and the jail doesn't start):
If I set a static IP (10.12.100.4) the jail starts, can ping 10.12.100.3 properly but nothing else (in particular, not the gateway). From the FreeNAS machine, I can ping machines from the network (including the gateway) without any problem. Here is the output of ifconfig for FreeNAS and also from the jail:
Does anyone see an issue with this?
Thanks in advance for your help.
I've had a FreeNAS instance up and running for a few months without any issues, and was running a single plugin (plex) on it. The plugin stopped working after I upgraded to FreeNAS-11.3-U2.1 - it happens. Despite my best efforts, I was never able to bring it back up and ended up deleting it in order to re-install it from scratch, which didn't work either. After trying out various network configurations and struggling with the various error messages, I ended up trying to do the setup manually using danb35's script. This also didn't work, as it turned out that the jail was unable to resolve "pkg.freebsd.org" during the installation process. Investigating further, I created a simple iocage and realized that I had zero connectivity inside of it. I'm fairly experienced with Debian-based systems, but not so much with FreeBSD and simply can't figure out what is going on here - there's an obvious networking problem but it eludes me and I'd appreciate any help in solving it.
I'm assuming that the various failure messages I got during the plugin installation are, one way or another, related to the iocage not being able to access the network.
I'm running FreeNAS on a VM with 8 GB of RAM, over a home-ESX that has two Intel(R) Xeon(R) CPU E5-2609 v4 @ 1.70GHz and over 140 GB of RAM. Everything takes place in a VLAN using 10.12.0.0/16 address space:
Code:
Gateway: 10.12.0.1 (also a DHCP and DNS server) FreeNAS: 10.12.100.3 Jail: 10.12.100.4
If I set up a jail to use DHCP, the following error happens on startup (and the jail doesn't start):
Code:
Error: [EFAULT] + Acquiring DHCP address: FAILED, address received: 0.0.0.0/8 Stopped DHCP_TEST due to DHCP failure CLOSE
If I set a static IP (10.12.100.4) the jail starts, can ping 10.12.100.3 properly but nothing else (in particular, not the gateway). From the FreeNAS machine, I can ping machines from the network (including the gateway) without any problem. Here is the output of ifconfig for FreeNAS and also from the jail:
Code:
root@freenas[~/]# ifconfig em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: em0 options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM> ether 00:0c:29:a1:f5:95 hwaddr 00:0c:29:a1:f5:95 inet 10.12.100.3 netmask 0xffff0000 broadcast 10.12.255.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:99:dc:dc:c8:00 nd6 options=1<PERFORMNUD> groups: bridge id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: vnet0.9 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 4 priority 128 path cost 2000 member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 vnet0.9: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: plexmediaserver as nic: epair0b options=8<VLAN_MTU> ether 00:0c:29:3d:6b:aa hwaddr 02:3d:d0:00:04:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
Code:
root@plexmediaserver:~ # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 00:0c:29:3d:6b:ab hwaddr 02:a1:5c:00:05:0b inet 10.12.100.4 netmask 0xffff0000 broadcast 10.12.255.255 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
Does anyone see an issue with this?
Thanks in advance for your help.
Last edited: