We have illustrated the construction of the PPPoE server. After all the preceding settings are complete, we can create a PPPoE server. It's very easy. Come on! Let's see how the specific PPPoE Server settings are completed.
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 ", this step can be used in actual tests)
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 the name username and Password respectively)
Select "PPPoE" in the pppoe Server 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.