Build PPPOE server using LINUX6.0 desktop edition

Source: Internet
Author: User
Tags routeros
Article title: use LINUX6.0 desktop edition to set up PPPOE servers. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Recently, I chatted with my colleagues, saying that there are always some users in the Lan who prefer to use ARP Address Spoofing to trick others into the Internet cafe, he can find out various reasons to win his "rights" to access the Internet, and such a person is often hidden in a CIDR block. he can never get anyone else out of the network, so if you encounter such a difficult master, you need to change the Internet access mode in his Lan. you cannot directly connect to the Gateway on the host, instead, let the user in the Lan perform a PPPOE dialing process before accessing the internet, so that the IP address obtained is consistent with the Gateway address, so as to fundamentally prevent ARP Address spoofing.

  Experience of PPPOE server configuration in LINUX

Previously, we have systematically introduced the use of routeros software to build a PPPOE server. In general, we feel that the server is very powerful and easy to implement (I spoke with my colleagues about it, generally, people with a computer network Foundation can configure the PPPOE server independently after reading the successful configuration operations. However, there is an unavoidable reality: PPPOE servers are commercial software and are expensive. The next trial version of PPPOE servers can be used as practical servers, so we will focus our attention on the LINUX system. the LINUX system will certainly be able to be used as a PPPOE server. In fact, Xiangzi spent an afternoon successfully configuring the PPPOE server in LINUX, but there are a few points to talk about:

I. Many versions of LINUX have resulted in inconsistent configuration commands, while PPPOE software does not provide an authoritative official Configuration tutorial, which leads to the widespread use of PPPOE tutorials on the Internet, it is difficult for beginners to master the essentials of PPPOE configuration based on a tutorial.

II. LINUX is a general operating system, not designed for PPPOE servers. Therefore, when configuring PPPOE servers, sometimes, the configuration of the PPPOE server is affected due to a small setup of LINUX itself (for example, Xiangzi is disconnected from the network when the two NICs of LINUX are restarted this time., fortunately, it is solved by studying the configuration file ).

3. LINUX system's integrated network services should be a trend, that is, when a LINUX server is installed and various network services are installed, it is necessary to enable them at that time, which can simplify operations, increase users' interest and increase the usage of LINUX in the server operating system.

After talking about this, I will introduce how to configure the PPPOE server in the LINUX system. I chose the desktop version of Hongqi LINUX6.0 and installed it in the virtual machine, the two NICs are virtualized and adopt the PPPOE + IPTABLES (NAT) Internet access solution. the configuration process is described in three parts.

Network topology 1

 

We can see that there is no difference in the network topology between using LINUX as a PPPOE server and using routeros as a PPPOE server, we use the Eth1 Nic to connect to the Internet (set IP address, subnet mask, Gateway: 10.70.10.15/255.255.0.0 10.70.0.1), and the Eth0 Nic to connect to the intranet (for security reasons, do not set IP addresses or other information ).

[1] [2] [3] Next page

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.