From owner-freebsd-net@FreeBSD.ORG Sun May 16 20:20:08 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 304BC106564A for ; Sun, 16 May 2010 20:20:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 9B1178FC18 for ; Sun, 16 May 2010 20:20:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 7801F41C840; Sun, 16 May 2010 22:20:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id DXUS1+LdbHM8; Sun, 16 May 2010 22:20:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id E3ECE41C83F; Sun, 16 May 2010 22:20:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 9E8F84448EC; Sun, 16 May 2010 20:17:34 +0000 (UTC) Date: Sun, 16 May 2010 20:17:34 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Jeff In-Reply-To: <755761.58686.qm@web62505.mail.re1.yahoo.com> Message-ID: <20100516201540.V23815@maildrop.int.zabbadoz.net> References: <755761.58686.qm@web62505.mail.re1.yahoo.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1790818726-1274041054=:23815" Cc: freebsd-net@freebsd.org Subject: Re: Net problem with server running in jail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2010 20:20:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1790818726-1274041054=:23815 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 16 May 2010, Jeff wrote: > I have been running PCBSD 8 (FreeBSD 8.0) with no problems until recently= =2E > > I have an Apache server running in a jail (created by The Warden PBI) wit= h PHP, MySQL, and Drupal.=A0 I also run Firefox on the same machine to acce= ss the internet and the local server for development.=A0 I've never had a p= roblem accessing the server until recently when I moved to a new location a= nd tried to set up the new network on a new router and internet connection.= =A0 I switched the NIC card to a static IP from DHCP and then access to the= server got really slow, like 15 seconds delay from 2 seconds before.=A0 Al= so, Drupal can no longer access the net to check for module updates and suc= h. > > I asked for advice at PCBSD and reconfigured some things that fixed the p= roblem for a while, but now nothing works, so they advised me to ask here.= =A0 I don't know what precipitated this problem or exactly what's wrong. > > Originally, both the NIC and the jail IPs were assigned to the lagg0 devi= ce.=A0 I have another machine with the same setup that has none of these pr= oblems, but it's using PCBSD=A0 7.1.1. which has no lagg interface, just th= e NIC itself. > > If I manually assign the static IP (192.168.1.10) to the NIC, re0, and le= ave the jail (192.168.1.12) assigned to lagg0, the latency problems disappe= ar but Drupal still cannot talk to the outside world.=A0 I shut down the fi= rewall but it had no effect. > > I assigned both the jail and the NIC to re0, and disabled lagg0 but that = didn't work. > > The router gateway is 192.168.1.2 > > Here is the current state: =2E.. > What could cause the server latency to be so high, and why can't Drupal a= ccess the internet?=A0 I have had this problem on and off for years, going = back to FBSD 6, but have never figured out the problem or how I got out of = it.=A0 This time nothing is working. it's a bit hard to say and I admit I haven't read all the output I am not quoting. I'd suggest you'd check your resolv.conf inside the jail as DHCP wouldn't update that one and as you moved, things might have changed? /bz --=20 Bjoern A. Zeeb (from 21) Micky Rosa: But as we've all said, this game is about the past and the future, and tonight we forget about the past. We just focus on the future. --0-1790818726-1274041054=:23815--