Hello,
I am running true nas core 12-U6.1 and would like to install some jails running default packages like e.g. famp, plex and nextcloud.
The true nas system is connected to my network using a trunk carrying multiple vlans. The intention is as follows:
- one vlan connected to the true nas core application and
- one vlan per jail e.g.
- vlan10 => famp(1) running webserver for domain-A
- vlan20 => famp(2) running webserver for domain-B
- vlan30 => nextcloud
I need a strict vlan separation, so I think I need to use vnet.
I do not manage

Actual base situation is like this:
- the gateway for all vlans is a pfSense router
- the trunk is ix0
- I did define an interface for each vlan
- I did assign IP-addresses to the vlans intended for the truenas core application and
I did NOT assign IP-addresses to the vlans intended for the jails (or not yet present vm's)
Than I start creating jails by adding plugins:
- The first plugin I tried was famp. That failed (I do not remember the exact messages)
- the second try was Nextcloud and that worked
- after that I tried to install famp in an second jail ... which again failed.
- I did try plex ... same issue
Error: ^myJail^ had a failure Exception: RuntimeError Message: pkg error: - pkg-static: http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/meta.txz: No address record pkg-static: http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/packagesite.txz: No address record Please check your network Partial plugin destroyed
I tried to install nextcloud in an second jail, which ..... does fail as well .... perhaps for the same reason .... !!??
pfSense capture shows
11:08:03.416079 IP 192.168.110.10.35864 > 192.168.1.1.53: UDP, length 33
11:08:03.416167 IP 192.168.110.1.53 > 192.168.110.10.35864: UDP, length 74
11:08:03.417187 IP 192.168.110.10 > 192.168.110.1: ICMP 192.168.110.10 udp port 35864 unreachable, length 110
11:08:13.454390 IP 192.168.110.10.54738 > 192.168.1.1.53: UDP, length 39
11:08:13.454586 IP 192.168.110.1.53 > 192.168.110.10.54738: UDP, length 114
Decoded with wireshark
No. Time Source Destination Protocol Length Address Info
1 11:08:03,416079 192.168.110.10 192.168.1.1 DNS 75 6c:b3:11:09:07:48,6e:b3:11:b6:3f:ec Standard query 0xc357 A pkg.freebsd.org
No. Time Source Destination Protocol Length Address Info
2 11:08:03,416167 192.168.110.1 192.168.110.10 DNS 116 6e:b3:11:b6:3f:ec,6c:b3:11:09:07:48 Standard query response 0xc357 A pkg.freebsd.org CNAME pkgmir.geo.freebsd.org A 139.178.72.201
No. Time Source Destination Protocol Length Address Info
3 11:08:03,417187 192.168.110.10 192.168.110.1 ICMP 144 6c:b3:11:09:07:48,6e:b3:11:b6:3f:ec Destination unreachable (Port unreachable)
Note that 110.10 is the jail and 110.1 is the gateway
Also got a message like
Error: <some-jail> had a failure Exception: RuntimeError Message: Stopped <same-jail> due to VNET failure Partial plugin destroyed
In jail setup 'Basic Properties' I tried a couple of things but here an example for what I did for nextcloud
DHCP = NO (I define an fixed IP)
NAT = NO (NAT is a task for pfSense not for TrueNAS)
VNET = YES (vlan's should be 100% separated from each other)
Packet filter = NO (I am not sure, about if and why)
vnet_default_interface = vlan111:Nextcloud
ipv4 interface = vnet0 ipv4 address = 192.168.111.10 ipv4 NetMask = 32
So bottom line:
- I try to install multiple jails each connected to their own vlan
- the vlans are arriving via a trunk. The Gateways are on pfSense
- the problems seems to be related to the communication stack
- the first Nextcloud instance however .... using the same principles .... does work
So if someone could tell me what I am doing wrong .... It would be appreciated
Louis
I am running true nas core 12-U6.1 and would like to install some jails running default packages like e.g. famp, plex and nextcloud.
The true nas system is connected to my network using a trunk carrying multiple vlans. The intention is as follows:
- one vlan connected to the true nas core application and
- one vlan per jail e.g.
- vlan10 => famp(1) running webserver for domain-A
- vlan20 => famp(2) running webserver for domain-B
- vlan30 => nextcloud
I need a strict vlan separation, so I think I need to use vnet.
I do not manage
Actual base situation is like this:
- the gateway for all vlans is a pfSense router
- the trunk is ix0
- I did define an interface for each vlan
- I did assign IP-addresses to the vlans intended for the truenas core application and
I did NOT assign IP-addresses to the vlans intended for the jails (or not yet present vm's)
Than I start creating jails by adding plugins:
- The first plugin I tried was famp. That failed (I do not remember the exact messages)
- the second try was Nextcloud and that worked
- after that I tried to install famp in an second jail ... which again failed.
- I did try plex ... same issue
Error: ^myJail^ had a failure Exception: RuntimeError Message: pkg error: - pkg-static: http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/meta.txz: No address record pkg-static: http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/packagesite.txz: No address record Please check your network Partial plugin destroyed
I tried to install nextcloud in an second jail, which ..... does fail as well .... perhaps for the same reason .... !!??
pfSense capture shows
11:08:03.416079 IP 192.168.110.10.35864 > 192.168.1.1.53: UDP, length 33
11:08:03.416167 IP 192.168.110.1.53 > 192.168.110.10.35864: UDP, length 74
11:08:03.417187 IP 192.168.110.10 > 192.168.110.1: ICMP 192.168.110.10 udp port 35864 unreachable, length 110
11:08:13.454390 IP 192.168.110.10.54738 > 192.168.1.1.53: UDP, length 39
11:08:13.454586 IP 192.168.110.1.53 > 192.168.110.10.54738: UDP, length 114
Decoded with wireshark
No. Time Source Destination Protocol Length Address Info
1 11:08:03,416079 192.168.110.10 192.168.1.1 DNS 75 6c:b3:11:09:07:48,6e:b3:11:b6:3f:ec Standard query 0xc357 A pkg.freebsd.org
No. Time Source Destination Protocol Length Address Info
2 11:08:03,416167 192.168.110.1 192.168.110.10 DNS 116 6e:b3:11:b6:3f:ec,6c:b3:11:09:07:48 Standard query response 0xc357 A pkg.freebsd.org CNAME pkgmir.geo.freebsd.org A 139.178.72.201
No. Time Source Destination Protocol Length Address Info
3 11:08:03,417187 192.168.110.10 192.168.110.1 ICMP 144 6c:b3:11:09:07:48,6e:b3:11:b6:3f:ec Destination unreachable (Port unreachable)
Note that 110.10 is the jail and 110.1 is the gateway
Also got a message like
Error: <some-jail> had a failure Exception: RuntimeError Message: Stopped <same-jail> due to VNET failure Partial plugin destroyed
In jail setup 'Basic Properties' I tried a couple of things but here an example for what I did for nextcloud
DHCP = NO (I define an fixed IP)
NAT = NO (NAT is a task for pfSense not for TrueNAS)
VNET = YES (vlan's should be 100% separated from each other)
Packet filter = NO (I am not sure, about if and why)
vnet_default_interface = vlan111:Nextcloud
ipv4 interface = vnet0 ipv4 address = 192.168.111.10 ipv4 NetMask = 32
So bottom line:
- I try to install multiple jails each connected to their own vlan
- the vlans are arriving via a trunk. The Gateways are on pfSense
- the problems seems to be related to the communication stack
- the first Nextcloud instance however .... using the same principles .... does work
So if someone could tell me what I am doing wrong .... It would be appreciated
Louis