You are viewing an article about an obsolete product. Information on this page is provided as-is and not supported.

How do I connect two LANS together using the PortServer II with Dialup Modems over a telephone (POTS) landline?

 


[UNIX]-[LAN]-[PS II]--[MODEMS]--[PS II]-[LAN]-[UNIX]

 

PortServer II setup:

  • On 192.8.8.5 enter the following commands logged in as "root" on your PortServer II:
    Configure Port(s):
    #> set port range=8 dev=mio 
    #> set flow range=8 ixon=off ixoff=off rts=on cts=on 
    
    Enable routing (using static routes):
    #> set forward state=passive 
    
    Configure user for network interface:
    #> set user name=fuzz NetService=on DefaultAccess=NetService PPPAuth=none
    #> set user name=fuzz IpAddr=192.8.7.5 protocol=PPP IPMask=255.255.255.0
    
    
    Note: The default password is the username, use newpass to change password
  • On 192.8.7.5 enter the following commands logged in as "root" on your PortServer II:
    Configure Port(s):
    #> set port range=8 dev=mout 
    #> set flow range=8 ixon=off ixoff=off rts=on cts=on 
    
    Configure and reference dialer script:
    #> set script name=dialstd s1="M{atdt%n\r} [BUSY]* [CONNECT]+ S50 T="
    #> set device name=netdev ports=8 dialer=dialstd 
    
    Enable routing (using static routes):
    #> set forward state=passive 
    
    Configure user for network interface:
    #> set user name=hoss NetService=on DefaultAccess=NetService PPPAuth=none
    #> set user name=hoss IpAddr=192.8.8.5 Protocol=PPP IPMask=255.255.255.0
    #> set user name=hoss LoginScript=loginscript p1=fuzz p2=fuzz n1=555-1234
    #> set user name=hoss Device=netdev Dialout=on
    

Note: The default password is the username, use newpass to change password

Unix setup (SVR4):

On the two Unix systems show in the diagram above, we need to tell them to pass their IP traffic destined for the other side of the link through the Digi PortServer II PPP connection. We do this by adding a static route in the routing table on the Unix systems.

  • On the Unix System with the IP address of 192.8.8.4:
    # route add net 192.8.7.0 192.8.8.5 2 
  • The Unix System with the IP Address of 192.8.7.4:
    # route add net 192.8.8.0 192.8.7.5 2

You should now be able to ping the the Unix systems or any other device attached to the networks on both sides of the LAN through the WAN PPP link on the PortServer II.

 

  • Alternately, copy the following for each side (edit them appropriately) and cpconf them to the portserver II:

    Dialin side:

     

    set line range=16 parity=N csize=8 error=null 
    set line range=16 baud=115200 stopb=1 break=send inpck=off istrip=off onlcr=off otab=off
    set flow range=16 ixon=off aixon=off ixoff=off ixany=off itoss=off altpin=off
    set flow range=16 rts=on dtr=off cts=on dcd=off dsr=off ri=off
    
    set keys range=16 xon=^Q xoff=^S xona=^Q xoffa=^S
    
    set user name=callin1 defaultaccess=netservice autoport=0 password=on
    set user name=callin1 autohost=0.0.0.0 menu=0
    set user name=callin1 commandline=on autoconnect=off netservice=on
    set user name=callin1 outgoing=off autoservice=default
    set user name=callin1 accesstime=""
    set user name=callin1 sessiontimeout=0 idletimeout=0 maxports=64
    set user name=callin1 ports=1-64
    set user name=callin1 ipaddr=10.0.1.1 ipmask=255.0.0.0
    set user name=callin1 localipaddr=0.0.0.0 netrouting=off
    set user name=callin1 protocol=ppp compression=none vjslots=16 mtu=1500
    set user name=callin1 pppauth=none passive=off addrcompress=on
    set user name=callin1 localbusydly=0 rmtbusydly=0 downdly=0
    set user name=callin1 bringup="" keepup=""
    set user name=callin1 passpacket="" logpacket=""
    set user name=callin1 papid="" pappasswd="" chapid="" chapkey=""
    set user name=callin1 device="" loginscript=""
    set user name=callin1 n1="" n2="" n3="" n4="" n5="" 
    set user name=callin1 n6="" n7="" n8="" n9="" 
    set user name=callin1 p1="" p2="" p3="" p4="" p5="" 
    set user name=callin1 p6="" p7="" p8="" p9="" 
    set user name=callin1 asyncmap=00000000 frport=1 frdlci=0
    set user name=callin1 protocompress=on dialout=off
    
    set config gateway=0.0.0.0         ip=199.86.5.39     nameserv=0.0.0.0         boothost=199.86.5.30    
    set config submask=255.255.255.0   bootpserver="" bootpgenericfile=""
    set config bootp=no tftp=no redirect=ignore realport=771
    
    set port range=16 dev=mio sess=4 termtype=vt100 uid=0 edelay=1 auto=off bin=off group=0
    set port range=16 dest=0.0.0.0 dport=0
    

    Dialout side:

     

    set line range=15 parity=N csize=8 error=null 
    set line range=15 baud=115200 stopb=1 break=send inpck=off istrip=off onlcr=off otab=off
    set flow range=15 ixon=off aixon=off ixoff=off ixany=off itoss=off altpin=off
    set flow range=15 rts=on dtr=off cts=on dcd=off dsr=off ri=off
    set keys range=15 xon=^Q xoff=^S xona=^Q xoffa=^S
    
    set user name=callout1 defaultaccess=netservice autoport=0 password=on
    set user name=callout1 autohost=0.0.0.0 menu=0
    set user name=callout1 commandline=on autoconnect=off netservice=on
    set user name=callout1 outgoing=off autoservice=default
    set user name=callout1 accesstime=""
    set user name=callout1 sessiontimeout=0 idletimeout=0 maxports=64
    set user name=callout1 ports=1-64
    set user name=callout1 ipaddr=199.86.5.39 ipmask=255.255.255.0
    set user name=callout1 localipaddr=0.0.0.0 netrouting=off
    set user name=callout1 protocol=ppp compression=none vjslots=16 mtu=1500
    set user name=callout1 pppauth=none passive=off addrcompress=on
    set user name=callout1 localbusydly=0 rmtbusydly=0 downdly=0
    set user name=callout1 bringup="" keepup=""
    set user name=callout1 passpacket="" logpacket=""
    set user name=callout1 papid="" pappasswd="" chapid="" chapkey=""
    set user name=callout1 device="netdev" loginscript="loginscript"
    set user name=callout1 n1="555-5555" n2="" n3="" n4="" n5="" 
    set user name=callout1 n6="" n7="" n8="" n9="" 
    set user name=callout1 p1="callin1" p2="callin1" p3="" p4="" p5="" 
    set user name=callout1 p6="" p7="" p8="" p9="" 
    set user name=callout1 asyncmap=00000000 frport=1 frdlci=0
    set user name=callout1 protocompress=on dialout=on
    
    set config gateway=0.0.0.0         ip=10.0.1.1     nameserv=0.0.0.0
    set config submask=255.0.0.0       bootpserver="" bootpgenericfile=""
    
    set port range=15 dev=mout sess=4 termtype=vt100 uid=0 edelay=1 auto=off bin=off group=0
    set port range=15 dest=0.0.0.0 dport=0
    
    set script range=3 name=dialstd s1="M{atdt%n\r} [BUSY]* [CONNECT]+ S50 T="
    
    set device range=1 name=netdev baud=no dialer=3 chat=no ports=15
Last updated: Jun 05, 2019

Recently Viewed

No recently viewed articles

Did you find this article helpful?