On Wed, 2 Jun 1999, Jessen, Per wrote:

> Perhaps this can be done like this:
> 
> 1. have 2 dialds running, using different filtering. One triggers for
>    only one sort of traffic, whereas the other is the 'general' one. 
> 
> 2. issue the 'isdnctrl addphone' / 'isdnctrl delphone' commands to setup the
>    appropriate phone-numbers before dialing.

One of our customer's systems has half a dozen diald's running,
with different addresses etc. One for us, one for a London
branch, two for Scottish branches, one for a sister company,
one for a link to some banking service. Oh, and one for their
ISP as well :-).

  Each diald has a list of ippp devices it can use. When it wants to
dial out it picks one just like picking a modem. The connect script
then sets numbers etc., dials it and deletes the numbers again.
The disconnect script does a hangup. Some of the links are two
way. The ip-up script used by ipppd gets the IP address. A directory
holds a nest of IP address symlinks to diald fifos. The ip-up
script writes a command to the matching IP address symlink
telling that particular diald to come up on the right ippp interface.

  There are now other, and better, ways of doing this - especially
now we can snoop a real interface in place of a proxy. However this
has been working in this way for, oh, two or three years now I guess.

                                Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


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

Reply via email to