Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 22:08:19 +0200 (MET DST)
From:      Paul Dekkers <paul@nev.ml.org>
To:        Brian Somers <brian@awfulhak.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PAP and IP addresses 
Message-ID:  <Pine.LNX.3.96.970827220514.111H-100000@gromit.nev.ml.org>
In-Reply-To: <199708261856.TAA00753@awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <more options>
and not with
pppd 192.168.1.1:192.168.1.20 <more options>
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/
 /`  \      




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.970827220514.111H-100000>