ROS single-line adsl pppoe dial-up online tutorials

Source: Internet
Author: User
Tags winbox

Hardware resources:

1. Two or more PCs, PC1-soft route server, and PC2-terminal for configuration testing

2. TP-LINKTwo PCI NICs are installed on the server (chip ModelRealtekRTL8139D3. x,ROS5.16 Nic models support displaySomeWork,OthersDon't.CheckForYourself,In version 5.20, the test is currently normal and can be recognized)

3. Hard Disk 1, WD-80G, used to install the ROS system on the server side, before installing the system, you need to delete the original Partition Table, into the entire primary partition, and format the partition table, otherwise the system can not be installed normally

4. Several Network cables

5. One TP-LINK switch, four ports

6. recorders and blank discs


Software resources:

1. ROS5.20 cracked IOS

2. WINBOX5.20 Chinese Version


PC1 settings

1. Download The ROS5.20 cracked version and burn the system IOS file to a disk.

2. First install two NICs to pc1. in this way, the built-in Nic includes three Ethernet interfaces,

3. Connect the hard disk and use the PE system to partition and format the hard disk.

4. In the BIOS settings, set the optical drive to the first boot disk, and put it on the ROS5.20 system disk. The following page is displayed:

5. on the UI again, select the modules to be installed. If you want to install all modules, press a. Otherwise, click I to start installation. The system will prompt you whether to save the previous settings, if n is added because it is newly installed, the system prompts whether to continue or press y. After installation is complete, restart the machine. Before restart, change the hard disk to the first startup Item.





6. after the restart is complete, the logon page appears. Account: admin, password: NULL. Enter the system interface (if the remaining time is used, the version is not activated. You can use the software to import the CD-KEY for cracking later)




7. enter int or interface to go To the NIC settings page,



8. enter print to view the network card status. If the letter R is displayed before the Network Card NAME (NAME), the network card is enabled normally. If the display is X, the network card is not started. You can enter the following code to enable the network card.

En0

En1

En2

The following number is the network card number (#) in the figure (#)

9. Modify the NIC name. The Code is as follows:

Set0Name = Lan

Set1Name = Wan

Set2Name = Other

Wan-access to the Internet, IP addresses are dynamically obtained through DHCP

Lan-Access Lan and manually set its address

10. Enter/return the root directory, set the NIC address and other information, and enter setup,


11. Enter a to display the following interface:

12. enter a nic ip address according to the menu to jump to the interface name that can be modified. The NIC name numbered 0 is displayed by default, and the NIC to be manually added is Lan, if the default display is not a Lan port, You need to manually modify it.

13. Enter the set IP address and subnet mask 192.168.0.254/255.255.255.0 or 192.168.0.254/24

14. Enter g in the menu to set the gateway address. Do not use the default gateway address here. Change it to 0.0.0.0.

15. Press x to exit LAN Nic settings, and then press x to exit the character interface. Now the server has been modified.




PC2 settings

1. Set the PC2 Nic as follows

IP address 192.168.202.1 ~ 253

Subnet Mask 255.255.255.0

Default Gateway 192.168.0.254



2. Enter 192.168.0.254 in the browser.Access the Routing Server

PS: if the connection fails, check whether the network cable is correctly connected to the Lan port of pc1.


3. use WINBOX to connect to the route, double-click to open the software, enter 192.168.0.254 in the route address, and enter the account name and password of the soft route. For the convenience of next login, click Save, and then click Connect to log on to the system.

4. after successful login, a window is displayed. Because the server is installed with an inactive version, you need to import the activated CD-KEY in the WINBOX program here. Click the license pop-up dialog box and continue to click Import KEY, select the KEY file. After the import is successful, restart the system and activate the system on the server.


The WINBOX main menu interface is shown in figure

5. Open the interface dialog box (interfaces) -- click Add (Red Cross drop-down menu) -- select Add PPPOE client (PPPOEClient)


The following dialog box is displayed. On the General tab, select an Internet Nic for the interface.

Enter the ADSL user name and password on the dial-up tab, select default for the template, select on-demand dialing and set as default route, and select other default routes.

The status tab displays the running status information. If the dial is successful, the status in the lower-left corner is displayed as connected, and the running time starts timing. You can also see the IP addresses and broadcast addresses automatically obtained by ADSL.

After the PPPOE client is set up, you can see an additional column of PPPOE interface information in the interface list. If the dial is successful, the Wan port should receive and receive traffic. If not, check configuration steps and physical connections (ADSL cat -- Wan)


6. Set NAT forwarding

Choose "IP"> "FireWall"> "NAT"> "add"


Regular tab Chain: srcnat



Action Tab: masquerade



The setting is complete and data packets start to exist.




In the address list, we can see that the IP address is automatically assigned by the supplier, so the IP address and broadcast address for each dial-up are different.


After all the settings are complete, there is a network problem and the connection fails. After nearly two hours, I had to reinstall the server, reconfigure the server, and change the physical connection. After all, I could not find the crux of the problem and could not succeed.

Finally, I found a document on the Internet, which mentioned the DNS problem in the terminal Nic configuration. I simply tried to enter the local telecom DNS and the connection was successful.




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.