From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 14:09:33 2007 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 2CA6D16A469 for ; Wed, 21 Nov 2007 14:09:33 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id F320613C474 for ; Wed, 21 Nov 2007 14:09:32 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2109854rvb for ; Wed, 21 Nov 2007 06:09:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=RyFNpI0Y3XcKQehj/b1xJsYI/wep9rDyHHC9Ck9qKzs=; b=QA/zKno6ECzc1czd+i2EGdmnfv3BkaH7DvvQ0u3fCL8NBV15EGnLUS0H6L1y4ofaOydDgBf6vH30bpmCAR06gTQQbLBHcsFOu+TzdErIE/M/kuIguQ+HNWUzxfFcVlPsnuremkjNyrdaEBOTx84SOLcq/D9e4e9fjoN92iYauJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RS/WweoNVKU1VcAps++bqCgc7WExQp32vmYPITxIEP/pczxKNNRfboTbl4sgR8lV+TbVlGw1mStF2u41oMjZcg57R2gFnyw6OpIR4rl5LTAT76/EagsfNI98z4dggaKNN6eXKE5qx1B8Mx/gcUcqJSKAGrjDG9oZGoD0PLmqL+A= Received: by 10.141.162.16 with SMTP id p16mr1802496rvo.1195654169796; Wed, 21 Nov 2007 06:09:29 -0800 (PST) Received: by 10.141.136.20 with HTTP; Wed, 21 Nov 2007 06:09:29 -0800 (PST) Message-ID: <2949641c0711210609xc9fcb89t8217cd0995d1c86b@mail.gmail.com> Date: Wed, 21 Nov 2007 12:09:29 -0200 From: "Alaor Barroso de Carvalho Neto" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: routing problem 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: Wed, 21 Nov 2007 14:09:33 -0000 Hi, I have some troubles building my internet gateway to my network. I already have a gateway machine running under linux, with two interfaces eth0 (192.168.1.1) and eth1 (external world), but I installed a new server running FreeBSD6.2 with ipfilter and squid, in the test time with had the ip 192.168.1.240 in the rl0 and a external ip on rl1, I've configured some machines in the network (3) to use it as gateway to test it and the transparent proxy, everything worked fine. So I turned off my linux machine and configured the BSD ip on rl0 to 192.168.1.1 and then it stop resolving names. I have a DNS server in my network with the ip 192.168.1.2, I still can ping to it and to the external world, but the names aren't resolved anymore, it work for some seconds and then stop. When I turn on the linuxmachine and plug it on the network with the ip 192.168.1.1 and change the bsd ip to anything else it work again, resolve names and everything stay just as suposed to be. If I turn off linux and set the rl0 to 192.168.1.1 it stop resolving names but can ping to anywhere. Help!!! in the rc.conf gateway_enable="YES" defaultrouter="X.X.X.X" etc... Everything seems to be OK. Thankz for the attention Hugs! Alaor Neto