Scenario 4 – Remote Bridging with Modem Connection

This example of remote transparent bridging uses a modem connection between the serial ports.

Transparent Bridging with Modem Connection

Commands Setup for Segment-1

Commands Setup for Segment-2

# set ip eth0 dhcp-client disable

 

# set ip eth0 ip 192.168.2.1

# set ip eth0 dhcp-client disable

# set bridge enable

# set ip eth0 ip 192.168.2.10

# set bridge ipmodule ip-address 192.168.2.1

# set bridge enable

# set ppp ppp0 enable

# set bridge ipmodule ip-address 192.168.2.10

# set ppp ppp0 raw-mode enable

# set ppp ppp0 enable

[Only if simple AHDLC quoting on the serial port is required.]

# set ppp ppp0 raw-mode enable

# set serial s0 connect-type modem

[Only if simple AHDLC quoting on the serial port is required.]

# set serial s0 connect-state dialing

# set serial s0 connect-type modem

# set serial s0 modem init-string 1 "+++ATH0"

# set serial s0 connect-state answering

# set serial s0 modem init-string 2 "AT&F"

# set serial s0 modem init-string 1 "+++ATH0"

# set serial s0 modem dial-number 234

# set serial s0 modem init-string 2 "AT&F"

# 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

#save

Notes:

1.For simple AHDLC quoting on the serial port, the raw-mode has to be enabled on both the 102PC-SEs. Raw-mode is disabled by default

2.102PC-SE Module-1 is configured for modem dialing. 102PC-SE Module-2 is configured for modem answering.

3.If you wish to have a complete control on the modem-dialing end, use the chat-scripts. By default the dialing-method is configuration.

4.Refer the following commands in the Command Line Section for more details on the chatscripts.

#set serial s0 modem dialing-method ?

#set serial s0 chat-script ?

Important Note:

The chat-script should be used ONLY FOR THE DIALING END.

12/1/2006

30

Page 30
Image 30
N-Tron 102PC-SE user manual Scenario 4 Remote Bridging with Modem Connection, # set ppp ppp0 raw-mode enable