Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: pppd and ip numbers Date: 26 Dec 1995 14:57:05 GMT Organization: Private BSD site, Dresden Lines: 20 Message-ID: <4bp2g1$8q4@uriah.heep.sax.de> References: <4bkf5e$rjh@osprey.unf.edu> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 caddy@osprey.unf.edu (Cliff Addy) writes: > I've installed pppd and have it doing logins fine. However, I'd > like to know how pppd decides on the ip numbers it assigns. I want > it to assign ip numbers from a particular block of numbers that *I* > assign. I have no idea where it's getting the numbers it has now. RTFM... It negotiates the IP addresses, where it's starting at the address configured in /etc/ppp/options. You could supply command- line arguments to force it to some particular address, so you probably want to write a wrapper as login shell that assigns IP addresses out of a pool (or on a per-tty basis), and then exec's pppd with the appropriate arguments. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)