Switched 56 Wide Area Network (WAN) Link

The following example show how to set up two routers to dial each other on demand via switched 56k Point to Point Protocol (PPP) connection.

Wide Area Network( WAN) port on router 'A' called field4-gw (144.52.116.4) to dial on demand via switched 56K to router 'B' called oh-gw (144.52.164.1)  and vice versa. The default gateway for router 'A'  field4-gw to the rest of the corporate net is 144.52.116.2. Note: Only use the commands for Signaling Network Management Protocol (SNMP) >set snmp if this protocol will be used on the router, otherwise it is not required.
 

Step 1
Use the following commands to set up router 'A'  field4-gw:

Command> set address 144.52.116.4
Command> set gateway 144.52.116.2
Command> set sysname field4-gw
Command> set snmp on
Command> set snmp readcommunity public
Command> add snmphost reader any
Command> add snmphost writer none

Command> set s2 network twoway
Command> set s2 group 2
Command> set s2 modem on
Command> set s2 protocol ppp
Command> save s2
Command> reset s2

Command> add netuser oh-gw  # must be the SNMP sysname of remote
system
Command> set user oh-gw protocol ppp
Command> set user oh-gw mtu 1500
Command> set user oh-gw address 144.52.164.1
Command> set user oh-gw netmask 255.255.255.0
Command> set user oh-gw routing on
Command> set user oh-gw password what3ever

Command> add location oh-gw # set up location so field4-gw can  
Command> dial out to oh-gw
Command> set oh-gw manual
Command> set oh-gw addr 144.52.164.1
Command> set oh-gw netmask 255.255.255.0
Command> set oh-gw routing on
Command> set oh-gw protocol ppp
Command> set oh-gw mtu 1500
Command> set oh-gw idletime 5
# drop connection after 5 minutes idle
Command> set oh-gw maxports 1
Command> set oh-gw high_water 0
# 0 unless maxports > 1
Command> set oh-gw group 2
# dial group, also set on ports to match the location table
# replace 7005551234 with the telephone number  of oh-gw
Command> set oh-gw tele 17005551234 
Command> save all

Step 2 
Use the following commands to set up router 'B' oh-gw:

Command> set address 144.52.164.1
Command> set gateway 144.52.116.4
Command> set sysname oh-gw
Command> set snmp on 
Command> set snmp readcommunity public
Command> add snmphost reader any
Command> add snmphost writer none 

Command> set s1 network twoway
Command> set s1 group 0
Command> set s1 modem on
Command> set s1 protocol ppp
Command> save s1
Command> reset s1

Command> add netuser field4-gw
Command> set user field4-gw protocol ppp
Command> set user field4-gw mtu 1500
Command> set user field4-gw address 144.52.116.4
Command> set user field4-gw netmask 255.255.255.0
Command> set user field4-gw routing on
Command> set user field4-gw password what3ever


Comand> add location field4-gw
# set up location so oh-gw can dial out to field4-gw
Command> set field4-gw manual
Command> set field4-gw addr 144.52.116.4
Command> set field4-gw netmask 255.255.255.0
Command> set field4-gw routing on
Command> set field4-gw protocol ppp
Command> set field4-gw mtu 1500
Command> set field4-gw idletime 5
# drop connection after 5 minutes idle
Command> set field4-gw maxports 1
Command> set field4-gw high_water 0
# 0 unless maxports > 1
Command> set field4-gw group 0
# dial group, also set on ports to match location table
# replace 7005551234 with the telphone number of field4-gw
Command> set field4-gw tele 17005551234 
Command> save all

Step 3 
From field4-gw attempt to dial oh-gw to verify  that the basic set up is OK.

Command> dial oh-gw -x

If attempt is successful,  RESET THE PORT and change it from manual to on_demand, as follows:

Command> reset s2
Command> set oh-gw on_demand
Command> save all
If attempt is unsuccessful, set a debug to capture PPP negotiations and
dial out again as shown in step 3.
Command> set console 
Command> set debug 0x51

Step 4 
From oh-gw attempt to dial field4-gw to verify that the basic set up is OK.

Command> reset s1
Command> set field4-gw on_demand
Command> save all