From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 14:54:43 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 1CC6916A473 for ; Wed, 21 Nov 2007 14:54:43 +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 DF0B513C4AC for ; Wed, 21 Nov 2007 14:54:42 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so2123389rvb for ; Wed, 21 Nov 2007 06:54:42 -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:cc:in-reply-to:mime-version:content-type:references; bh=Ito6DbQUfMbgDRXz3jlIJbIhINi2NagGuxKzHMQJr9I=; b=s2qE8FVAGRVx+Mr2HVAzD2MClvcrnc31DvErMIJV8d2SQHth9NNWq+t14zdvYh23ZO8s008IFiGRvOyzi8EArhAwvjWB6Q5BHid7ER6i0BYyF4dE7olhx+iQxz0YzSRoZLJhssv5l3PO7eu0zvxmRU/FbY3/EP9AouuHyjAFODw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jZtnxBoSIeK5+yb0jCtwyUdhNZ1NfWXg2KVhQmDrrHO38V5Iwzmq1GhOJ3/914Gp/+QMUicJqXu1DMZqDuiqWufmN3Hlk0SUyLBl5khnA5HtwAvgsVVPmnx5/QB6HfQHbw89f2xpczhFwBw8LL7QWf7+olzlvr/+9ErO3DiJPi4= Received: by 10.140.134.15 with SMTP id h15mr2977354rvd.1195656882601; Wed, 21 Nov 2007 06:54:42 -0800 (PST) Received: by 10.141.136.20 with HTTP; Wed, 21 Nov 2007 06:54:42 -0800 (PST) Message-ID: <2949641c0711210654q682856cej544f9ccc83882582@mail.gmail.com> Date: Wed, 21 Nov 2007 12:54:42 -0200 From: "Alaor Barroso de Carvalho Neto" To: "Bill Moran" In-Reply-To: <20071121094922.8e364a1d.wmoran@potentialtech.com> MIME-Version: 1.0 References: <2949641c0711210609xc9fcb89t8217cd0995d1c86b@mail.gmail.com> <474440FC.5090901@ibctech.ca> <2949641c0711210644y3ffe8d19ub409b581971e2b1d@mail.gmail.com> <20071121094922.8e364a1d.wmoran@potentialtech.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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:54:43 -0000 The nameserver is the 192.168.1.2 in the resolv.conf, sorry my fault. I'm gonna copy the rc.conf and paste here. But the routes are OK and still OK for any time when the machine is not the main gateway and have some few clients using it as gateway, if it was a config problem it wouldn't work never, no? Is there any chance of the traffic of the network be the responsible for that??? Thankz the help 2007/11/21, Bill Moran : > > In response to "Alaor Barroso de Carvalho Neto" : > > > Sorry my english skills, I'm brazilian and I'm not very familiar with > the > > language, but I'm gonna try to explain it clearly: > > > > LINUX SERVER > > private network 192.168.1.1 > > external network x.x.x.x > > > > FREEBSD SERVER > > private network 192.168.1.240 > > external network x.x.x.x > > > > DNS SERVER > > private network 192.168.1.2 > > > > The LINUX machine is the network gateway, I want the FREEBSD to be the > > gateway, so I tested the freebsd machine configuring some clients > manually > > to use the 192.168.1.240 as gateway, 3 machines, everything worked. So = I > > thought: time to replace the linux server. So I turned off the linux > machine > > and changed the ip of freebsd to 192.168.1.1, just it, and then it stop > > working, it can resolv dns for some seconds and then stop. Something > I've > > noticed, when it's not the network gateway in fact, with just some > machines > > using it as gateway, the return of netstat -r is ok, with the routes of > the > > machines accessing it, the active conections, if I just change the ip > and > > turn off the LINUX machine, the netstat -r return me no routes at all. > > Pretty strange. > > > > My nameserver is just > > searchdomain xxxx.xxxx.xxxx.xxxx > > nameserver 192.168.1.1 > > You've pointed the FreeBSD machine at itself for DNS. Do you have a DNS > server running on this system? If not, you need to point it at a valid > DNS server. > > If routes are missing then something is configured wrong. If you'd post > the contents of /etc/rc.conf, it's more likely that we could provide > more detailed assistance. > > -- > Bill Moran > http://www.potentialtech.com > _______________________________________________ > 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" > --=20 Atenciosamente, Alaor Neto CEFET Campos/UNED Maca=E9 Coordena=E7=E3o de Tecnologia da Informa=E7=E3o (22) 9217-3198 / (22) 2773-6530 ramal 2035