*BSD News Article 71426


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!dispatch.news.demon.net!demon!arg1.demon.co.uk
From: Andrew Gordon <andrew.gordon@net-tel.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: incoming ppp
Date: Wed, 19 Jun 1996 11:16:43 GMT
Lines: 16
Message-ID: <835183003.20807.0@arg1.demon.co.uk>
References: <199606181631.MAA24131@heathers.stdio.com> <Pine.SV4.3.91.960618114507.1527A-100000@mirage>
NNTP-Posting-Host: arg1.demon.co.uk
X-NNTP-Posting-Host: arg1.demon.co.uk
X-Mailer: Mozilla 1.1N (X11; I; FreeBSD 2.1-STABLE i386)
MIME-Version: 1.0
X-URL: news:Pine.SV4.3.91.960618114507.1527A-100000@mirage
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

>> I think your best bet is to:
>> 1) not use set ifaddr at all in /etc/ppp/ppp.conf
>> 2) set up 13 tun0-tun12 interfaces each with address 18 to 30 like:
>> 	ifconfig tun0 inet 206.9.159.18 206.9.159.18

An alternative approach is to set up entries in /etc/ppp.conf corresponding to
the names of your tty ports (each of which then has an appropriate (different)
'set ifaddr' statement).  Your login script then invokes ppp as:

ppp -direct `tty`

[Those are meant to be backquotes, even if they don't look that way in this
Netscape...]

This will then assign the IP address according to which modem they come in on.