From owner-freebsd-questions Wed Aug 27 13:55:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05978 for questions-outgoing; Wed, 27 Aug 1997 13:55:49 -0700 (PDT) Received: from chillin.ele.tue.nl (root@chillin.ele.tue.nl [131.155.20.247]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA05954 for ; Wed, 27 Aug 1997 13:55:25 -0700 (PDT) Received: from dail.7da.nl [195.108.246.106] by chillin.ele.tue.nl id WAA00891; Wed, 27 Aug 1997 22:54:15 +0200 Received: from localhost [127.0.0.1] by gromit.nev.ml.org id WAA00167; Wed, 27 Aug 1997 22:08:19 +0200 Date: Wed, 27 Aug 1997 22:08:19 +0200 (MET DST) From: Paul Dekkers To: Brian Somers cc: freebsd-questions@FreeBSD.ORG Subject: Re: PAP and IP addresses In-Reply-To: <199708261856.TAA00753@awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 26 Aug 1997, Brian Somers wrote: >> Can I, and how, setup PAP so that a user gets a different IP than >> another user, e.g. 'user1' gets 192.168.1.1 (always) and 'user2' >> 192.168.1.2...? Or do I really have to work with normal accounts? > >Put an entry in ppp.secret ? You mean pap-secrets? Well, I can put something like this in it: client me "" 192.168.1.20 but when I start pppd with pppd 192.168.1.1: and not with pppd 192.168.1.1:192.168.1.20 it does NOT do the same as the second line... I hoped it would, but in this case the client is free to chooce it's ip, and in that case it chooses the ip of it's primary device, not the correct ip... :-( (and because the client is not allowed to, pppd kicks out) So, I don't think that's a solution, or is there a parameter I didn't look at carefully enough? -= Paul =- __ _ / |_| | / _ \ Paul Dekkers (paul@nev.ml.org) | o o `. _ | O |_| | discover Atomic Infinity!!! `.___/ | | | http://library.advanced.org/12082/ /` \