From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 19:00:45 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 E539516A4B3 for ; Tue, 30 Sep 2003 19:00:45 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id D792043FEA for ; Tue, 30 Sep 2003 19:00:44 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 02E1E2BD2C for ; Wed, 1 Oct 2003 12:00:43 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 319A951836; Wed, 1 Oct 2003 11:30:41 +0930 (CST) Date: Wed, 1 Oct 2003 11:30:41 +0930 From: Greg 'groggy' Lehey To: freebsd@killersolutions.com Message-ID: <20031001020041.GH45668@wantadilla.lemis.com> References: <63697.www.killersolutions.com.1064972023.ronate@www.killersolutions.c om> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vqZEy/DEMZDTzjXG" Content-Disposition: inline In-Reply-To: <63697.www.killersolutions.com.1064972023.ronate@www.killersolutions.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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 02:00:46 -0000 --vqZEy/DEMZDTzjXG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tuesday, 30 September 2003 at 21:33:43 -0400, freebsd@killersolutions.co= m 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. =20 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. --vqZEy/DEMZDTzjXG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/ejVJIubykFB6QiMRAlPOAKCTsrxzoZm0pz0BxAcvjXONl9K0XQCfRteU mQYn1QPfbDXrPyjTWImWYi4= =KQWZ -----END PGP SIGNATURE----- --vqZEy/DEMZDTzjXG--