Problem with jail network

Fbsd8 fbsd8 at a1poweruser.com
Thu Dec 1 02:49:43 UTC 2011


bsd wrote:
> Hi, 
> 
> I have been configuring a jail system using the howto provided here : http://www.freebsd.org/doc/handbook/jails-application.html
> 
> The is now correctly starting, but I can't seem to use the network stack. 
> 
> 
>> root at master 16:52:55 ~ -> jls
>> JID  IP Address      Hostname                      Path
>>   1  xx.216.yy.150  n0.no.no                    /jail/j/n0
> 
> 
> But I can't ping neither outside of the jail, nor inside of It. 
> 
> I am a bit confused because I don't know if I have to configure the IP using an alias on the main Eth interface, or do something else. 
> 
>> ifconfig_bce0_alias0="inetxx.216.yy.150/32"
> 
> 
> 
> This last command seems to have frozen my system. 
> 
> 
> Since I can't reach the network, I can't install ports either… ! 
> 
> 
> Thanks for your help. 
> 

Best you use the qjail port to create your jails. The documentation is 
much better in qjail.


More information about the freebsd-questions mailing list