Can't access plugin jail IP

Status
Not open for further replies.

xRichard

Cadet
Joined
Jul 26, 2012
Messages
2
After having installed the plugin jail according to the guides, i have installed multiple plugins like SabNZBD, Couchpotato and SickBeard.
The plugin service is configured to listen to: 192.168.1.13
The FreeNAS itself is running on: 192.168.1.2
My router has the following IP: 192.168.1.1
The subnet for all 3 is /24 (255.255.255.0)

All of this runs on a ESXi 5 machine.

When trying to open the different websites for couchpotato, sab, etc it refuses to open. It just gives a time-out after x amount of seconds.
When trying to ping from my desktop or a other machine except the freenas machine to the jail IP it gives a time-out on it. Yes a time-out and not
a host is not reachable error.
Which means the network does know the jail IP is active somewhere. But somehow can't access it.

reinstalled the jail already multiple times, updated FreeNAS to the most recent beta. Nothing seems to work.
Trying to ping from the jail to the freenas works, and from freenas to jail as well.
Except for that the jail can't be accessed or pinged from a different machine. And the jail can't ping to other machines either.

Somehow i think the jail enviroment has issues getting access to the gateway but can't seem to figure out where to fix that.

ifconfig -a
Code:
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
        ether 00:0c:29:41:3c:11
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:44:52:f7:8b:00
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:1a:93:00:04:0a
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active


netstat -nr
Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.1        UGS         0       22    em0
127.0.0.1          link#2             UH          0      767    lo0
192.168.1.0/24     link#1             U           0      414    em0
192.168.1.2        link#1             UHS         0       57    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0
::1                               link#2                        UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
fe80::%lo0/64                     link#2                        U           lo0
fe80::1%lo0                       link#2                        UHS         lo0
ff01::%lo0/32                     fe80::1%lo0                   U           lo0
ff02::%lo0/32                     fe80::1%lo0                   U           lo0


jexec 1 ifconfig -a
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:1a:93:00:05:0b
        inet 192.168.1.13 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::1a:93ff:fe00:50b%epair0b prefixlen 64 scopeid 0x2
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active


Code:
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
ping: sendto: No route to host
 

xRichard

Cadet
Joined
Jul 26, 2012
Messages
2
Okay i knew it had to be something simple, but this simple was just not fun.

But it's fixed now.

Thanks! :)
 

MartyB

Cadet
Joined
Apr 25, 2014
Messages
2
Hi there,

Same problem but with Virtual Box and FreeNAS. After seeing the message above I was so relived and changed Virtual Box's "Promiscuous Mode" from "Deny" to "Allow All" and later "Allow VM" but still no luck for me.

Can anybody please help me?

I hve included below the same info as what xRichard provided before
Code:
Jail to gateway ping
root@plexmediaserver_1:/ # ping 192.168.0.1                               
PING 192.168.0.1 (192.168.0.1): 56 data bytes                             
64 bytes from 192.168.0.1: icmp_seq=0 ttl=63 time=0.710 ms                 
64 bytes from 192.168.0.1: icmp_seq=1 ttl=63 time=1.954 ms                 
64 bytes from 192.168.0.1: icmp_seq=2 ttl=63 time=1.105 ms                 
64 bytes from 192.168.0.1: icmp_seq=3 ttl=63 time=1.594 ms                 
^C                                                                         
--- 192.168.0.1 ping statistics ---                                       
4 packets transmitted, 4 packets received, 0.0% packet loss               
round-trip min/avg/max/stddev = 0.710/1.341/1.954/0.473 ms  


Code:
Jail to FreeNas in Virtual Box
root@plexmediaserver_1:/ # ping 192.168.0.96                               
PING 192.168.0.96 (192.168.0.96): 56 data bytes                           
64 bytes from 192.168.0.96: icmp_seq=0 ttl=64 time=0.176 ms               
64 bytes from 192.168.0.96: icmp_seq=1 ttl=64 time=0.155 ms               
64 bytes from 192.168.0.96: icmp_seq=2 ttl=64 time=0.140 ms               
64 bytes from 192.168.0.96: icmp_seq=3 ttl=64 time=1.047 ms               
^C                                                                         
--- 192.168.0.96 ping statistics ---                                       
4 packets transmitted, 4 packets received, 0.0% packet loss               
round-trip min/avg/max/stddev = 0.140/0.379/1.047/0.386 ms                 
root@plexmediaserver_1:/ #


Code:
FreeNAS VM to Default Gateway
PING 192.168.0.1 (192.168.0.1): 56 data bytes                             
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=0.981 ms                 
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.534 ms                 
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.380 ms                 
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.943 ms                 
^C                                                                         
--- 192.168.0.1 ping statistics ---                                       
4 packets transmitted, 4 packets received, 0.0% packet loss               
round-trip min/avg/max/stddev = 0.380/0.710/0.981/0.259 ms                 
[root@fn9 ~]# ping 192.168.0.200  


Code:
FreeNAS to Jail
PING 192.168.0.200 (192.168.0.200): 56 data bytes                         
64 bytes from 192.168.0.200: icmp_seq=0 ttl=64 time=0.586 ms               
64 bytes from 192.168.0.200: icmp_seq=1 ttl=64 time=0.165 ms               
64 bytes from 192.168.0.200: icmp_seq=2 ttl=64 time=0.112 ms               
64 bytes from 192.168.0.200: icmp_seq=3 ttl=64 time=0.275 ms               
^C                                                                         
--- 192.168.0.200 ping statistics ---                                     
4 packets transmitted, 4 packets received, 0.0% packet loss               
round-trip min/avg/max/stddev = 0.112/0.284/0.586/0.184 ms                 
[root@fn9 ~]#


Code:
FreeNAS Ifconfig -a
[root@fn9 ~]# ifconfig -a                                                 
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 150
0                                                                         
        options=98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>                   
        ether 08:00:27:59:5f:df                                           
        inet 192.168.0.96 netmask 0xffffff00 broadcast 192.168.0.255       
        nd6 options=9<PERFORMNUD,IFDISABLED>                               
        media: Ethernet autoselect (1000baseT <full-duplex>)               
        status: active                                                     
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536                 
        nd6 options=9<PERFORMNUD,IFDISABLED>                               
lo0: flags=8049<UP,LOOPBACK,RUNNING,M


Code:
FreeNAS netstat -nr
 
[root@fn9 ~]# netstat -nr                                                                                                     
Routing tables                                                                                                                 
                                                                                                                               
Internet:                                                                                                                     
Destination        Gateway            Flags    Refs      Use  Netif Expire                                                     
default            192.168.0.1        UGS        0      624    em0                                                           
127.0.0.1          link#5            UH          0    21556    lo0                                                           
192.168.0.0/24    link#1            U          0    4795    em0                                                           
192.168.0.96      link#1            UHS        0      55    lo0                                                           
192.168.0.254      link#6            UHS        0        0    lo0                                                           
                                                                                                                               
Internet6:                                                                                                                     
Destination                      Gateway                      Flags      Netif Expire                                       
::/96                            ::1                          UGRS        lo0                                               
::1                              link#5                        UH          lo0                                               
::ffff:0.0.0.0/96                ::1                          UGRS        lo0                                               
fe80::/10                        ::1                          UGRS        lo0                                               
fe80::%lo0/64                    link#5                        U          lo0                                               
fe80::1%lo0                      link#5                        UHS        lo0                                               
ff01::%lo0/32                    ::1                          U          lo0                                               
ff02::/16                        ::1                          UGRS        lo0                                               
ff02::%lo0/32                    ::1                          U          lo0                                               
[root@fn9 ~]#  


Code:
jail Ifconfig -a
 
root@plexmediaserver_1:/ # ifconfig -a                                                                                         
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>                                                                             
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500                                                 
        options=8<VLAN_MTU>                                                                                                   
        ether 02:59:c1:00:08:0b                                                                                               
        inet 192.168.0.200 netmask 0xffffff00 broadcast 192.168.0.255                                                         
        nd6 options=9<PERFORMNUD,IFDISABLED>                                                                                   
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)                                                                   
        status: active    



Code:
jail netstat -nr
 
root@plexmediaserver_1:/ # netstat -nr                                                                                         
Routing tables                                                                                                                 
                                                                                                                               
Internet:                                                                                                                     
Destination        Gateway            Flags    Refs      Use  Netif Expire                                                     
default            192.168.0.96      UGS        0      522 epair0                                                           
127.0.0.1          link#1            UH          0      442    lo0                                                           
192.168.0.0/24    link#2            U          0      943 epair0                                                           
192.168.0.200      link#2            UHS        0      166    lo0                                                           
                                                                                                                               
Internet6:                                                                                                                     
Destination                      Gateway                      Flags      Netif Expire                                       
::/96                            ::1                          UGRS        lo0                                               
::1                              link#1                        UH          lo0                                               
::ffff:0.0.0.0/96                ::1                          UGRS        lo0                                               
fe80::/10                        ::1                          UGRS        lo0                                               
fe80::%lo0/64                    link#1                        U          lo0                                               
fe80::1%lo0                      link#1                        UHS        lo0                                               
ff01::%lo0/32                    ::1                          U          lo0                                               
ff02::/16                        ::1                          UGRS        lo0                                               
ff02::%lo0/32                    ::1                          U          lo0                                               
root@plexmediaserver_1:/ #                                                                                                          



Thank you very much.
 
Status
Not open for further replies.
Top