Use the home ADSL line and use the CISCO router to build the PPPoe Server so that the PC can access www.2cto.com R1 (config-if) # do sh runBuilding configuration... Current configuration: 1470 bytes! Version 12.4 service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption! Hostname R1! Boot-start-markerboot-end-marker !! No aaa new-modelmemory-size iomem 5 !! Ip cefno ip domain lookup !!! Vpdn enable !!!!!!
haveauthAndrequire-chapThis problem also occurs when the options are set.
At the same time, this problem may also be caused by a Server specified in the property during Windows dial-up connection, which is different from the PPPoE Server Name Enabled in linux.
In pppoe-server, the-S parameter is used to specify the server name.Windows dial-up connection error 734
Error message:
Workflow and status of PPP protocol
1. Workflow of PPP protocolWhen a user dials into the ISP, a physical connection is established from the user's PC to the ISP. Then the user PC sends a series of LCP packets to the ISP (encapsulated in multiple PPP frames) to establish the LCP connection. These groupings and their responses select some of the
0.1 point-to-point
Because the communication set by ADSL dialing relies on VC, point-to-point VC must be set.
◆ Pvc 8/35 sets the related parameters of PVC, that is, the values of VCI and VPI. If you are not clear, you can ask the local telecom.
◆ Pppoe-client dial-pool-number 1PPPoE the dialing process uses the General dialing process dial-pool 1
◆ Interface Dialer1: create a virtual dialing Port
◆ Ip address negotiated because the Bureau provides a
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 display
After the PPPOE between the user and the Access Server is established, a PPP session can be established on it. PPP sessions are established in three phases: LCP negotiation, authentication, and IPCP negotiation.
The LCP negotiation phase is the same for PPP termination and PPP
After the pppoe between the user and the Access Server is established, a PPP session can be established on it. PPP sessions are established in three phases: LCP negotiation, authentication, and ipcp negotiation.
The LCP negotiation phase is the same for PPP termination and PPP
convenience, select NoDoes want to start this connection at boot time?Please enter no or Yes (default NO): No* * Summary of what entered * *#确认无误后, the configuration file is generated automatically.Ethernet interface:eth1User name:gzdsl123456789Activate-on-demand:noDNS addresses:supplied by ISP ' s serverFirewalling:noneUser Control:yesAccept These settings and adjust configuration files (y/n)? y#adsl配置文件如下Adjusting/etc/sysconfig/network-scripts/ifcfg-ppp0Adjusting/etc/
Finally, I understood the principles of using pppoe + NAT as an Internet server.
RP-pppoe settings :
CheckRppppoeInstalled (RedflagInstalled)
Rpm
-
QA
|
Grep
-
I
"
Pppoe
"
/Etc/PPP/PAP-secretsThe configuration is as follows::
#
Client Server secret IP Address
"
USR
"
*
-lookupIP name-server 221.228.255.1 218.2.135.1//Specify Preferred and alternate DNS (varies from place to place, please select faster)4. Configure the external interface g0/0Interface gigabitethernet0/0PPPoE enable group global//Turn on external interface PPPoE function, allow interface to run PpoePppoe-client Dial-pool-number 2//The PPPoE dial-up client for the Ethernet interface joins the dial-up address
For PPPoE Server, we can usually configure and process on ROS. If ARP is completely solved, PPPOE service will be implemented. The following dial-up Internet access will solve the charging problem. As long as the IP address is set for the NIC, the IP address used for dial-up Internet access will not affect the IP address you set. The ros pppoe server settings are
We have explained a lot in PPPoE Protocol configuration, and there are many routing contents involved in this aspect. We have also introduced a lot. Here we mainly analyze a case in the configuration of the ADSL PPPoE Protocol to help you analyze it.
PPPoE Protocol Configuration:
2514 # sh runBuilding configuration...Current configuration: 982 bytes!Version 12.2:
AS pppoe Server Installation notes-Linux Enterprise Application-Linux server application information, the following is a detailed description. Install
Rp-pppoe-3.5-22.i386.rpm
Ppp-2.4.2-6.4.RHEL4.i386.rpm
/Etc/ppp/default file Configuration:
[Root @ GateWay-002 ppp] #
-queue 224 in◆ Interface ATM 0.1 point-to-point
Because the communication set by ADSL dialing relies on VC, point-to-point VC must be set.◆Pvc 8/35 sets the related parameters of PVC, that is, the value of VCI and VPI. If you are not clear, you can ask the local telecom.◆ Pppoe-client dial-pool-number 1PPPoE the dialing process uses the General dialing process dial-pool 1◆ Interface Dialer1: create a virtual dialing Port◆ Ip address negotiated because
We are no stranger to the PPPoE protocol. How can we build a PPPoE server? Here we will explain it in detail. Based on the Setup steps we have summarized, we hope that you can understand this process. Now let's take a look at the specific setting process based on the graphic explanation.
Click PPP in the menu to go out of the
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 "
Routers are often used to build wide-area networks, and the footprints of WAN links are very different from those on Ethernet. Common WAN packages are HDLC, PPP, Frame-relay, etc., and this chapter describes HDLC and PPP. PPP, in contrast, has more functions than HDLC.1.1.1 HDLC IntroductionHDLC is a frame-wrapping format on a point-to-page serial line with a ver
This article was reproduced from: http://blog.csdn.net/zqixiao_09/article/details/52540887In the arm platform to implement the 4G module PPP dial-up Internet access, reference information on the Internet and their own understanding, from the ignorance to the development of the completion of more than a week. Finally see the arm board Ping Pass Www.baidu.com is very happy, now this process is organized as follows. There is, of course, a lot more work t
When setting the PPPOE Server, we need to pay attention to two main points: one is to set the IP address pool, and the other is to set the PPPoE Server parameter process. With these two settings, we can effectively learn more about applications based on what we have learned.
1. Set the IP address pool
Go to winbox and click IP address Pool 。
On the "IP Pool" page, click "+" at the bottom of the menu
On the
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.