Date: Fri, 12 Dec 2003 11:40:28 +0430 From: Stephane Bortzmeyer <stephane@laperouse.internatif.org> To: Extech <extech@dod.co.za> Cc: questions@FreeBSD.org Subject: Re: Router/Gateway Message-ID: <20031212071028.GA943@fetiche.sources.org> In-Reply-To: <200312111345560418.01599EE7@smtp.tridan.co.za> References: <200312111345560418.01599EE7@smtp.tridan.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 11, 2003 at 01:45:56PM +0200, Extech <extech@dod.co.za> 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/.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031212071028.GA943>