From owner-freebsd-questions Wed Nov 8 12:39: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (unknown [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id 578F637B4C5 for ; Wed, 8 Nov 2000 12:39:02 -0800 (PST) Received: from wmptl.com ([10.0.0.168]) by mail2.wmptl.com (8.9.3/8.9.3) with ESMTP id PAA99686 for ; Wed, 8 Nov 2000 15:27:01 -0500 (EST) (envelope-from webmaster@wmptl.com) Message-ID: <3A09B8D2.DFE6A8C3@wmptl.com> Date: Wed, 08 Nov 2000 15:34:26 -0500 From: Nathan Vidican Reply-To: nathan@vidican.com X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: using FreeBSD as an access router Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Simple question... Can FreeBSD be used to run an access router? Here's the scenario: I have one machine on a local network, using an ethernet connection to a switch, which intern connects to core router for the network. The core router routes a class C (253 usable IP addresses after router) to the ethernet switch, afterwhich point the servers are setup using static IP addresses and plugged into the same switch. I would like to take one machine, assign it a static IP address, plug four modems into it, and allow PPP dialin access. The PPP daemon must assign one of 20ip addresses to the dialin party based upon the username supplied. I want to be able to use pap/chap authentication. My Question(s): How would one configure PPP to allow dial-in access from internal modems; as-in how does one force the modems to answer the line when it rings? Would I need to define static routes for each of the IP addresses to go through the one machine, or would setting gateway_enabled="YES" in rc.conf do fine for PPP? (Would I need to just run RIP?) Summary: I want to use a FreeBSD box, loaded with a few internal modems to allow dialin PPP access. I also want the dialin IP's to be routed through the ethernet interface on the box containing the modems; essentially creating a small access router. I have done exactly this, but on a larger scale (48modems), using Livingston (/Lucent) Portmaster 3's, and a radius server for the authentication/IP address part. Any suggestions or comments are greatly appreciated. -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message