From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 20:37:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A2CF16A4B3 for ; Tue, 30 Sep 2003 20:37:47 -0700 (PDT) Received: from ndiccaa.pair.com (ndiccaa.pair.com [209.68.2.162]) by mx1.FreeBSD.org (Postfix) with SMTP id CAC1143FFB for ; Tue, 30 Sep 2003 20:37:45 -0700 (PDT) (envelope-from freebsd@killersolutions.com) Received: (qmail 79798 invoked by uid 3025); 1 Oct 2003 03:37:45 -0000 Received: from 0.0.0.0 (authenticated user) by some box; Tue, 30 Sep 2003 23:37:45 -0400 (EDT) Message-ID: <62523.www.killersolutions.com.1064979465.ronate@www.killersolutions.c om> In-Reply-To: <20031001020041.GH45668@wantadilla.lemis.com> References: <63697.www.killersolutions.com.1064972023.ronate@www.killersolutions.c om> <20031001020041.GH45668@wantadilla.lemis.com> Date: Tue, 30 Sep 2003 23:37:45 -0400 (EDT) From: freebsd@killersolutions.com To: "Greg 'groggy' Lehey" User-Agent: Netscape Mail 1.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD routing between 2 interfaces X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 03:37:47 -0000 Yes I realize about the 10.0... and 192.168.... not being routed matter. Previosly I always setup the network but never run out of IP address in the same range(192.168.0.*). It happened this time. Therefore I created the 192.168.1.* network but now it wont route. I can use NAT for that purpose but that would defeat communication between the 192.168.1.* and 192.168.0.* networks(there are a bunch of ftp and samba file/print servers in the 1.* network). I mean if I use nat: 192.168.0.* Connect > 192.168.1.* = No success 192.168.0.* < Connect 192.168.1.* = Success > On Tuesday, 30 September 2003 at 21:33:43 -0400, > freebsd@killersolutions.com wrote: >> Dear FreeBSD users, >> >> I urgenly need to connect 192.168.1.* network to the internet. What >> am I doing wrong? > > You're assuming it's possible. It's not. Addresses in the range > 192.168.x.x are explicitly not routed. See RFC 1918 > (http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1918.html) for further > details. > > You're not very clear about your router, but I assume it does NAT for > you: to connect an RFC 1918 network to the Internet, you need to use > some form of Network Address Translation (NAT). Theoretically, you'd > need to do the same at the junction between the 192.168.0.x and > 192.168.1.x networks, though you might be able to fake things by > choosing 23 bit net masks. If this doesn't mean anything to you, > don't ask. > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply or reply to the original recipients. > For more information, see http://www.lemis.com/questions.html > See complete headers for address and phone numbers. > NOTE: Due to the currently active Microsoft-based worms, I am limiting > all incoming mail to 131,072 bytes. This is enough for normal mail, > but not for large attachments. Please send these as URLs. >