I have been trying to create a Jail with a network segment different from the default network segment. My network looks like this
The issue that I am facing is that the Jail cannot communicate anywhere outside. It can ping its own IP address but nothing else. What I have noticed is that the vnet0 associated with the Jail nic epair0b is assigned the interface oce0 whereas it should ideally be assigned em0 which is connected to the DMZ switch. I have found no configuration which will force epair0b to use the em0 interface. Due to this the Jail is practically useless. Does anyone have any suggestion what should be the configuration for this to work. I have already tried adding vnet0.bridge13 to the interfaces in network properties and set the default interface for the Vnet to none as suggested elsewhere.
The issue that I am facing is that the Jail cannot communicate anywhere outside. It can ping its own IP address but nothing else. What I have noticed is that the vnet0 associated with the Jail nic epair0b is assigned the interface oce0 whereas it should ideally be assigned em0 which is connected to the DMZ switch. I have found no configuration which will force epair0b to use the em0 interface. Due to this the Jail is practically useless. Does anyone have any suggestion what should be the configuration for this to work. I have already tried adding vnet0.bridge13 to the interfaces in network properties and set the default interface for the Vnet to none as suggested elsewhere.