Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 03:38:28 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Chuck Robey <chuckr@picnic.mat.net>
Cc:        FreeBSD-ISP <FreeBSD-isp@FreeBSD.ORG>, Brian Somers <brian@awfulhak.org>
Subject:   Re: ppp using dynamic IPs 
Message-ID:  <199906140238.DAA58299@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Sun, 13 Jun 1999 21:26:12 EDT." <Pine.BSF.4.10.9906132122120.567-100000@picnic.mat.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@uk.FreeBSD.org>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906140238.DAA58299>