Tokolozi
Cadet
- Joined
- Jan 29, 2020
- Messages
- 8
So Quite a new user in the whole FreeNAS situation, but in trying to setup a jail for my plex media server I always run into the same issues described below.
Build(based on stuff I had lying around)
MoBo: MSI Z77 Mpower
CPU: i7 3770k
RAM: 32GB
NIC: built-in realtek (for the time being)
HDD's: 3x8TB in ZFS
OS: FreeNAS-11.2-U7
(Build Date: Nov 19, 2019 0:4)
Host IP: 192.168.0.40/24 (fixed)
Gateway: 192.168.0.1
DNS Set:
1.1.1.1
8.8.8.8
8.8.4.4
Issue(s)
So in trying to set up a plex media server I ran into some issues. I've been through about every thread I could find on the topic but could not find a solution that worked in my case.
Issue 1:
Set up a PMS using using the video guide on the IX systems YT channel.
- Server would launch in browser
- Could configure settings
- Could not fetch metadata
- Could not play media that needed encoding
> Read that enabling VNET solves issues described above. in came issue 2
Issue 2:
Deleted initial jail and started a new jail via GUI, with "correct" VNET settings but could not launch in browser.
So decided to start via SHH and CLI to make a new jail from scratch, thinking the GUI might have caused a glitch. With No avail:
After trying several times, reading several forum posts (here, on plex, FreeBSD help.... basically everywhere) I've run into a dead end with the following issues.
- Host can ping internet
-Jails cannot ping anything, not even host
To host:
To internet:
At this point it points to a wrong network interface or bridging, so the ifconfigs here:
HOST:
JAIL:
maybe my gateways aren't correct I believed:
HOST
JAIL
So I thought maybe if I enable DHCP this would solve some things.... NOPE just get an error and the jail won't start.
Long story short. I need help...
If there is anything blatantly obvious I missed please yell at me.
But I just can't seem to get this Jail with VNET (needed for plex) running on the server. Which is sad, since that's the main purpose of this build.
Build(based on stuff I had lying around)
MoBo: MSI Z77 Mpower
CPU: i7 3770k
RAM: 32GB
NIC: built-in realtek (for the time being)
HDD's: 3x8TB in ZFS
OS: FreeNAS-11.2-U7
(Build Date: Nov 19, 2019 0:4)
Host IP: 192.168.0.40/24 (fixed)
Gateway: 192.168.0.1
DNS Set:
1.1.1.1
8.8.8.8
8.8.4.4
Issue(s)
So in trying to set up a plex media server I ran into some issues. I've been through about every thread I could find on the topic but could not find a solution that worked in my case.
Issue 1:
Set up a PMS using using the video guide on the IX systems YT channel.
- Server would launch in browser
- Could configure settings
- Could not fetch metadata
- Could not play media that needed encoding
> Read that enabling VNET solves issues described above. in came issue 2
Issue 2:
Deleted initial jail and started a new jail via GUI, with "correct" VNET settings but could not launch in browser.
So decided to start via SHH and CLI to make a new jail from scratch, thinking the GUI might have caused a glitch. With No avail:
Code:
iocage create -n "plexjail" -r 11.2-RELEASE ip4_addr="vnet0|192.168.0.41/24" defaultrouter="192.168.0.1" vnet="on" allow_raw_sockets="1" boot="on"
After trying several times, reading several forum posts (here, on plex, FreeBSD help.... basically everywhere) I've run into a dead end with the following issues.
- Host can ping internet
Code:
root@HiveMind[~]# ping google.com PING google.com (172.217.168.206): 56 data bytes 64 bytes from 172.217.168.206: icmp_seq=0 ttl=56 time=17.696 ms 64 bytes from 172.217.168.206: icmp_seq=1 ttl=56 time=24.759 ms 64 bytes from 172.217.168.206: icmp_seq=2 ttl=56 time=15.534 ms 64 bytes from 172.217.168.206: icmp_seq=3 ttl=56 time=14.270 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 14.270/18.065/24.759/4.054 ms
-Jails cannot ping anything, not even host
To host:
Code:
root@plexjail:/ # ping 192.168.0.40 PING 192.168.0.40 (192.168.0.40): 56 data bytes ping: sendto: Host is down ping: sendto: Host is down ^C --- 192.168.0.40 ping statistics --- 7 packets transmitted, 0 packets received, 100.0% packet loss
To internet:
Code:
root@plexjail:/ # ping google.com ping: cannot resolve google.com: Host name lookup failure
At this point it points to a wrong network interface or bridging, so the ifconfigs here:
HOST:
Code:
root@HiveMind[~]# ifconfig re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=82099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> ether d4:3d:7e:4c:ac:0c hwaddr d4:3d:7e:4c:ac:0c inet 192.168.0.40 netmask 0xffffff00 broadcast 192.168.0.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=600003<RXCSUM,TXCSUM,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:3b:15:a5:81: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:4 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 4 priority 128 path cost 2000 member: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 vnet0:4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 description: associated with jail: plexjail as nic: epair0b options=8<VLAN_MTU> ether 01:5d:f6:b4:ff:07 hwaddr 02:7e:d0:00:04:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
JAIL:
Code:
root@plexjail:/ # ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,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 01:5d:f6:b4:ff:08 hwaddr 02:7e:d0:00:05:0b inet 192.168.0.41 netmask 0xffffff00 broadcast 192.168.0.255 nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
maybe my gateways aren't correct I believed:
HOST
Code:
root@HiveMind[~]# cat /etc/resolv.conf # Generated by resolvconf search local nameserver 1.1.1.1 nameserver 8.8.8.8 nameserver 8.8.4.4
JAIL
Code:
root@plexjail:/ # cat /etc/resolv.conf # Generated by resolvconf search local nameserver 1.1.1.1 nameserver 8.8.8.8 nameserver 8.8.4.4
So I thought maybe if I enable DHCP this would solve some things.... NOPE just get an error and the jail won't start.
Long story short. I need help...
If there is anything blatantly obvious I missed please yell at me.
But I just can't seem to get this Jail with VNET (needed for plex) running on the server. Which is sad, since that's the main purpose of this build.