From owner-freebsd-isp Sun Jun 13 19:41:19 1999 Delivered-To: freebsd-isp@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 74AF614BE2 for ; Sun, 13 Jun 1999 19:41:15 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id DAA62518; Mon, 14 Jun 1999 03:39:16 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id DAA58299; Mon, 14 Jun 1999 03:38:29 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906140238.DAA58299@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Chuck Robey Cc: FreeBSD-ISP , Brian Somers Subject: Re: ppp using dynamic IPs In-reply-to: Your message of "Sun, 13 Jun 1999 21:26:12 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 14 Jun 1999 03:38:28 +0100 From: Brian Somers Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I am setting up a new machine, the server side of a bunch of ppp > connections, and I have it now working for static IPs. I am letting > login do my security checking (owner wants that, it's not my choice), > but I need to be able to convert it to using dynamic IPs. > > I have the user's shell set up as /usr/local/bin/ppplogin, which starts > the user's ppp session. Is using dynamic IPs (from the server side, NOT > the user side) documented anywhere, of can someone describe what I have > to do? I have the block of IPs already. > > (I'm converting an old BSDi machine to FreeBSD. Owner says I can > convert ppp to chap after I get it working the old way first.) Hmm, this isn't very ``searchable'' in the user-ppp man page (I'll add the word ``dynamic'' somwhere :-) Hisaddr may also be specified as a range of IP numbers in the format IP[-IP][,IP[-IP]]... for example: set ifaddr 10.0.0.1 10.0.1.2-10.0.1.10,10.0.1.20 The range can be put in ppp.conf as above or even in ppp.secret if you want to change the range based on their pap or chap username. > ----------------------------+----------------------------------------------- > Chuck Robey | Interests include any kind of voice or data > chuckr@picnic.mat.net | communications topic, C programming, and Unix. > 213 Lakeside Drive Apt T-1 | > Greenbelt, MD 20770 | I run picnic and jaunt, both FreeBSD-current. > (301) 220-2114 | > ----------------------------+----------------------------------------------- -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message