> 
> On Thu, 12 Nov 1998, Cary B. O'Brien wrote:
> 
> > 3) As an aside, I may have a requirement for dial-out to
> >    several hundred sites.  I can't imagine several hundred
> >    slip interfaces and several hundred diald processes.
> >    Any ideas about how to set this up?  Diald would need
> >    to select from a pool of modems, and then pick the chat
> >    and pppd config files based on IP address of the target.
> 
> Offhand I can't see how you'd do it without several hundred slip
> interfaces.  That's the way diald works.  Several hundred dialds would
> also be OK ... they wouldn't use much more memory than one diald.
> The computer might respond somewhat slower, though ... you'd probably want
> to have a dedicated machine for that.  :-)  And ps listing would look bad,
> but hardly any worse than on a big multiuser site.
> 
> You might consider doing it with kerneld and module auto-loading instead
> of diald, the way the isdn people(?) do it.  I don't know much about it,
> but it would probably be more manageable and less configurable.
> 

What I had in mind was one slip connection to which gets routed all
the ip addresses for the remote sites.

When a packet comes in, diald looks at the target IP, then figures out 
which chat script to run and then which ppp options to pass pppd.

I guess then pppd would bring up the ppp interface and add the route to
the site.  Overall routing would see the ppp interface as being a better
match and use it instead.  Someone would have to look at timers.

There would only be 16 or so modems, so there would never be more
than 16 pppds running.

At this point this is something rather different from diald, but might
use some of the same code, i.e. setting up the fake slip port, and looking
throught packets for headers like the rules stuff does.

One would have to worry about race conditions if incoming and outgoing
calls happen near the same time.  I guess the diald mechanisim for
incoming ppp calls could be used here to.

NB:  I have not looked at the diald code in a while.  This is purely
conjecture at this point.  Still, I may need it in a while.

Comments?

-- cary

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to