From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 13:27:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29B11065672 for ; Tue, 14 Sep 2010 13:27:55 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6CBD08FC16 for ; Tue, 14 Sep 2010 13:27:55 +0000 (UTC) Received: by wwb18 with SMTP id 18so8917914wwb.31 for ; Tue, 14 Sep 2010 06:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=KjA3UxS+m/1VpIb5GubOACshY8DAZS5YWbB9K0ITs6I=; b=KsAOzv37URlGGWEbq0+kh8ygpYA+PJ9Kq5++uhsKS9onjRJ1AlhtoaNmZ/zXC1TMmb S0LeIKsAec9WXuqsjYwoAoAphpd9EE++6K8yR2m7D4AJS+0RRcjTrhDbN6gZ0XHK6tgi m21jpUUwcMxsPHVmtc9ovRWJqFcinULXlv3wk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Iv09gl6YhlSZdxjQpu1D2IrWf2up2NNEUaj+VNrc8f+InOQFUdXFrPaue1TzkmdJNd P/2jA8X11hMhD7uhLt0fnyDFcjKdyBioyuy7MdezNhSjwmObbw0UXH/FCq8CsPjB0+qH CVNdHOjnsGYtathRZEs2Zr+KybFHmvhXXxuHc= MIME-Version: 1.0 Received: by 10.216.188.135 with SMTP id a7mr3943870wen.39.1284469019895; Tue, 14 Sep 2010 05:56:59 -0700 (PDT) Received: by 10.216.185.205 with HTTP; Tue, 14 Sep 2010 05:56:59 -0700 (PDT) Date: Tue, 14 Sep 2010 08:56:59 -0400 Message-ID: From: Jim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: i386 jail on AMD64 system not seeing network. AMD64 jails working fine. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 13:27:56 -0000 I am trying to run a teamspeak server, so I need an i386 jail. However, the jail seems to have issues with connecting to the network. * I set up the jail (make clean buildworld install distribution TARGET=i386 DESTDIR=/data/jail/speak/), and get no errors. * I mount /data/jail/speak/dev and /data/jail/speak/proc as I would on an AMD64 jail. * I copy over my /etc/hosts file, with an entry added for the teamspeak jail * I copy over my /etc/resolv.conf file * I set up the rc.conf file with: defaultrouter="192.168.1.1" hostname="speak.mydomain" #the following are also set on my web and email jails amd_enable="NO" sshd_enable="YES" usbd_enable="NO" rpc_bind="NO" * I nfs mounts /usr/ports to /data/jail/speak/usr/ports * I start the jail with "jail -s 2 /data/jail/speak "speak.mydomain" 192.168.1.9 /bin/sh ** The shell starts * I installed bash and lynx through ports - both have their distfiles and those of dependencies already downloaded * I left the jail and came back in with "jail -s 2 /data/jail/speak "speak.mydomain" 192.168.1.9 /usr/local/bin/bash Up to this point, there is no trouble. * I tried installing teamspeak: cd /usr/ports/audio/teamspeak_server; make install clean => Couldn't fetch it. Please try to retrieve this => port manually into /usr/ports/distfiles/teamspeak and try again *** Error code 1 * I try to connect to either my router or the web server I have at 192.168.1.5 with lynx. First I get: "Making HTTP connection to 192.168.1.1" (or 192.168.1.5), and the browser sits there for a while. This is followed by: Alert!: Unable to connect to remote host. * From the base system or either of the other jails, I can connect to either. * I try the jail again, this time with '-s 0', and I still can't connect to either site. The main system conf does not have the jails loaded specifically, I start the jails manually. The ifconfig setups look like this: hostname="server.mydomain" ifconfig_nfe0="inet 192.168.1.2 netmask 255.255.255.0" #we are borg ifconfig_nfe0_alias0="inet 192.168.1.3 netmask 255.255.255.0" ifconfig_nfe0_alias1="inet 192.168.1.4 netmask 255.255.255.0" ifconfig_nfe0_alias2="inet 192.168.1.5 netmask 255.255.255.0" ifconfig_nfe0_alias3="inet 192.168.1.6 netmask 255.255.255.0" ifconfig_nfe0_alias4="inet 192.168.1.7 netmask 255.255.255.0" ifconfig_nfe0_alias5="inet 192.168.1.8 netmask 255.255.255.0" ifconfig_nfe0_alias6="inet 192.168.1.9 netmask 255.255.255.0" ifconfig_nfe0_alias7="inet 192.168.1.25 netmask 255.255.255.0" ifconfig_nfe0_alias8="inet 192.168.1.80 netmask 255.255.255.0" defaultrouter="192.168.1.1" Anyone know what might be causing this? Thanks, -Jim Stapleton