From owner-freebsd-isp Fri Sep 19 01:53:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA26374 for isp-outgoing; Fri, 19 Sep 1997 01:53:45 -0700 (PDT) Received: from firewall.ftf.dk (root@mail.ftf.dk [129.142.64.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA26355 for ; Fri, 19 Sep 1997 01:53:27 -0700 (PDT) Received: from mail.prosa.dk ([192.168.100.2]) by firewall.ftf.dk (8.7.6/8.7.3) with ESMTP id LAA13058; Fri, 19 Sep 1997 11:22:25 +0200 Received: from deepo.prosa.dk (deepo.prosa.dk [192.168.100.10]) by mail.prosa.dk (8.8.5/8.8.5/prosa-1.1) with ESMTP id LAA20364; Fri, 19 Sep 1997 11:01:57 +0200 (CEST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.5/prosa-1.1) id KAA02218; Fri, 19 Sep 1997 10:52:15 +0200 (CEST) Message-ID: <19970919105215.49966@deepo.prosa.dk> Date: Fri, 19 Sep 1997 10:52:15 +0200 From: Philippe Regnauld To: Greg Lehey Cc: freebsd-isp@freebsd.org Subject: Re: Limiting users connect time (+ another little questi References: <199709190941.JAA15992@npc.haplink.co.cn> <19970919131201.64155@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: Main Body X-Mailer: Mutt 0.69 In-Reply-To: <19970919131201.64155@lemis.com>; from Greg Lehey on Fri, Sep 19, 1997 at 01:12:01PM +0930 X-Operating-System: FreeBSD 2.2.1-RELEASE i386 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Greg Lehey writes: > > I'd be interested to know if anybody has been able to set up automatic > dialling with a loose destination address (e.g. "I want address > 193.2.3.4, but I'll only insist on the first 24 bits). It could work, > but I don't know for sure, and I'd *like* to know for sure. > Yes. Been running that for >1 y+ on a 2.1.7., then 2.2 then 2.2.1 box: ... set ifaddr A.B.C.D/24 234.234.234.10 add 0 0 234.234.234.10 ... where 123.123.123.1/24 is really the class C/pool block you're going to get your IP from (adjust mask appropriately), for example if you get it from the class C 192.168.1.[1-254], then use 192.168.1.1/24. And 234.234.234.10 is the remote IP of the term server. On first packet, ppp dials, gets the real address, kicks out the old one, and sets up a default. I've been doing this with 12-14 boxes in a school with a "one-user" ISDN subscription to the ISP (FreeBSD+squid+ ppp). -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@deepo.prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@hotel.prosa.dk ]-