Demand Dial Connection

This example of a demand dial connection is illustrated using  two Lucent PortMaster (TM) units PM#1 (192.9.100.1) and PM#2 (192.9.200.1) both have modems on port S1 that will be used to have them dial each other on demand (when either router sees traffic for the other router) using PPP.  IP addresses shown are for example only: 
Step 1:  On PM#1 enter the following commands: 

Command> set address 192.9.100.1

Command> set s1 network 1
Command> set s1 extend on
Command> set s1 speed 1 115200   
Command> set s1 speed 2 115200
Command> set s1 speed 3 115200
Command> set s1 modem on
Command> set s1 xon/xoff off
Command> set s1 rts/cts on
Command> set s1 override xon off


Command> add netuser Ppm2
# set up netuser login so PM#2 can dial into PM#1
Command> set user Ppm2 protocol ppp
Command> set user Ppm2 mtu 1500
Command> set user Ppm2 address 192.9.200.1
Command> set user Ppm2 netmask 255.255.255.0
Command> set user Ppm2 map 00000000
Command> set user Ppm2 compress on
Command> set user Ppm2 routing on
Command> set user Ppm2 password what4ever


Command> add location pm2
# set up location so PM#1 can dial out to PM#2
Command> set pm2 manual
Command> set pm2 address 192.9.200.1
Command> set pm2 netmask 255.255.255.0
Command> set pm2 routing on
Command> set pm2 protocol ppp
Command> set pm2 compress on
Command> set pm2 map 00000000
Command> set pm2 mtu 1500
Command> set pm2 1 5
# drop connection after 5 minutes idle
Command> set pm2 1 1
Command> set pm2 high_water 0
# 0 unless 1 > 1
Command> set pm2 group 0
# dial group, also set on port
# replace xxxx with the telephone number of PM#2
Command> set pm2 script 1 "ATDT xxxxx\r" "CONNECT"
Command> set pm2 script 2 "\r" "ogin:"
Command> set pm2 script 3 "Ppm1\r" "ssword:"
Command> set pm2 script 4 "what4ever\r" "PPP"
Command> save all
Command> reset s1

Step 2: On PM#2 set up using the same commands as above except you should swap PM#1 and PM#2 and their addresses. 

Step 3: From PM#1 attempt to dial PM#2 to verify that the configuration is set up properly. 
Command> dial pm2 -x 
If this is successful,  RESET THE PORT and change it from manual to on_demand, as follows: 

Command> reset s1
Command> set pm2 on_demand
Command> save all

Step 4: Repeat  on PM#2