VIMAGE in different subnet to primary interface

Status
Not open for further replies.

Daemonic

Cadet
Joined
Aug 26, 2014
Messages
7
Hi,

I have router that has a public subnet which is in turn allocated to several machines, including my freenas box. I then run several different private subnets on the inside of the router which i can then use DNAT/SNAT on the public ips, to direct all/certain ports to differing hosts in the private space. E.g;

Router ip's;
- Public : 194.aaa.bbb.1/27
- Private : 192.168.50.1/24, 192.168.100.1/24, etc
FreeNAS ip's;
- Public : 194.aaa.bbb.17/27
- Private : 192.168.50.17/24

I installed a plugin jail, but wanted to keep the subnet seperate to everything else, so the jail configuration is set to user 192.168.100.0/24 and dish out ips in the range 192.168.100.100 - 192.168.100.200.

The plugin jail has been created as a VIMAGE (as its a seperate subnet from the primary network) and has the first allocated ip of 192.168.100.100, ive also added the default gateway of the router (192.168.100.1).

This has been working fine for a couple of weeks (im pretty sure i havent missed any steps out of my original config), as we have been using plex from this jail.

Today this all stopped working, where i am at the moment is as follows;
- From the router, i cant ping the jail ip of 192.168.100.100
- From the jail, i cant ping the router ip of 192.168.100.1, nor 194.aaa.bbb.1
- From the FreeNAS box, i can ping the router on 192.168.100.1, but not the jail on 192.168.100.100.

It would seem that i am now missing something between the bridge and the VIMAGE epair?

Any pointers/help are gratefully received. I can provide netstat's, ifconfig's, etc if required.
 

Daemonic

Cadet
Joined
Aug 26, 2014
Messages
7
In addition to the above, i have created a new jail, with crashplan installed as a test, this has been allocated an ip of 192.168.100.101, with the same gateway of 192.168.100.1, and everything works for this jail.

The `netstat -rn` are identical for both jails. So surely both should work the same?
 

Daemonic

Cadet
Joined
Aug 26, 2014
Messages
7
No, unfortunately not. I managed to backup all of my plugin information, and then removed the plugins and the jail altogether.

I recreated the jail on the same ip and still had the same issue. So then tried a new jail on another ip, and all was fine. Something went wrong somewhere. Weird thing is all the netstat/ifconfig/etc are all as i would expect them to be on both the non working ip and the new working ip.
 
Status
Not open for further replies.
Top