Click on the menu PPP, step out of the PPP settings screen, here is the place to set up the PPPoE server, next
650) this.width=650; "src=" Http://hiphotos.baidu.com/hujizhou/pic/item/ad81036d9d53f7e44216945c.jpg "alt=" Ad81036d9d53f7e44216945c.jpg "/>
Click on the PPPoE Servers tab, click + Jump out of the interface after configuring the server, please see the diagram. Next
After completing this, do the IP address pool of the PPPoE server, the role of the address pool is the following customers dial-up from the pool automatically obtain the IP address, so here you can arbitrarily set a class C segment, see the diagram. Next
650) this.width=650; "src=" Http://hiphotos.baidu.com/hujizhou/pic/item/eb5fd7241736ec1e4d088d5b.jpg "alt=" Eb5fd7241736ec1e4d088d5b.jpg "/>
650) this.width=650; "src=" Http://hiphotos.baidu.com/hujizhou/pic/item/a55218979f5a787254fb9620.jpg "alt=" A55218979f5a787254fb9620.jpg "/>
Click on the menu PPP to set the PPP settings interface, click on the label profiles, set the parameters according to the plot, next
650) this.width=650; "src=" Http://hiphotos.baidu.com/hujizhou/pic/item/662ae888b689c28ba5c27221.jpg "alt=" 662ae888b689c28ba5c27221.jpg "/>
This step is to set up a user account, click on the label secrets, and then click + Out of the settings screen, according to the figure set user name, password and PPPoE service, determined after the user account is established, to where the PPPoE server in the routing has been established, now from the client with PPPoE Dial software test, if the connection is successful , then congratulations, your server has been established successfully.
650) this.width=650; "src=" Http://hiphotos.baidu.com/hujizhou/pic/item/397e4c8b1daafc0dc9fc7a2d.jpg "alt=" 397e4c8b1daafc0dc9fc7a2d.jpg "/>
============================================================
The following is a transfer from another article on the Setup method, can be used in conjunction with the method, do reference!!
Before all the settings are complete, we can do a PPPoE server, very simple, come on!
First, create a PPPoE server A, enter the Winbox, click on the main Menu "Interfaces", in the pop-up "Interface List" dialog box, click "Settings"-"PPPoE server", (This step can not be tested by actual testing)
b, then pop up the "PPPoE Server List" dialog box, click on the left "+" number, "Interface" option to select the intranet network card, select "One session Per Host", press OK.
Second, create the IP address Pool A, click "Ip-pool" in the main menu
b, click the "+" sign, enter the name in the dialog box that appears, such as "PPPoE", adress, such as "192.168.2.1-192.168.2.254". Press OK.
Third, establish a route for the IP address pool you just created.
A, select "Ip-firewall" in the main menu, in the "Firewall" dialog box that appears, click on the "Source NAT" tab, click the "+" sign, the "Src.nat Rule" dialog box,
Click on the "General" tab, and in "Src.adress" Enter the network number and mask for the IP address pool, such as: 192.168.2.0, Mask 24. b, click on the "Action" tab,
As before, select "Masquerade" in the "Action" option and press OK.
Iv. establish user and user restrictions.
A, click on the "PPP" under the main menu, in the dialog box that appears, click on the "Profiles" tab, double-click the "*" above the default settings, the "PPP Profile" dialog box pops up,
Click on the "General" tab and enter a name in the names, whatever.
Select the address pool that you just created in the IP pool in the local address and remote address.
Enter the DNS server address in DNS server and add a few more by pressing the "..." number on the right.
b, then press the "Limit" tab,
The Tx bit rate and the RX bit rate inside are the downlink and upstream bandwidth respectively, set as needed, 1024000 is 1M. Select only one and change TCP MSS, press OK.
C, click "PPP" under the main menu, select "Secrets" in the pop-up dialog, and click on the "+" sign on the left to bring up the "New PPP Secret" dialog box.
Enter name (username) separately, Password (password)
Select "PPPoE" in the service and press OK. Note: You can add more users here.
OK, now as long as the client is connected to the LAN, do not set the IP, or arbitrarily set the IP, you can dial the Internet via PPPoE. At the same time, only the ARP list in the MAC-IP binding computer does not dial, power on the Internet.
============================================================
How to configure text commands:
Configuring the PPPoE Server
The PPPoE Server configuration of RouterOS can be divided into 4 steps:
• Set up an intranet IP address pool for PPPoE virtual dial-up users to dynamically assign IP addresses to customers.
· Add a PPP profile that sets an intranet IP address so that the customer can obtain an IP address from the address pool.
· To add a PPPoE dial-up user, the user can dial using the user name and password.
· Add a PPPoE Server.
When the work is done, the user can make virtual dialing
Let's take a concrete look at the following:
1. Add a pool of addresses called Mypool
[[email protected]] IP pool> add name=mypool ranges=192.168.0.2-192.168.0.254
You can use the Print command to see:
[[email protected]] IP pool> Print
# NAME RANGES
0 Mypool 192.168.0.2-192.168.0.254
2. Add a PPP profile named MyServer
[[email protected]] PPP profile> add name=myserver local-address=192.168.0.1 remote-address=mypool
You can use the Print command to see:
[[email protected]] PPP profile> print
Flags: *-Default
1 name= "MyServer" local-address=192.168.0.1 remote-address=mypool session-timeout=0s idle-timeout=0s
Use-compression=no use-vj-compression=no use-encryption=no Require-encryption=no only-one=no
Change-tcp-mss=yes tx-bit-rate=0 rx-bit-rate=0 incoming-filter= "" outgoing-filter= "" dns-server= ""
Wins-server= ""
3. Add the user name ABC to the PPPoE server with a password of 111 and the user can only use the PPPoE service.
[[email protected]] PPP secret> add name=abc password=111 service=pppoe profile=myserver
Use the command print to see:
[[email protected]] PPP secret> print
FLAGS:X-Disabled
# NAME SERVICE Caller-id PASSWORD profile remote-address
0 ABC PPPoE 111 myserver 0.0.0.0
4. Add a PPPoE service named Mypppoe with the port set to the intranet interface Ether2
[Email protected]]interface pppoe-server server>add Service-name=mypppoe interface=ether2 default-profile= MyServer
You can also use the command print to see it.
Four. Configure NAT
Since our intranet is using private IP address, in order to be able to access the normal Internet, but also configure NAT for address translation can be.
We're going to use the way RouterOS is called "Source NAT."
[[email protected]] IP firewall src-nat>add action=masquerade out-interface=ether1
Activating NAT using commands
[[email protected]] IP firewall src-nat> enable 0
Five. Configure the default route, IP address 222.168.9.252 is the address of our next hop.
[[email protected]] IP route> add dst-address=0.0.0.0/0 gateway=222.168.9.252
Six. Configure the Client
You only need to install PPPoE virtual dialing software on the client computer.
Note: The client and server are connected through the network set of the switch device to communicate properly.
This article is from "I'm Still alive" blog, please be sure to keep this source http://hujizhou.blog.51cto.com/514907/1866896
Router OS creates a PPPoE server.