Re: re-worded(newbie) Need help on Static IP
On Sun, 25 Jul 1999, Bill wrote:
> I need to setup the server to allocate an IP for a user whom is dialing in,
> so each time they dial in they get the same IP number.
edit /etc/ppp/options.ttyXX
where XX is S0/S1/whatever the port he dials in on is.
Then, put:
server-ip:his-ip
nodefaultroute
there, with server-ip being replaced with your IP, and his-ip with the
static IP you wish to give him.
Just realized that this will give each _modem_ a static IP, not each user.
The user authentication, iirc, happens _after_ the options file is
processed, so ...
Hope this helps,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sanjeev "Ghane" Gupta Tel: +91(11) 6941831, 6946619
Eurolink Systems Ltd Fax: +91(11) 6943732
New Delhi, India email: ghane@eurolink.stpn.soft.net
Eurolink doesn't pay me to speak for it, so I don't
Old age is not an accomplishment, nor youth a sin
Reply to: