Use ROS for PPPoE servers

Source: Internet
Author: User
Article Title: Use ROS as a PPPoE server. 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.

After all the preceding settings are complete, we can create a PPPoE server, which is very simple. Come on!
  
1. Create PPPoE server a, enter winbox, click "Interfaces" at the top of the main menu, and click "settings"-"PPPoE Server" in the pop-up "Interface list" dialog box ",
  
B. In the displayed "PPPoE Server list" dialog box, click "+" on the left, select the Intranet Nic In the "Interface" option, select "One session Per Host", and press OK.
  
2. Create an IP address Pool a. Click "IP-Pool" in the main menu"
B. Click "+" and enter the name in the displayed dialog box, for example, "PPPoE" and "adress", such as "192.168.2.1-192.168.2.254 ". Press OK.
  
3. Create a route for the newly created IP address pool.
A. Select "IP-Firewall" in the main menu. In the "Firewall" dialog box that appears, click the "Source NAT" tab and click "+" to bring up "Src. NAT Rule dialog box,
  
Click the "General" tab and enter the network number and mask of the IP address pool in "Src. Adress", for example, 192.168.2.0 with a mask of 24. B. Click the "Action" tab,
  
As before, select "masquerade" in the "Action" option and press OK.
  
4. Establish user and User restrictions.
A. Click "PPP" under the main menu. In the displayed dialog box, click the "Profiles" tab and double-click the default setting with "*" in front of it, the "PPP Profile" dialog box is displayed,
  
Click the General tab and enter a name in name.
In local address and remote address, select the address Pool created in the IP Pool.
Enter the DNS Server address in the DNS Server, and press "..." on the right. Number.
  
B. Click the "limit" tab,
  
The Tx Bit Rate and Rx Bit Rate are the downstream and upstream bandwidths respectively. Set 1024000 to 1 m as needed. Select Only One and Change tcp mss, and press OK.
  
C. Click "PPP" under the main menu, select "Secrets" in the pop-up dialog box, and click "+" on the left to bring up the "New PPP Secret" dialog box,
  
Enter name and Password respectively)
Select "pppoe" in service and press OK. Note: more users can be added here.
  
Now, as long as the client is connected to the LAN, do not set an IP address, or set any IP address, you can use PPPoE to dial up the Internet. At the same time, only in the ARP list for the MAC-IP bound to the computer do not need to dial, boot can access the Internet.
  

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.