jail(8) vimage epair bridge

Joe fbsd8 at a1poweruser.com
Wed Apr 24 20:07:38 UTC 2013


Anders Hagman wrote:
> Hi
> 
> 23 apr 2013 kl. 15:14 skrev Joe <fbsd8 at a1poweruser.com>:
> 
>> Hello list
>>
>> I am using jail(8) trying to get a functional vimage environment on my
>> 9.1-RELEASE system. My PC only has a single real NIC facing the public
>> internet.
>>
>> My goal is to be able to have multiple vimage jails, each with
>> their own epairXa epairXb and bridgeX where the "X" is the jails JID
>> number all having their traffic passing through the single rl0 real
>> interface. The vnet.start script shown below handles this nicely.
>>
>> The problem is after the first vimage jail is started the rl0 interface
>> gets marked as busy when the second vimage jail is started.
>>
> You don't need more the one bridge.
> Connect all epairXa and the rl0 interface to the bridge. Put the epairXb in the right jail.
> 
> If you want separation. Create vlan interfaces. 
 > Connect them to rl0 and put them inside the jail.
> 

Hello Anders;

Now that I have an bridge, epair solution,
I would like to learn the vlan method you spoke about.
Would you please provide some details about how it could be done.
I have never used vlan before.

Thanks for your help.


More information about the freebsd-jail mailing list