Problem with jail network

Johan Hendriks joh.hendriks at gmail.com
Thu Dec 1 08:38:46 UTC 2011


bsd schreef:
> 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.
>
>

Does your jail knows how to reach the router, or for that matter your 
host sytem.
What does a traceroute do.
You need to set some sysctl values to be able to ping or trace route 
from within a jail.

regards,
Johan Hendriks



More information about the freebsd-questions mailing list