beautypg.com

Scenario 4 – serial tunneling mode – N-Tron 102PC-SE User Manual

Page 36

background image

(Revised 2010-11-15)

36

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
(Configure for Serial Auto Dial-in).

# set ip eth0 dhcp-client disable
# set ip eth0 ip-address 192.168.2.1
# set ip telnet raw-mode enable
# set serial auto-dialin enable
# set serial s0 raw-dialin enable
# set serial s0 auto-dialin enable
# set serial s0 auto-dialin trig-mode none
# set serial s0 auto-dialin-ipaddress 192.168.2.10
# set serial s0 auto-dialin-port 23
# set serial s0 auto-dialin-protocol telnet
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 stop-bits 1
# set serial s0 flow-control rts-cts
# save

Commands for Module-2
(Configure for Telnet Auto Dial-out)

# set ip eth0 dhcp-client disable
# set ip eth0 ip-address 192.168.2.10
# set ip auto-dialout enable
# set ip telnet raw-mode enable
# set serial s0 auto-dialout enable
# set serial s0 auto-dialout-port 5000
# set serial s0 auto-dialout-protocol telnet
# set serial s0 raw-dialout enable
# set serial s0 baud-rate 115200
# set serial s0 data-bits 8
# set serial s0 parity none
# set serial s0 stop-bits 1
# set serial s0 flow-control rts-cts
# save