Date: Wed, 30 Nov 2011 18:33:58 +0100 From: bsd <bsd@todoo.biz> To: masayoshi <rockstar01@y7mail.com> Subject: Re: Problem with jail network Message-ID: <7385ED29-EB13-4D7F-8ECA-832AADFA3883@todoo.biz> Resent-Message-ID: <20111130173440.D201678C62@newmail.rmm.fr> In-Reply-To: <1322671555.30964.YahooMailNeo@web122216.mail.ne1.yahoo.com> References: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> <1322671555.30964.YahooMailNeo@web122216.mail.ne1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 30 nov. 2011 ΰ 17:45, masayoshi a ιcrit : > > ----- Original Message ----- >> From: bsd <bsd@todoo.biz> >> To: Liste FreeBSD <freebsd-questions@freebsd.org> >> Cc: >> Sent: Thursday, 1 December 2011 1:05 AM >> Subject: Problem with jail network >> >> 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 ! >> > > It might be wrong information. >_> > Perhaps you might setup /etc/resolv.conf in Jail? > > http://www.cyberciti.biz/faq/freebsd-mount_nullf-usrports-inside-jail/ > root@master 18:27:21 ~ -> jls JID IP Address Hostname Path 1 1.2.3.4 n0.n.o /jail/j/ns0 root@master 18:27:25 ~ -> jexec 1 sh # more /etc/resolv.conf domain n.o nameserver 8.8.8.8 ---- n0# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C --- 8.8.8.8 ping statistics --- 13 packets transmitted, 0 packets received, 100.0% packet loss > > --- > Inexperienced FreeBSD user: Level 4 > masayoshi & Ayumi Kinoshita > http://tinyurl.com/63zg3op >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" ---------> Grιgory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7385ED29-EB13-4D7F-8ECA-832AADFA3883>
