Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 10:52:15 +0200
From:      Philippe Regnauld <regnauld@deepo.prosa.dk>
To:        Greg Lehey <grog@lemis.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Limiting users connect time (+ another little questi
Message-ID:  <19970919105215.49966@deepo.prosa.dk>
In-Reply-To: <19970919131201.64155@lemis.com>; from Greg Lehey on Fri, Sep 19, 1997 at 01:12:01PM %2B0930
References:  <199709190941.JAA15992@npc.haplink.co.cn> <19970919131201.64155@lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ]-



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970919105215.49966>