Subject: Re: PPP demand-dial question
To: Scott Bartram <scottb@orionsoft.com>
From: Curt Sampson <cjs@portal.ca>
List: current-users
Date: 10/14/1997 11:01:15
On Tue, 14 Oct 1997, Scott Bartram wrote:

> So I'm setting up a demand-dial router using NetBSD/i386 and come to
> find out that the ISP has multiple remote IP addresses. As far as I can
> tell, this prevents me from using the "demand" option in my pppd config
> file. I tried using the ipcp-accept-remote option but that's not
> allowed with "demand" either. Anybody have any suggestions?

Just set the remote address to whatever you like. (It doesn't even
have to be the address of one of the ISP's machines, or even on
their network.)

The address of the remote end is needed because you have to have
a (usually default) route through the PPP interface *before* you
dial, otherwise it won't be able to dial-on demand, because it
won't see the demand. However, that address isn't actually used on
the PPP link itself since it's a point-to-point link; your machine
just stuffs the final destination IP address in the packet and
shoves it out over the link, assuming whomever might be on the
other end will know how to deal with it. So the remote never knows
what IP address you've `assigned' it, anyway.

cjs

Curt Sampson    cjs@portal.ca	   Info at http://www.portal.ca/
Internet Portal Services, Inc.	   Through infinite myst, software reverberates
Vancouver, BC  (604) 257-9400	   In code possess'd of invisible folly.