From owner-freebsd-questions@FreeBSD.ORG Wed Dec 12 10:18:51 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 73A9E16A421 for ; Wed, 12 Dec 2007 10:18:51 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 369DF13C43E for ; Wed, 12 Dec 2007 10:18:51 +0000 (UTC) (envelope-from alaorneto@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so163542rvb.43 for ; Wed, 12 Dec 2007 02:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=SJmHegUTdG7GbPp8wk30+dwv8rzzjZbWKUMq/OZFbdk=; b=CfbXh/qCn9xBt4yRqLS3V0TbCA4fLIPgoH/pBj7YWQH+bp51Zq2hLLG+ASgtiXjOkLt0TQboi9zBrZWBQVhNt3oXxwcqdjckh+qyQpjkG5ATlfwU/qFrwX6M7OslZ7grRxejnUNFvIVs28tqGcBBNZIMY41Q7AGto5Soyl8xO1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WZJ6tWoOHWwemyPfzifqDbecSj7EKIdJ38adEUw3qRpJqjM7FiIZvY/Y5Sm4/jO32SLGsPkAeRpUGY25GHW4xNf5V+Te/FSJsph0ojWvTaICXkBhEBGoOTe7uOOiudld1tjdibdBH5L6/G9hHV2qwfGFBSY1o+IDYNIozSxz8GE= Received: by 10.140.148.3 with SMTP id v3mr214197rvd.223.1197454730825; Wed, 12 Dec 2007 02:18:50 -0800 (PST) Received: by 10.141.37.3 with HTTP; Wed, 12 Dec 2007 02:18:50 -0800 (PST) Message-ID: <2949641c0712120218h142369e0l1fd9b05f351a12e6@mail.gmail.com> Date: Wed, 12 Dec 2007 08:18:50 -0200 From: "Alaor Barroso de Carvalho Neto" To: "Ian Smith" In-Reply-To: MIME-Version: 1.0 References: <20071211221929.059AD16A4CA@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Connecting networks 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, 12 Dec 2007 10:18:51 -0000 2007/12/12, Ian Smith : > > Should be 'defaultrouter', but then it's a route to an apparent local > router, whereas your em0 appears to be your public internet connection? Yes, it's default router, like I said I was not in my work then I wrote by myself this lines, like I didn't touch the defaultrouter line since the install I guess it's correct, my fault. Yes, em0 is my public connection, but it's not connected to the external network yet, that's why my default router is 192.168.1.80 (that is my current gateway, connected with the external world, and who I want to be replaced by this BSD box) Hopefully you've just mis-remembered that netmask: it's non-contiguous. > .224 perhaps? My fault again. I messed up /27 with .224. I think this is at the core or your issue. Let's assume that a box on > xl1, say 192.168.2.100, wants to talk with a box on xl2, say 10.10.0.100 > > 192.168.2.100 needs either your box (192.168.2.90) as its default route, > or it needs to have added a specific route for 10.10 via your box. > > Similarly, 10.10.0.100 needs either your box (10.10.0.50) as its default > route, or it needs to have added a specific route for 192.168.2 via you. > > Unless both of these conditions are true, packets will not get (or get > back) to where they're supposed to go, even if your box setup is all ok. The The machines is 192.168.1 aren't using my BSD box like it's default gateway it, so it may be the problem? But, like I've said, this is the second time I try to put the things to work, the first time I've set the 192.168.1 machines to use my bsd as default gatway and didn't work also. But I gonna change it to test again. My machines in 192.168.2 are all using 192.168.2.90 as it gateway already.