Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Dec 2011 09:38:35 +0100
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        bsd <bsd@todoo.biz>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Problem with jail network
Message-ID:  <4ED73D0B.8020509@gmail.com>
In-Reply-To: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz>
References:  <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4ED73D0B.8020509>