From owner-freebsd-questions@FreeBSD.ORG Fri Nov 23 12:59:21 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 8255B16A46C for ; Fri, 23 Nov 2007 12:59:21 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by mx1.freebsd.org (Postfix) with ESMTP id 1B10C13C4E3 for ; Fri, 23 Nov 2007 12:59:20 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so2433954nzf for ; Fri, 23 Nov 2007 04:59:19 -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=F8N8KST3ztxrJ966/jcK+L851ZWytbkRbkRFn13uEy0=; b=nDgNkqiS/XZXKbZzIu54bvWCxdXx/u0gz2zTLN7atvqzgnCj3CP+W9ZXo/g3JsKJkRJCWJhVTEWcNEezni9ozJDx/+q9wYQZ1CbLpkSBOP+RgfrefPlSrzR/AMR+nHUgO1k3wefiA+17XXKyLnjx1sg32S37n8vFaBsIK8ObX9Y= 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=ES3Sq5sA8eTzgTSZxWlMg0njSoHnUPUdd2Pj9p5DiQ4wb5+Vk2qkp1H71I6UKdtopGeAMVw/pjJyMMpdHEgPxariIvtPM/77sXKejTe4pUvcGn/3bNnikh8W75kws6I5PDLzjuPWDD1YWXPsIAQ2kh096IE75cc93vpqmmy3SwE= Received: by 10.142.113.17 with SMTP id l17mr795436wfc.1195822354550; Fri, 23 Nov 2007 04:52:34 -0800 (PST) Received: by 10.143.125.3 with HTTP; Fri, 23 Nov 2007 04:52:34 -0800 (PST) Message-ID: <2949641c0711230452t202d4875k821d5ff753ca0307@mail.gmail.com> Date: Fri, 23 Nov 2007 10:52:34 -0200 From: "Alaor Barroso de Carvalho Neto" To: "Steve Bertrand" In-Reply-To: <47444C3C.3000003@ibctech.ca> MIME-Version: 1.0 References: <2949641c0711210609xc9fcb89t8217cd0995d1c86b@mail.gmail.com> <474440FC.5090901@ibctech.ca> <2949641c0711210644y3ffe8d19ub409b581971e2b1d@mail.gmail.com> <2949641c0711210646p7ded7321g66c4978bb56f1868@mail.gmail.com> <47444C3C.3000003@ibctech.ca> 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: Fri, 23 Nov 2007 12:59:21 -0000 OK guyz, I did some tests and I found the error, like you said, it's a config problem with the routes, I thought the routed daemon would care of i= t for me but it seems like it don't. Please I ask you to forget the scenario = I said before, now what i have is: The dns server is now with the IP 192.168.1.1. But to turn things more easy I installed it in the FreeBSD box that is gonna be my gateway and proxy machine, so the problem isn't about the dns anymore. I work in a school and I have now this sccenario two local networks, 192.168.1/24, an administrative network and 192.168.2/24, an academic network, plus I must have access to a network of other school with the ip 10.10/16, because they share their database serverwith us. So the FreeBSD machine have four network cards: em0 external world XXX.XXX.XXX.XXX rl0 adm 192.168.1.80 rl1 acad 192.168.2.90 rl3 database 10.10.0.50 They are all separated networks. What I want: 192.168.2 should only access the internet, shouldn't have access to 192.168.1 or 10.10/16. 192.168.1should access the internet and 10.10/16, but shouldn't access the academic network. 10.10/16 should access only the 192.168.1 network, but it's not a problem if they had access to internet too. How I would set up my rc.conf with my static routes? Thankz for the attention you're having with me guyz, hugs! 2007/11/21, Steve Bertrand : > > Alaor Barroso de Carvalho Neto wrote: > > Sorry, > > searchdomain xxxx.xxxx.xxxx.xxxx > > nameserver 192.168.1.2 > > > > not 192.168.1.1 as I've said before. > > What about: > > # dig @192.168.1.2 google.ca > > Also, I don't know if it has any impact, but my resolv.conf shows just > 'search mydomain.com' as opposed to searchdomain. Perhaps you could fix > that to see if it helps. > > Steve > > --=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