SoFunction
Updated on 2025-04-11

Configuration of ADSL Modem routing function

Configuration of ADSL Modem routing function [Author: Anonymous    Reposted from: China Computer Education News                                                                                                                                                                                                                                                  �Morning light

In recent stages, broadband Internet access services are becoming increasingly popular. Among them, ADSL access methods do not require external facilities to be modified, and can be accessed directly through the telephone line. Since users can directly access the public network, their security is significantly stronger than that of the community LAN. For stand-alone users, the installation and configuration of ADSL access is relatively simple. Most of them use PPPOE virtual dialing method to access the Internet by crawling random IP addresses. For users who have multiple computers at home that need to share the Internet, they can generally establish and configure a proxy server to achieve shared Internet access. The disadvantage is that the host must be on to achieve sharing; another effective method is to use a router to achieve sharing, so that each client can access the Internet independently, and the disadvantage is to add expensive routing equipment.

So, is there any better solution to adopt? Then please pay more attention to whether the modem provided by telecom supports routing working mode (many Ethernet interface devices can support multiple routing modes). If so, as long as the user can correctly configure the relevant parameters, the client can use the Switch or HUB connected to it to achieve independent Internet access. The following will use Morningside’s product “Network Express SR-DSL-AE” as an example to illustrate the configuration of its internal PPPOE routing function:

1. Configuration method

1. Use the original network cable to connect the Modem's RJ-45 interface to the PC's network card interface, and configure it by running the Telnet program (the introduction below will be expanded in this way).

2. Use a dedicated serial communication line to connect the COM port of the Modem to the COM port of the PC, and complete the configuration by running the hyper-terminal program.

2. Configuration process

1. Complete the hardware connection between devices, right-click the online neighbor on the desktop of the PC, open the network window, configure the TCP/IP attributes of the network card, set its IP address to 192.168.1.2, if necessary, you can set the gateway and fill in the Modem default internal IP address 192.168.1.1.

2. Enter "telnet 192.168.1.1" in "Start/Run" to open the Telnet application.

3. Enter the Telnet management window, and the default value of Password is adsl.

password: *******

logged on; type `@exit' to close connection.

① Use the help command to display the currently available menu and use the home command to return to the main menu.

>> help

Command:

default - set all configuration to factory setting

lan - entry to Ethernet menu

manage - entry to management menu

mode - exit this menu and change modem mode

pppoe - entry to PPPoE menu

quick - quick setup

r1483 - entry to RFC1483 menu

restart - reboot modem

save - save and restart modem

show - display configuration of PVC and Ethernet

ver - display software version

Type 'help' or 'help ' for more details

The above are all commonly used main menu commands, among which lan, pppoe, r1483, and manage include submenu.

② Use the show command to display the current default parameters, record the available VPI/VCI and other configuration information, and prepare for the next configuration.

>> show

Ethernet ip: 192.168.1.1

Subnet mask: 255.255.255.0

FullDuplex:Disable

FUNCTION VPI/VCI CLASS LLC/VCMUX Spanning Pkt Filter

Rfc1483 8/35 ubr LLC Disable ANY

Rfc1483 8/81 ubr LLC Disable ANY

Rfc1483 0/35 ubr LLC Disable ANY

Rfc1483 0/32 ubr LLC Disable ANY

Rfc1483 1/33 ubr LLC Disable ANY

③ Use the mode command to select the routing working mode, the original default is Bridge mode.

>> mode

Please select bridge or router:(b/r,b)r

Current mode is router

④ Enter the r1483 submenu and delete the original configuration parameters.

>> r1483

> r1483> delwanip all

> r1483> home

⑤ Use the quick command to configure routing working parameters, where the VPI/VCI value can be filled in the original configuration parameters. If the Internet is still not accessible, then change to a pair of numerical values ​​and match it, and there must be one suitable one. User name/Password is the user name and password specified by the Telecommunications Bureau.

>> quick

R1483(r)/ IPoA(i)/ PPPoA(p)/ PPPoE(pe): pe

0 PVC existed, 1 PVC available.

Ethernet IP (192.168.1.1) : 192.168.1.1

Subnet mask (255.255.255.0) : 255.255.255.0

VPI(0-4095): 8

VCI(1-65535): 35

Authentication( PAP(p)/CHAP(c)/None(n) ): c

User name: sz

Password: **

Retype password: **

Setup Configuration

FUNCTION: PPPOE

Ethernet IP: 192.168.1.1

Subnet Mask: 255.255.255.0

# VPI VCI AUTH USERID

1: 8 35 CHAP sz

Preserve the configuration (y/n) : y

Continue quick (y/n) : n

Configuration will have no effect until after save and restart.

⑥ Enter the pppoe submenu and use the setidletime command to configure the free connection time of the Modem, which is up to 50 hours. That is to say, during this time period, as long as the Modem is constantly powered, it will remain online even if there is no client surfing the Internet.

>> pppoe

> pppoe> setidletime 180000

Time Idle 180000 second

> pppoe> home

⑦ Enter the lan submenu and configure the working parameters of the LAN. The value of the dhcpserver dynamic IP address ranges from 192.168.1.2 to 192.168.1.254, that is, the number of users in the LAN can be specified; the value of the dhcpserver dns shall be based on the local domain name resolution server.

>> lan

> lan> dhcpserver 192.168.1.2 192.168.1.20

DHCP Mode: Server.

> lan> dhcpserver dns 202.102.14.141

DNS setup:

First: 202.102.14.141

Second:0.0.0.0

> lan> home

⑧ Use the save command to save all configured information, Modem will be restarted, and the current Telnet program will be terminated.

>> save

Saving configuration...

Configuration saved.

Updating flash file system ...

The PPPOE software inside Modem will automatically dial and grab the public IP address and allocate it to the client for use. The time required for this process is similar to the dialing method of the PC. At this time, run the Telnet program again, and use the show command to display the latest working parameters of the Modem and the public IP address. If the IP address is displayed as ???.???????????????????, it means that the IP address has not been crawled successfully. You can use the restart command or disconnect the Modem power supply once to restart. ⑨. Before the client surfs the Internet, various dial-up connections should be deleted. In addition, right-click IE browser on the desktop, open the Internet properties window, select "Auto Detection Settings" in "Connection/LAN Settings", and do not select the rest. Right-click the online neighbor, open the network window, and restore the automatic setting function of the network card.

3. Restore the default configuration

If you want to restore the original Internet access method, that is, install virtual dial-up software on your PC to access the Internet, you can configure it as follows:

>> default

The data set to default successfully.

Set ADSL configuration back to factory setting.

>> mode

Please select bridge or router:(b/r,r)b

Current mode is bridge

>> save

Saving configuration...

Configuration saved.

Updating flash file system ...

4. Modem upgrade

1. The current version can be displayed in Telnet using the ver command. The upgraded version can be found on the manufacturer's website. The network express SR-DSL-AE can be downloaded. The latest version number is 2.91CG. It can be upgraded through the network cable. It supports the setidletime command in the pppoe submenu.

2. Connect a PC and ADSL Modem, confirm that you can communicate with Modem using telnet 192.168.1.1, and execute the upgrade program on the hard disk. Everything is carried out according to the default method. Special reminder: Power cannot be cut off during the upgrade process, otherwise the equipment will be damaged.

V. Other precautions

1. The entire configuration process is relatively complicated and requires some experience in command operation. If you are not sure, don’t do it easily, especially before using the save command, be careful and remember the original configuration information.

2. Modem may not be downgraded after upgrading.

3. The above configuration can be used for ZTE 831ADSL Modem, and the default password is adsl831.

4. From a security perspective, the default password of Modem must be modified, and you can change it with the setpass command in the manage submenu in Telnet.

5. This article is a personal practice summary and is for your reference only. All equipment damage and other losses caused by it have nothing to do with the author.

Article entry: csh     Editor in charge: csh