Scenario 4 – Serial Tunneling Mode

This scenario shows a serial tunnel established between two serial devices (Serial Device-1, Serial Device-2) using two 102PC-SEs, which are geographically located apart.

 

Serial Tunneling

Commands for Module-1

Commands for Module-2

(Configure for Serial Auto Dial-in).

(Configure for Telnet Auto Dial-out)

# set ip eth0 dhcp-client disable

 

# set ip eth0 ip-address 192.168.2.1

# set ip eth0 dhcp-client disable

# set ip telnet raw-mode enable

# set ip eth0 ip-address 192.168.2.10

# set serial auto-dialin enable

# set ip auto-dialout enable

# set serial s0 raw-dialin enable

# set ip telnet raw-mode enable

# set serial s0 auto-dialin enable

# set serial s0 auto-dialout enable

# set serial s0 auto-dialin trig-mode none

# set serial s0 auto-dialout-port 5000

# set serial s0 auto-dialin-ipaddress 192.168.2.10

# set serial s0 auto-dialout-protocol telnet

# set serial s0 auto-dialin-port 23

# set serial s0 raw-dialout enable

# set serial s0 auto-dialin-protocol telnet

# set serial s0 baud-rate 115200

# set serial s0 baud-rate 115200

# set serial s0 data-bits 8

# set serial s0 data-bits 8

# set serial s0 parity none

# set serial s0 parity none

# set serial s0 stop-bits 1

# set serial s0 stop-bits 1

# set serial s0 flow-control rts-cts

# set serial s0 flow-control rts-cts

# save

# save

 

12/1/2006

35

Page 35
Image 35
N-Tron 102PC-SE Scenario 4 Serial Tunneling Mode, # set ip telnet raw-mode enable, # set serial s0 raw-dialout enable