mgetty + AutoPPP = static IP
Ralf Schenk (rs@aix.de)
Fri, 2 May 1997 02:44:20 +0200
On Wed, 23 Apr 1997 12:12:14 -0400 (CST), mfkr@inf.utfsm.cl (Pablo
Idiaquez) wrote:
> Hi please give me ideas on how to use static IP using
>the well known entry in login.config:
>/AutoPPP/ - ppp /usr/sbin/pppd auth -chap +pap login
> What I need is that each user get their own IP , for
>SMTP sendmail delivery , via /etc/ppp/ip-up.
> The IP must be assigned by the server not requested
>by the client , ( even if we know that on PPP dosn't exist
>client or server side ;-)
No Problem :
You can put the IP-Adress a user should get as last parameter in the
/etc/ppp/pap-secrets file. So the IP-Adress can be different for every
user.
/etc/ppp/pap-secrets would be for you for example:
user1 * "" 192.168.0.200
user2 * "" 192.168.0.201
user3 * "" 192.168.0.201
and so on. I use something like this to distinguish which dialin-user
gets an real IP of our C-Class Subnet or which gets only a fake IP
like 192.168.0.200 to get access to only the dialin-server.
.