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

Page 30

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

Image 30
Contents 12/1/2006 Table of Contents 12/1/2006 Safety Warnings Contact InformationEnvironmental Safety Electrical Safety Package Contents CleaningUnpacking Servicing DIN Rail MountingFront Panel Color DescriptionApplying Power Top View Grounding Techniques Connecting the Unit Serial Interface Serial CableRS-232 Troubleshooting Support FCC StatementCLI Tree of Menus Set Set configurable fields Recv-mail Configure incoming mail options Send-mail Configure outgoing mail optionsSerial Configure the serial settings for the serial port s0 Show Show general and detailed information Socket Actions to take over a UDP socket Software Configuration Web Management12/1/2006 Port Configuration General ConfigurationUser Configuration Web Management Tree of MenusPPP Configuration Modem ConfigurationBridge Configuration ChatscriptTelnet Configuration Successfully. These cannot be modifiedUDP Configuration Autodial ConfigurationSmtp Address Configuration Http ConfigurationSnmp Configuration POP3 ConfigurationRestore Defaults Sntp Daylight Saving ConfigurationCommands Sntp GeneralMandatory Configuration Settings Ethernet to Serial ConnectivityCommands to Setup Manual Dial-out with the 102PC-SE Scenario 1 Manual DialoutScenario 2 Auto Dialout Using Telnet PrerequisitesScenario 3 Auto Dialout Using UDP Auto Dialout Feature using UDP Mode# set ppp ppp0 raw-mode enable Scenario 4 Remote Bridging with Modem ConnectionSerial to Ethernet Connectivity Commands to Setup Manual Dial-In with the 102PC-SE Scenario 1 Manual Serial Dial-inScenario 2 Serial Auto Dial-in Using Telnet Scenario 3 Serial Auto Dial-in Using UDP FunctionalityScenario 4 Serial Tunneling Mode # set ip telnet raw-mode enable# set serial s0 raw-dialout enable Using E-Mail Features Sending Text E-mails from the Command Prompt Receiving E-mails from the Command Prompt Emissions and Safety Approvals KEY SpecificationsSwitch Properties PhysicalTron Limited Warranty