From owner-freebsd-questions Fri Mar 24 00:11:55 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id AAA21226 for questions-outgoing; Fri, 24 Mar 1995 00:11:55 -0800 Received: from dtr.com (dtr.rain.com [204.119.8.19]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id AAA21219 for ; Fri, 24 Mar 1995 00:11:53 -0800 From: bmk@dtr.com Received: (from bmk@localhost) by dtr.com (8.6.9/8.6.9) id AAA20663; Fri, 24 Mar 1995 00:08:49 -0800 Message-Id: <199503240808.AAA20663@dtr.com> Subject: Re: Setting up a PPP server. To: jg@euronet.nl (Jan_Guldemond) Date: Fri, 24 Mar 1995 00:08:48 -0800 (PST) Cc: bmk@dtr.com, questions@FreeBSD.org In-Reply-To: <199503240709.IAA20653@mail.euronet.nl> from "Jan_Guldemond" at Mar 24, 95 08:09:14 am Reply-To: bmk@dtr.com X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1069 Sender: questions-owner@FreeBSD.org Precedence: bulk > I hope you can make something like a FAQ, or if not please send me some > info. I'm trying to set up a SLIP server (as soon as it runs I will try a > PPP-server). But I think that the idea of dynamic IP adresses is the same > for both. I can set up the SLIP server using the DOC's and FAQ's, but I > can't find anything about dynamic IP-adresses. I am going to write a FAQ - basically my scheme for assigning dynamic addresses works as follows: I wrote a script (ppplogin) that assigns an IP address based on which port & host the user is calling in on. This script then spawns a pppd process - ip-up gets called which sets up the route, ip-down gets called when the session is done to clear the route. Basically, the script does a lookup in an ASCII config file that contains four entries: hostname, port, remote_ip_address, and local_ip_address. I know this is vague - I'll make my scripts available by ftp in the next few days - I should have a draft document by monday. I have tested it and it works well, but it has NOT gone into production mode yet.