Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!howland.erols.net!surfnet.nl!feed2.belnet.be!news.belnet.be!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.utell.net (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: user PPP problem Date: 13 May 1997 13:37:23 GMT Organization: Awfulhak Ltd. Lines: 37 Message-ID: <5l9qqj$gqi@ui-gate.utell.co.uk> References: <01bc5bd9$49fbc980$fde955c2@iaipc0.iai.rssi.ru> Reply-To: brian@awfulhak.org, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Cc: brian@awfulhak.org Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40795 In article <01bc5bd9$49fbc980$fde955c2@iaipc0.iai.rssi.ru>, "Alexander Smirnov" <as@iai.rssi.ru> writes: > Dear All, > > I am using the user PPP to provide people with access to LAN and to the > Internet from home. > > However as soon as I got several lines I noticed that PPP assigns the same > IP to all clients connecting with "Server assigned IP address" - for > instance if configured > set ifaddr 192.168.0.1 192.168.0.250/26 > in the /etc/ppp/ppp.conf it assigns 192.168.0.250 to everyone.... :() > (192.168.0.250/26 > is configured as IP in /etc/ppp/ppp.secret for each user). > > Could anyone, please tell me if this configuration is wrong? Or what could > I do to it? (Not everyone guesses to specify an allowed IP .... :)) ) AFAIK, there's no facility to allocate IPs from a pool like this. Your syntax is saying that you'll allow the client to be anyone on 192.168.0.250/26, but you're going to suggest 192.168.0.250 every time. Perhaps a new syntax is required: set ifaddr 192.168.0.1 192.168.0.193-192.168.0.254 Any comments/suggestions ? > Thank you in advance. > Sincerely yours, Alex. > -- Brian <brian@awfulhak.org> <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour !