Hi Uwe,

>This is one step to big for me :-)

>I do have 2 interfaces plus two remote-address IPs in such a case

>Is all that handled by ISDNNPM internally?

>How can you explain/"create a picture" for the internal routing of ISDNPM?

I will try my best (Mrs. Sofie):

ISDNPM takes the destination address of the packets to be sent
and checks all available connections until one is found with a suitable address range.
This comparison uses the user defined include- and exclude-lists
(RemoteAdress und ExRemoteAddress).

If a connection is found from the list and Masquerading is enabled,
the senders IP address is changed into the correct value given from the remote
net or taken from the user.out file and the packet will be sent after that change.

If no active connection is found, all defined users with AutoDial enabled are checked
until one is found where the destionation address fits.
If correct user is found then next action is dial and go on as above.

If no user is found then the packet is dropped.

The senders IP address is not taken into account if masquerading is enabled
therefore you can configure sl0 or lan interface with fixed IP addresses and 
additionaly the defult route is set to this IP address.
Without Masquerading there is no usable Autodial to ISPs possible.
Except the case taht your ISP gave a fixed IP address to you.


PS:
The flag DEFAULT and the parameter YourIP are only an easy way
to setup the RemoteAddress entries:

  Flag : DEFAULT   -> RemoteAddress : 0.0.0.0/0.0.0.0
  YourIp : 1.2.3.4 -> RemoteAddress : 1.2.3.4/255.255.255.255

(last line is maybe executed automatically during PPP-Setup)


The remote address IP (=YourIP) I mentioned is completely unnecessary:

  ifconfig sl0 LocalIP RemoteIP
  route add default RemoteIP

is the same as

  ifconfig sl0 LocalIP
  route add host RemoteIP LocalIP
  route add default RemoteIP

You can combine that as:

  ifconfig sl0 LocalIP
  route add default LocalIP

Because of Masquerading the local IP might be fixed, there is no need to
configure or setup any interface os route during establishing connections.

Manfred

PS: Masquerading is doing more than only changing the
senders IP address
-------------------------------------------------------
Thu Sep 07 14:56:47

