Date: Tue, 28 Nov 1995 12:12:03 -0600 (CST) From: Joe Greco <jgreco@brasil.moneng.mei.com> To: mnealey@metronet.com (Mike Nealey) Cc: freebsd-isp@freebsd.org Subject: Re: Dynamic PPP... Message-ID: <199511281812.MAA12856@brasil.moneng.mei.com> In-Reply-To: <199511271729.AA09299@metronet.com> from "Mike Nealey" at Nov 27, 95 11:29:08 am
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi all,
>
> I have a quick question. Is anyone out there offering dynamic ppp on
> their systems? If you are, how are you setting it up? I have read the man
> page and assorted documentation for ppp/pppd and the solution offered seems
> rather ugly. Is there a more elegant solution?
Stupid and yet simple:
/usr/local/bin/ppplogin (login shell):
#! /bin/sh -
stty crtscts
tty=`tty`
tty=`basename ${tty}`
exec /usr/sbin/ppp -direct "${tty}"
/etc/ppp/ppp.conf:
ttyd8:
set debug lcp
set ifaddr 206.55.67.17 206.55.67.72
set timeout 43200
ttyd9:
set debug lcp
set ifaddr 206.55.67.17 206.55.67.73
set timeout 43200
ttyda:
set debug lcp
set ifaddr 206.55.67.17 206.55.67.74
set timeout 43200
.... la de da, etc.
Not true dynamic PPP in that you are reserving an IP for each serial port.
However, this does prevent you from doing foolish things like overcommitting
and it does make administration simpler because you can always reconstruct
who was on a port given a hostname or whatever with very little effort.
... Joe
-------------------------------------------------------------------------------
Joe Greco - Systems Administrator jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI 414/342-4847
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511281812.MAA12856>
