Unable To Access Internet Within FreeNAS Jail

NAS777

Dabbler
Joined
Feb 15, 2017
Messages
28
Hello I am trying to get internet to a plex jail.

Code:
iocage console plxjail



Code:
root@plxjail:/ # 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 0c:c4:7a:1f:ae:87
        hwaddr 02:95:d0:00:06:0b
        inet 172.16.1.20 netmask 0xffff0000 broadcast 172.16.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
root@plxjail:/ #



Code:
root@freenas[~]# ping www.google.com
PING www.google.com (216.58.193.132): 56 data bytes
^C
--- www.google.com ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss


The router/firewall is wide open. How can I trouble shoot this? is the problem in epair0b where it has inet 0.0.0.0?

Thanks in advance for any help you can give
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Strange how you have two inet configured. Should probably only have 1. Can you ping your gateway?
 

NAS777

Dabbler
Joined
Feb 15, 2017
Messages
28
Thank you for your reply. I used the gui to configure the jail for plex. How do I remove the 0.0.0.0 address? On openbsd it is in /etc/hostname.xx#
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
No clue, you shouldn't have to do anything to a jail. Just create it with default options, maybe check the DHCP box of you want, it then pkg install Plex. If you did anything more that you did something wrong. Delete it and start over
 

NAS777

Dabbler
Joined
Feb 15, 2017
Messages
28
normal static config is stored on freebsd in /etc/rc.conf but that is not the case here. Maybe its different in a jail /vnet

from the jail
I can ping the gateway
I cannot ping google

Code:
root@plxjail:~ # netstat -m
4099/2996/7095 mbufs in use (current/cache/total)
4092/1484/5576/4081706 mbuf clusters in use (current/cache/total/max)
4092/1474 mbuf+clusters out of packet secondary zone in use (current/cache)
0/43/43/2040852 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/604697 9k jumbo clusters in use (current/cache/total/max)
0/0/0/340142 16k jumbo clusters in use (current/cache/total/max)
9208K/3889K/13097K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
 
Last edited:
Top