From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 21:34:12 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 187E516A4D8 for ; Fri, 12 Dec 2003 21:34:12 -0800 (PST) Received: from dns13.mail.yahoo.co.jp (dns13.mail.yahoo.co.jp [210.81.151.173]) by mx1.FreeBSD.org (Postfix) with SMTP id 585B843D39 for ; Fri, 12 Dec 2003 21:34:07 -0800 (PST) (envelope-from ayakokiko@ybb.ne.jp) Received: from unknown (HELO gorgon.near.this) (219.11.234.11 with poptime) by dns13.mail.yahoo.co.jp with SMTP; 13 Dec 2003 05:34:05 -0000 X-Apparently-From: Received: from ghost.near.this (ghost.near.this [10.0.3.9]) by gorgon.near.this (Postfix) with ESMTP id 0CA347F81; Sat, 13 Dec 2003 14:31:58 +0900 (JST) Received: by ghost.near.this (Postfix, from userid 100) id BD5F719320; Sat, 13 Dec 2003 14:31:56 +0900 (JST) Date: Sat, 13 Dec 2003 14:31:48 +0900 From: horio shoichi To: "Extech" In-Reply-To: <200312111345560418.01599EE7@smtp.tridan.co.za> References: <200312111345560418.01599EE7@smtp.tridan.co.za> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20031213.053155.71aa683eb7b6bbca.10.0.3.9@bugsgrief.net> 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: Sat, 13 Dec 2003 05:34:12 -0000 On Thu, 11 Dec 2003 13:45:56 +0200 "Extech" wrote: > Hello > > I have looked through the archives and I have read the manual (Advance Networking) but could not find specific to address my question. > > I want to set up a FreeBSD 5.x box as a router/gateway on a permanent connection with a fixed IP address, > there will also be other machines with fixed IP addresses (not 192.168.x.x but proper IP's) > on this network. > > something like this: > > To internet exchange on T1 Leased Line > | > | > | dc0 (196.x.x.1) > --------- > FreeBSD > router/ > gateway > --------- > | lr0 > | > | > | > --------- > switch/hub > --------- > | | > | | > 196.x.x.2 | | 196.x.x.3 > -------- -------- > Server 1 Server 2 > -------- -------- > > > Obviously I have to have two network cards in the router/gateway (dc0 and lr0), > I assume that I will configure dc0 with my fixed IP, but what do I do with lr0? > > Can somebody please point me in the right direction. > > Thanks > extech > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > A popular solution is the route/gateway not have ip addresses that belong to allocated global ips, and use bridge configuration. If bridging is inadequate in your case, the thing pretty much depends on the "cloud" one hop away from dc0 interface. Describe it (modem/router, configuable/not, etc). horio shoichi