Most of the time, we need to perform virtual operations on some settings during network expansion. The following describes PPPoE virtual dialing. We know that using the popular PPPoE method is the best way to avoid Ethernet-based arp attacks. For details about the principle, refer to the relevant documents ). However, the price of professional hardware solutions is too high. After many applications, the leaders did not approve them. No way, you have to choose the way out. One day after wandering on the internet, I finally chose a soft routing software, RouterOs, which was produced by MikroTik and claimed to be an ISP-level routing software. After reading its manual, I found that it has enough functions! The key is that it supports PPPoE Server. Okay, select it! Next we will start my RouterOs Journey:
I. Introduction to RouterOs
RouterOs is a Linux-based Router operating system with powerful functions and features of almost all hardware routes. Of course, in the PPPoE virtual dialing settings, we only choose its PPPOE Server function. RouterOs requirements are quite simple: a 64 M memory X86 computer with a Pentium CPU or above is enough. Since it is known as an ISP-level router, the memory requirements are a little higher ). The key is support for NICs: Intel's 8255X series, 3com's 3c905 series, and RealTek's 8139 series. Common NICs are all supported. We recommend that you use the Intel82559 Nic, which provides excellent speed and stability. RealTek8139 consumes a lot of CPU resources and is not suitable for big data traffic. The official file says it does not support MTU1500, which may cause problems in special applications. For more information, visit www.mikrotik.com ). The system used by the author is Intel's Pentium III 450, 64 M memory, Intel82559 100 M Nic, which can easily undertake PPPOE dialing for about 200 users and NAT network address translation ). The only drawback is that the software is charged and the trial time is only 24 hours. But fortunately, our "initiative" can solve this problem.
Ii. Installation of RouterOs
This is simple-RouterOs has been integrated with Linux. You can go to the http://www.mikrotik.com/download.html#v2 to download. About 20 M. The disk image version may require 7-9 floppy disks. We recommend that you download the disk image version. Burn the downloaded. iso file to a CD using the recording software. You can use this CD to start and install RouterOs. The installation is automatic and basically requires no manual intervention. For future convenience, you can download the RouterOs graphic configuration interface Winbox.
III. Basic configurations of RouterOs
After restarting the computer, you can see the following interface:
The administrator username is admin. The default password is null. Okay. Forget the cisco or Huawei commands you have learned. Let's take a look at the configuration command of RouterOs: If you use Linux, you will feel familiar with it. The official file for RouterOs configuration classification by sub-operation directory is Home menu level, which I will translate for the time being). That is to say, the work that can be done at different directory prompts is different. Therefore, pay attention to the current working directory.
Common commands are as follows ):
Input? To display the executable commands in the current directory.
Use print to display the configurations in the current directory.
Use add to add configurations.
Use remove to delete the specified configuration.
Enter... to go back to the previous directory.
What is RuterOs? Command population function, you can also use the command abbreviation without ambiguity.
To ensure security, use the password command in the root directory to modify the password of the admin user.
Next, let's start our journey to the PPPoE Server set for RouterOs PPPoE virtual dialing!
Configure our network card for ENI:
In RouterOs, NICs are named in the form of ether1, et22.
The NIC configuration is in the [admin @ MikroTik] interface> directory. Run the print command to see it:
- [admin@MikroTik] interface> print
- Flags: X - disabled, D - dynamic, R - running
- # NAME TYPE RX-RATE TX-RATE MTU
- 0 X ether1 ether 0 0 1500
- 1 X ether2 ether 0 0 1500
X indicates that the NIC has not been started. Use the enable command to start it:
- [admin@MikroTik] interface> en 0
- [admin@MikroTik] interface> en 1
Run the print command to check whether: