Home > PPP over Ethernet (PPPoE) Tutorial

PPP over Ethernet (PPPoE) Tutorial

PPPoE stands for Point-to-Point Protocol over Ethernet. It is a means of establishing a point-to-point communications channel over an Ethernet network. But why do we need PPPoE? To understand the reason of PPPoE, we need to understand about Ethernet and PPP.

As we know, Ethernet is not a point-to-point but a multipoint technology (even when two devices are connected back to back). Ethernet is designed to allow multiple devices to share a common medium, called a “broadcast domain”.

While Ethernet is dominating at customer sides, Internet Service Provider (ISP) still like PPP because of authentication (PPP supports CHAP), accounting (checking customer’s bill), link management (ISP can use PPP to assign a public IP address for customer).

However, Ethernet and PPP do not support each other natively. To utilize the benefits of both Ethernet and PPP, a protocol was created: PPPoE, which allows computers to connect to an ISP via a Digital Subscriber Line (DSL) modem.

 

PPPoE_Connection.jpg

PPPoE creates a PPP tunnel over an Ethernet connection by encapsulating a PPP frame inside an Ethernet frame. The modem converts the Ethernet frames to PPP frames by stripping the Ethernet headers. The modem then transmits these PPP frames on the ISP’s DSL network.

Note: PPPoE client functionality can be installed on the DSL modem or on the user computer as a software. If PPPoE is implemented on the DSL modem, all the users behind will share the same PPPoE account of the DSL modem. If PPPoE is installed on user computer, each computer can access different services with different PPPoE accounts. Nowadays PPPoE client functionality is available in most operating systems from Windows, Linux to Mac OS.

The picture below shows the PPPoE Client dialog box to enter username and password before making a PPPoE connection on Windows OS.
PPPoE_Client_Windows.jpg

PPPoE Client on Windows

PPPoE simulates the dial environment where each PPPoE session is treated as a separate phone line, even though they are being transported on a single PVC.

PPPoE is composed of two main phases:

+ Active Discovery Phase: In this phase, the PPPoE client locates a PPPoE server, called an access concentrator. During this phase, a Session ID is assigned and the PPPoE layer is established.
+ PPP Session Phase: In this phase, PPP options are negotiated and authentication is performed. Once the link setup is completed, PPPoE functions as a Layer 2 encapsulation method, allowing data to be transferred over the PPP link within PPPoE headers.

PPPoE Configuration

PPPoE_Topology.jpg

Configuration at Client side (PPPoE Client)

interface Dialer 2
 encapsulation ppp
 ip address negotiated
 ppp chap hostname TUT
 ppp chap password MyPPPoE
 ip mtu 1492
 dialer pool 1

1. First we need to create a dialer interface with the interface Dialer 2 command. Any interface number is good. A dialer interface is a virtual interface and PPP configuration is placed on the dialer interface, not on the physical interface. The PPPoE client can be configured with a static IP address but in most cases it will be automatically assigned a public IP address by the ISP so we used the ip address negotiated command here.

The CHAP hostname and password must be configured so that the PPPoE Server can authenticate the customer. The hostname and password configured on the PPPoE Client router must match the hostname and password configured on the PPPoE Server router. In this case, the commands ppp chap hostname TUT & ppp chap password MyPPPoE tells the router to use “TUT” & “MyPPPoE” as the username & password to authenticate with the server.

The maximum transmission unit (MTU) should be reduced to 1492 (default of 1500) to accommodate the PPPoE headers: 6 bytes for the PPPoE header and 2 more for the PPP protocol ID. This prevents unnecessary fragmentation.

Finally this dialer interface must be linked to a dialer pool with the dialer pool 1 command.

Next we configure the physical interface.

interface Ethernet0/1
 no ip address
 pppoe enable
 pppoe-client dial-pool-number 1

2. The physical Ethernet0/1 interface that connects toward the PPPoE Server is enabled PPPoE with the pppoe enable command. This physical interface is then linked to dialer pool 1 with the pppoe-client dial-pool-number 1 command. Notice that the dialer pool number must match on the dialer interface and physical interface. In other words, the number in the commands “dialer pool <number>” (on Dialer interface 2) and “pppoe-client dial-pool-number <number>” (on interface E0/1) must be the same. But notice that the dialer interface number (interface Dialer 2) does not have to match the dialer pool number. This is how the dialer pool is connected to the interface dialer and physical interface:

dialer_interface_dialer_pool_physical_interface.jpgAlthough this way of configuration is a bit more complex than directly connecting physical interfaces into dialer interface but it makes the configuration more flexible. Imagine you have three dialer interfaces 2, 5, 10 and many physical interfaces. With dialer pools, you can easily change the physical interfaces which need to associate with your dialer interfaces without making change at the physical interface level.

multiple_dialers.jpg

In the next part we will learn how to configure PPPoE at Server side.

Comments
Comment pages
  1. bob
    January 16th, 2018

    Hi all, are the quizzes on the front page (flash quizzes) not the questions that are in the test?

  2. MOhamed Atef
    January 21st, 2018

    Could anyone send me last version of ccnp dump that still valid on my email : {email not allowed}

  3. MOhamed Atef
    January 21st, 2018

    Could anyone send me last version of ccnp dump that still valid on my email :
    mohamedatefm hotmail com

  4. MOhamed Atef
    January 21st, 2018

    Hello

    Could you send me last version of ccnp dump that still valid please

    the email : mohamedatefelgendy at gmail
    Kindly

  5. Mustt
    January 22nd, 2018

    Hello
    Could you send me last version of ccnp dump that still valid please
    the email : mustafa_basciftci at hotmail . com
    Kindly

  6. dumpspro
    January 26th, 2018

    latest dumps ccnp

    dumpspro.com/ccnp-dumps

  7. Fred
    January 27th, 2018

    latest dumps.
    100% Guaranteed VALID passing Material

    CCNA 200-125 LAtest Dumps
    CCNP ROUTE 300-101 Latest Dumps
    CCNP SWITCH 300-115 LAtest Dumps
    CCNP TSHOOT 300-135 LAtest Dumps
    CCIE R&S 400-101 LAtest Dumps

    http://docs.google.com/document/d/1uNus4y1-rXi7PC78hOzp8HX8rC-f_TyjoNhSe9JlC5Q/edit?usp=sharing

  8. Moh91
    February 16th, 2018

    Hello
    Could you send me last version of ccnp 300-101 dump that still valid please
    the email : mohammed91it at gmail.com
    Kindly

  9. Anonymous
    February 16th, 2018

    hi
    any one have CCNA Security and CCNP Route+Switch+Teshoot Dumps?

    kindly provide me to bellow email address

    {email not allowed}

  10. DES
    February 22nd, 2018

    Could you send me the latest ccnp 300-101 dump that is valid to kountrystarr at yahoo . com. The site rocks! thanks!

  11. Anonymous
    February 22nd, 2018

    Hello house,

    Please can someone help me with the latest CCNP route dumpbs, thank you very much.
    e-mail is {email not allowed}

  12. Anonymous
    February 22nd, 2018

    Hello house,

    Please can someone help me with the latest CCNP route dumpbs, thank you very much.
    e-mail is ndubenzz90 at yahoo.com

  13. dumperson
    February 28th, 2018

    Hi All,

    Could you send me the latest ccnp 300-101 dump that is valid to savantangel at outlook dot com

    many thanks

  14. dumpspro dot com
    March 2nd, 2018

    new ccnp dumps
    look my name

  15. angel baby 798
    March 6th, 2018

    Can someone please send me the latest dump to “dan go man go 12 @ yahoo . com” (No spaces). I will pay it forward it as well, thank you

  16. CCNPdump
    March 14th, 2018

    Hey guys, can someone please share the latest dumps from CCNP exam? I will take the Route exam in few days and I want to study some questions.
    ccnpdump @ protonmail.com

  17. Anonymous
    March 22nd, 2018

    HI
    I am going to take switch 300-101 exam. Kindly anyone can share latest pdf file on the below address amin.asna89 @ gmail.com
    Thanks

  18. Anonymous
    March 27th, 2018

    Hi guys please help me with the latest CCNP dump

    email {email not allowed}

  19. Anonymous
    March 29th, 2018

    STOP ASKING FOR DUMPS. AS IF SOMEONE IS GOING TO SEND YOU SOME.. the purpose of the comments section is to help fellow students prepare for the exam.

  20. 1 4 EVERY 1
    April 3rd, 2018

    LINK VALID FOR 24 HOURS ONLY…. 300-101 DUMPS.
    PRAY FOR PEACE IN THE WORLD

    https://mega.nz/#!pVlnVLhD!3jfj1pT2rUbHyXXfUJqZIutNBYOPA61eHnjnjzhCK1I

  21. Shemi
    April 9th, 2018

    Got passed yesterday with 9XX,
    Thank you 9tut
    Below links Dumps still valid and admin is really supportive.
    Downloaded dumps instantly on purchase.
    Prepare exam in just 3 days. Wowww

    http://docs.google.com/document/d/1QycF3QgwZGv1LwokMliGYmuYqzi2pBj2w6DG64i68-w/edit

  22. Jey
    April 22nd, 2018

    can any one please send me valid dumps of ccnp route & switch at the following id
    engrjamiullah at gmail.com
    i will be really grateful to that person.

  23. youknowwho
    April 24th, 2018

    Please quite asking for Dumps….Learn the material. You are just diminishing the value of the certificate. If you can’t do the work, and you can’t perform the task, you will be FIRED !!!
    As well as giving the hard workers a bad reputation in the field for being Certified.
    DO THE WORK…NO EASY WAY OUT !!!!

  24. Anonymous
    April 24th, 2018

    can someone send me the latest 300-101 dump to {email not allowed}
    thx

  25. Anonymous
    April 27th, 2018

    can any one help me with ccnp route dumps {email not allowed}

  26. Anonymous
    April 27th, 2018

    can any one help me with ccnp route dumps kasimmesh@gmail

  27. DIJAS
    May 2nd, 2018

    Hi;

    I have send the link to the latest 300-101 dumps to the ones who have requested here. Please use it at your own risk and don’t blame me if you fail.

    LINK IS ACTIVE FOR LIMITED TIME, SO DOWNLOAD FAST.

    Pray for PEACE in the world.

    Thanks
    DIJAS

  28. neethu
    May 7th, 2018

    Hi All,
    Please send me the latest CCNP Route dumps to my e-mail. Appreciate your help. Thanks
    {email not allowed}

  29. unstoppable
    May 11th, 2018

    so the PPPoE server is normally the router before the connection to the ISP/ WAN, am I right?

  30. khan
    May 11th, 2018

    hi All
    Please send me the latest CCNP Route dumps
    abdulkarim.khan75 @ yahoo. com

  31. Venkat
    May 21st, 2018

    Can i get the CCNP dumps for route 300-101. Please assist me.

  32. sanu
    June 1st, 2018

    Can i get the CCNP dumps for route 300-101. Please assist me.
    sanujany at gmail dot com
    thanks in advance

  33. Jimmy
    June 1st, 2018

    Hello may you send me latest dump for 300-101 my ccp is expiring in 2weeks. fasto123 at yahoo dot com. please

  34. ASJ
    June 4th, 2018

    Please provide me the latest dumps for CCNP Route , my exam is on Friday.
    ardhirocks at gmail dot com

  35. Anonymous
    June 7th, 2018

    Is there a digitaltut or networktut type of site for CCIE Service Provider Written? Anybody know???

  36. Task Force
    June 11th, 2018

    ROUTE HERE we put all package very concise and easy to learn.
    -Labs are no more difficult to learn. Easy learning configurations notes in our package.
    -All Labs in GNS3 in our package
    -easy learning strategy included
    -MCQs are not a big job in Route exam. All valid Qs in our pakcage.

    https://mega.nz/#!zEgSHIzA!Td_akiASzp02sKwnAxxOq1z84z9zYjgC_6LyUfuGqhU




    AND SP All DUMPS available below link:
    CCNA SP – DUMPS
    640-875 SPNGN1 —- 191 QAs
    640-875 SPNGN1 —- CBT NUGGETS VIDEOS

    640-878 SPNGN2 —- 126 QAs
    640-878 SPNGN2 —- CBT NUGGETS VIDEOS

    CCNP SP – DUMPS
    642-883 SPROUTE —- 174 QAs
    642-885 SPADVROUTE —- 131 QAs
    642-887 SPCORE —- 184 QAs
    642-889 SPEDGE —- 126 QAs

    Follow Below Link.
    CBT Nuggets VIDEOS and DUMPS
    Its Real Valid exam questions. Instant Download after just 20 bucks pay.
    24/7 online support
    Free 60 days updates
    files are in both pdf and vce
    With working VCE player included

    https://mega.nz/#!OF5k1TCa!C3g_nXFlFc6gNSoUxidQtshMhreclUYm7papzhv_4F8

  37. Anonymous
    June 23rd, 2018

    Did someone test the pppoe lab? For me after configuring the 2 routers, i can ping one another but when i launch a telnet to connect to whatever the router, i always have this error message: connection to 10.0.0.1 closed by foreign host.

  38. Nir
    June 27th, 2018

    anyone maby can give a voucher for the routing exam ? ?

    thanks
    {email not allowed}

  39. Nir
    June 27th, 2018

    anyone maby can give a voucher for the routing exam ? ?

    thanks

    elmaliah1 @ gmail \/ com

  40. Anonymous
    July 10th, 2018

    @14EVER 1 can you share again the link for the dumps 300-101, or can send to my email re_hariet at yahoo dot com. thanks a lot

  41. chchbrs
    August 15th, 2018

    Hellos. Anyone can send me the lastest dump for ROUTER 300-101? My exam is at 28th august. chuchobrs @ yahoo dot com. Thank you!!

  42. Twitter Duo
    August 18th, 2018

    i did pass the CCNP ROUTE 300-101 yesterday, 8xx/1000.
    There were a couple of new questions i did meet. 2 new drag and drop questions and 1 sim question. email me kiptalam54 at gmail dot com

  43. Cisco engineer
    September 9th, 2018

    Hello everone.
    Please somebody could send me actual question to sys.yuriy at gmail.com.
    Thanks a lot.

  44. karate1
    December 10th, 2018

    Could someone explain the best/easiest way to download/acquire these labs to run in GNS3 on my own computer to practice them with them?

    Is there a way to pull them directly from this website? Do you locate them on the GNS3 community?

    Thanks to all of you who contribute to the forum.

  45. MN
    January 4th, 2019

    Hi guys, anyone can share the latest dumps?. TIA. Send to my email.

    rmndr040414 @ gmail. com

    remove spaces.

    TIA

  46. CCNP
    January 18th, 2019

    I am planing to take CCNP exams soon. Can you help me with CCNP dumps please
    E: msbtechsolution @ gmail . com

  47. wrener
    February 8th, 2019

    Im looking for the latest Route lab manual PDF, can anyone share that with me???

  48. ccie
    February 10th, 2019

    i do plan to take CCNP exames . any one have 9tut ccnp route question kindly send it to me . tnx in advance
    karemjan04 @ gmail. com

  49. Assadullah
    February 15th, 2019

    I am planing to take CCNP Route exam soon. Can you help me with CCNP dumps please
    {email not allowed}.

  50. STUDENT101
    February 22nd, 2019

    on the server side the IP address should be on Ethernet interface NOT Virtual-Template.

Comment pages
  1. No trackbacks yet.