From owner-freebsd-questions Tue Jul 20 14:22:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from p1m2.prime.net.ua (P1M5.prime.net.ua [195.64.229.37]) by hub.freebsd.org (Postfix) with ESMTP id E5DF81544D for ; Tue, 20 Jul 1999 14:21:16 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by andyo.prime.net (8.9.3/8.9.3) with ESMTP id XAA01778; Mon, 19 Jul 1999 23:09:50 +0300 (EET DST) Message-ID: <3793860A.AFEA5C8F@prime.net.ua> Date: Mon, 19 Jul 1999 23:09:47 +0300 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= (Andy V. Oleynik) Reply-To: andyo@prime.net.ua Organization: =?koi8-r?Q?=ED=2D=E9=CE=C6=CF?= X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: John Gibney Cc: freebsd-questions@freebsd.org Subject: Re: Question regarding Freebsd on Dynamic addressing References: <000401bed205$1f4f1b20$5d080e3f@windows98.nbcci.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Write ppplogin script to analize what is the ttyA* user logging in and run pppd on this device with appropriate IP. John Gibney wrote: > I have read the pages on http://www.freebsd.org/handbook/dialup.html > > I have completed all using a XEM 16 Digiport with 16 ports. I can login > into each port successfully with no problems. > My question is now how do I assign an ip address to each port, so that when > a user logs into that port, ppp is run and a dynamic ip address is assigned > via that port. > I also have setup in my nameserver in the .net and .net.rev > an ip address like the following: > ppp0 IN A 204.70.90.30 > ppp1 IN A 204.71.90.31 > Whereas ppp0 is assigned to ttyA00 (the first port in the Digi > and ppp1 is assigned to ttyA01 (the second port on the Digi > > Thanks in advance. > John Gibney > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Andy V. Oleynik (When U aim for perfection, U discover it's a moving target ö80) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message