From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 01:45:09 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 728E116A4CF for ; Fri, 12 Dec 2003 01:45:09 -0800 (PST) Received: from mail-aubervilliers.netaktiv.com (soyouz.netaktiv.com [80.67.170.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A83343D1F for ; Fri, 12 Dec 2003 01:45:06 -0800 (PST) (envelope-from stephane@laperouse.internatif.org) Received: by mail-aubervilliers.netaktiv.com (Postfix, from userid 10) id AD150240FC; Fri, 12 Dec 2003 10:45:05 +0100 (CET) Received: by fetiche.sources.org (Postfix, from userid 1001) id AE6AC9AD0; Fri, 12 Dec 2003 11:40:28 +0430 (AFT) Date: Fri, 12 Dec 2003 11:40:28 +0430 From: Stephane Bortzmeyer To: Extech Message-ID: <20031212071028.GA943@fetiche.sources.org> References: <200312111345560418.01599EE7@smtp.tridan.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312111345560418.01599EE7@smtp.tridan.co.za> User-Agent: Mutt/1.4.1i X-Transport: UUCP rules X-Operating-System: FreeBSD 5.1-RELEASE i386 cc: questions@FreeBSD.org Subject: Re: Router/Gateway 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: Fri, 12 Dec 2003 09:45:09 -0000 On Thu, Dec 11, 2003 at 01:45:56PM +0200, Extech wrote a message of 52 lines which said: > there will also be other machines with fixed IP addresses (not > 192.168.x.x but proper IP's) on this network. RFC 1918 addresses like 192.168.0.0/16 *are* proper (from the point of view of the IP stack), they are just not public and hence not globally unique and not globally routable. > I assume that I will configure dc0 with my fixed IP, but what do I > do with lr0? Configure it with one of the addresses of the other network (the one which has "proper" addresses. Assume it is (just an example) 10.1.2.128/25, then you could use 10.1.2.129 (I myself use the convention that the default router of a network is always the first IP address of that network). On Ethernet, you must use one different IP address per interface (on point to point lines, some routers allow you to have unnumbered interfaces, not sure that it is true for FreeBSD). Be sure that your provider routes the above prefix (10.1.2.128/25) to you, otherwise your machines (except the router) will be able to send but not to receive. You can check that from http://www.traceroute.org/.