From owner-freebsd-questions Wed Aug 27 16:39:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA17992 for questions-outgoing; Wed, 27 Aug 1997 16:39:01 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA17929 for ; Wed, 27 Aug 1997 16:37:54 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA02430; Thu, 28 Aug 1997 00:37:28 +0100 (BST) Message-Id: <199708272337.AAA02430@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Paul Dekkers cc: Brian Somers , freebsd-questions@FreeBSD.ORG Subject: Re: PAP and IP addresses In-reply-to: Your message of "Wed, 27 Aug 1997 22:08:19 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Aug 1997 00:37:28 +0100 From: Brian Somers 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? Sorry, I thought you were talking ppp - not pppd :-| > -= Paul =- > __ _ > / |_| | > / _ \ Paul Dekkers (paul@nev.ml.org) > | o o `. _ > | O |_| | discover Atomic Infinity!!! > `.___/ | | | http://library.advanced.org/12082/ > /` \ > -- Brian , Don't _EVER_ lose your sense of humour....