From owner-freebsd-net@FreeBSD.ORG Sun May 16 19:59:06 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 947141065670 for ; Sun, 16 May 2010 19:59:06 +0000 (UTC) (envelope-from dejamuse@yahoo.com) Received: from web62505.mail.re1.yahoo.com (web62505.mail.re1.yahoo.com [69.147.75.97]) by mx1.freebsd.org (Postfix) with SMTP id 313A28FC12 for ; Sun, 16 May 2010 19:59:05 +0000 (UTC) Received: (qmail 59519 invoked by uid 60001); 16 May 2010 19:32:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1274038344; bh=b4ah8yVOcUO871QnI2F74VxO22FiEowgzal8GMA4UpI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=XbnxUoPdQllyCKtOCIy52Srob6/nVsZXG2Ta7hSgtETazfCaA79mRZSBWqarMoZCXEHaCg2IzzXDdqX0iFEjt8BskjA4dalxli47nMj0C4hmviJmFIjVKxD/Ss8VHMyZLDqhcY3MFVZOg4Lf8QYmcuoZVq55T6TrNdda7tChh98= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=DMeQ2N/0e48pT1VLrvmjZpfmvz72fMbTOAlX2s36kIwWZiF02qkq4s45kAC1OzS//SZJDK2ov92b4Y24RAbUadNb8e/O5ZBT2cQi8Osivo2t6XIx55CHHmfossVwU+GWlISQsxKfaolmbTphklRe+ilh3Fr6qGHPgvGrwvwYyaE=; Message-ID: <755761.58686.qm@web62505.mail.re1.yahoo.com> X-YMail-OSG: 0oj5dDIVM1mSCaflcdd_l0NRcVpORhW0dPO3gsPcbVP3dQe z6R3Q6vDYRAdP_BkkA1gnUyst941HPh5E5JL7LXGRjtqWeXQn3XwxrKpb6.Z KuG9Y4150gSuRikryEJtvEgdNezp45h2pQtzwC_99mQPV9gxNUtN9e.gpHTQ kQmuOVpTA2JyoHIx9Ripj1H1YHaB9fRDa3aeN5eLTdnMFNN0AwpvJTz.VXe9 5Z1OdvrF8kNcQ.DKya.chdCf8RFqk9X0mV6wQ2c2Zz.UCvqipB0oqyJuqiGi tmHaY0aWU_0b4_G_hs3lFSQ6qaXggptlQOdb2DyxOBwqoJpqkEM3bai1J81r 2beAY2akAtikdy_ruLoARATLlYbtE2.9IjocfdtVatNXQ3DlWhXc- Received: from [71.235.64.239] by web62505.mail.re1.yahoo.com via HTTP; Sun, 16 May 2010 12:32:24 PDT X-Mailer: YahooMailClassic/10.1.11 YahooMailWebService/0.8.103.269680 Date: Sun, 16 May 2010 12:32:24 -0700 (PDT) From: Jeff To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 19:59:06 -0000 I have been running PCBSD 8 (FreeBSD 8.0) with no problems until recently. I have an Apache server running in a jail (created by The Warden PBI) with = PHP, MySQL, and Drupal.=A0 I also run Firefox on the same machine to access= the internet and the local server for development.=A0 I've never had a pro= blem accessing the server until recently when I moved to a new location and= 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 pro= blem 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 device= .=A0 I have another machine with the same setup that has none of these prob= lems, but it's using PCBSD=A0 7.1.1. which has no lagg interface, just the = NIC itself. If I manually assign the static IP (192.168.1.10) to the NIC, re0, and leav= e the jail (192.168.1.12) assigned to lagg0, the latency problems disappear= but Drupal still cannot talk to the outside world.=A0 I shut down the fire= wall but it had no effect. I assigned both the jail and the NIC to re0, and disabled lagg0 but that di= dn't work. The router gateway is 192.168.1.2 Here is the current state: # ifconfig re0: flags=3D8843 metric 0 mtu 1500 =A0=A0=A0=A0=A0=A0=A0 options=3D389b =A0=A0=A0=A0=A0=A0=A0 ether 00:24:8c:a1:b3:f7 =A0=A0=A0=A0=A0=A0=A0 inet6 fe80::224:8cff:fea1:b3f7%re0 prefixlen 64 scope= id 0x1 =A0=A0=A0=A0=A0=A0=A0 media: Ethernet autoselect (100baseTX ) =A0=A0=A0=A0=A0=A0=A0 status: active lo0: flags=3D8049 metric 0 mtu 16384 =A0=A0=A0=A0=A0=A0=A0 options=3D3 =A0=A0=A0=A0=A0=A0=A0 inet6 ::1 prefixlen 128 =A0=A0=A0=A0=A0=A0=A0 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 =A0=A0=A0=A0=A0=A0=A0 inet 127.0.0.1 netmask 0xff000000 pflog0: flags=3D0<> metric 0 mtu 33152 pfsync0: flags=3D0<> metric 0 mtu 1460 =A0=A0=A0=A0=A0=A0=A0 syncpeer: 224.0.0.240 maxupd: 128 lo1: flags=3D8048 metric 0 mtu 16384 =A0=A0=A0=A0=A0=A0=A0 options=3D3 lagg0: flags=3D8843 metric 0 mtu 15= 00 =A0=A0=A0=A0=A0=A0=A0 options=3D389b =A0=A0=A0=A0=A0=A0=A0 ether 00:24:8c:a1:b3:f7 =A0=A0=A0=A0=A0=A0=A0 inet 192.168.1.10 netmask 0xffffff00 broadcast 192.16= 8.1.255 =A0=A0=A0=A0=A0=A0=A0 inet6 fe80::224:8cff:fea1:b3f7%lagg0 prefixlen 64 sco= peid 0x5 =A0=A0=A0=A0=A0=A0=A0 inet 192.168.1.12 netmask 0xffffffff broadcast 192.16= 8.1.12 =A0=A0=A0=A0=A0=A0=A0 media: Ethernet autoselect =A0=A0=A0=A0=A0=A0=A0 status: active =A0=A0=A0=A0=A0=A0=A0 laggproto failover =A0=A0=A0=A0=A0=A0=A0 laggport: re0 flags=3D5 -------------------------------------- # netstat -rn Routing tables Internet: Destination=A0=A0=A0=A0=A0=A0=A0 Gateway=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 F= lags=A0=A0=A0 Refs=A0=A0=A0=A0=A0 Use=A0 Netif=A0=A0=A0 Expire default=A0=A0=A0=A0=A0=A0=A0=A0 =A0 =A0=A0 =A0 192.168.1.2=A0=A0=A0=A0=A0= =A0=A0 UGS=A0=A0=A0=A0=A0=A0=A0 12=A0=A0=A0=A0=A0 266 =A0=A0 lagg0 127.0.0.1=A0=A0=A0=A0=A0=A0=A0 =A0 =A0=A0 link#2=A0=A0=A0=A0=A0=A0=A0=A0 = =A0=A0 =A0=A0 UH=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0 0=A0=A0=A0=A0=A0=A0=A0 0=A0= =A0 =A0 lo0 192.168.1.0/24=A0=A0=A0=A0 link#5=A0=A0=A0=A0=A0=A0=A0 =A0=A0 =A0=A0=A0 U= =A0=A0=A0=A0=A0 =A0 =A0 =A0=A0=A0 3=A0=A0=A0=A0=A0=A0 52 =A0 =A0 lagg0 192.168.1.10=A0=A0=A0=A0 =A0=A0 link#5=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0 =A0= =A0 UHS=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 =A0=A0 lo0 192.168.1.12=A0=A0=A0=A0 =A0=A0 link#5=A0=A0=A0=A0=A0=A0=A0 =A0=A0 =A0=A0= =A0 UHS=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0=A0 29=A0 =A0=A0 lo0 =3D> 192.168.1.12/32 =A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=A0=A0=A0 lagg0 ff02::%re0/32=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 f= e80::224:8cff:fea1:b3f7%re0=A0 U=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 re0 ff02::%lo0/32=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 := :1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 U=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 lo0 ff02::%lagg0/32=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 fe80:= :224:8cff:fea1:b3f7%lagg0 U=A0=A0=A0=A0=A0=A0=A0=A0 lagg0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D On the older machine with PCBSD 7.1.1 where the same jail setup with the se= rver running Drupal has none of these problems, the setup is as follows (19= 2.168.1.11 is the machine's static IP, the jail is also on 192.168.1.12 but= I never run both servers at the same time) Not sure why but the jail IP do= esn't show up here: # ifconfig bge0: flags=3D8843=0A metric 0 mtu = 1500 =A0=A0=A0=A0=A0=A0=A0 options=3D9b =A0=A0=A0=A0=A0=A0=A0=0A ether 00:11:11:c3:7a:e2 =A0=A0=A0=A0=A0=A0=A0 inet 192.168.1.11 netmask 0xffffff00=0A broadcast 192= .168.1.255 =0A=A0=A0=A0=A0=A0=A0=A0 media: Ethernet autoselect (100baseTX ) =A0=A0=A0=A0=A0=A0=A0=0A status: active plip0: flags=3D108810=0A metric 0= mtu 1500 lo0: flags=3D8049=0A metric 0 mtu 16384 =0A=A0=A0=A0=A0=A0=A0=A0 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 =A0=A0=A0=A0=A0=A0=A0 inet6 ::1 =0Aprefixlen 128 =A0=A0=A0=A0=A0=A0=A0 inet 127.0.0.1 netmask 0xff000000 pfsync0: =0Aflags=3D0<> metric 0 mtu 1460 =A0=A0=A0=A0=A0=A0=A0 syncpeer: 224.0.0.240 =0Amaxupd: 128 =0Apflog0: flags=3D0<> metric 0 mtu 33204 ---------------------------------- #=0A netstat -rn Routing tables Internet: Destination=A0=A0=A0=A0 =A0=A0=A0 =0AGateway=A0=A0=A0=A0=A0=A0=A0=A0 =A0 = =A0 =A0 =A0=A0 Flags=A0=A0=A0=A0=A0=A0 Refs=A0=A0=A0=A0 Use =A0=A0 Netif=A0= =A0 Expire default=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0 =A0 =A0=0A 192.168.1.2=A0=A0=A0=A0= =A0 =A0 =A0=A0 =A0 UGS=A0=A0=A0=A0=A0=A0=A0=A0 0=A0=A0 =A0 =A0 3323=A0=A0= =A0=A0 bge0 =0A127.0.0.1=A0=A0=A0=A0=A0=A0=A0 =A0 =A0 127.0.0.1=A0=A0=A0=A0=A0 =A0 =A0 = =A0 =A0 =A0 UH=A0=A0=A0=A0=A0=A0=A0 =A0 =A0 0=A0=A0=A0=A0=A0=A0 22=A0=A0 = =A0 =A0=A0 lo0 192.168.1.0/24=A0=A0=A0=A0 =0Alink#1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0 =A0 = =A0 =A0=A0 UC=A0=A0=A0=A0=A0=A0 =A0=A0 =A0 0=A0=A0=A0=A0=A0=A0 0=A0 =A0 =A0= =A0 =A0 bge0 192.168.1.2=A0=A0=A0=A0=A0=A0 =A0=A0 =0A00:21:29:e4:34:e4=A0 UHLW=A0=A0=A0= =A0=A0=A0 2=A0=A0=A0=A0=A0 447 =A0 =A0 =A0 bge0=A0=A0 1176 =0A192.168.1.255=A0=A0=A0=A0=A0 ff:ff:ff:ff:ff:ff =A0 =A0 =A0 =A0 =A0 =A0= =A0 UHLWb=A0=A0=A0=A0 1=A0=A0=A0=A0=A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A0=A0= =A0 fe80::1%lo0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =0AUC= =A0=A0=A0=A0=A0=A0=A0=A0=A0 lo0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D What could cause the server latency to be so high, and why can't Drupal acc= ess the internet?=A0 I have had this problem on and off for years, going ba= ck to FBSD 6, but have never figured out the problem or how I got out of it= .=A0 This time nothing is working. Thanks, Jeff =0A=0A=0A