Home > PPP over Ethernet (PPPoE) Tutorial

PPP over Ethernet (PPPoE) Tutorial

February 29th, 2016 in ROUTE Knowledge Go to comments

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 2 3 1472
  1. ArseneFTA
    January 3rd, 2017

    My mail is goodarsene.gmail.com

  2. kisumu
    January 6th, 2017

    we want new updated dumps

  3. Anonymous
    January 16th, 2017

    Get Latest 100% valid Exam Questions along with all labs in Packet Tracer at below Page:

    http://rebrand.ly/ccnpr370d

  4. Anonymous
    January 17th, 2017

    Hello, can someone send me the latest/valid dump for 300-101? kickent at yahoo.com

  5. Janifer
    January 18th, 2017
  6. Anonymous
    January 27th, 2017

    Guys any one have packet tracer or gnc files for ccnp routing 300_101

  7. speet
    January 29th, 2017

    This PPPoE tutorial is very timely. I passed my CCNP Route yesterday and it loads of PPP questions in it. Also many Frame Relay and split horizon questions!

  8. Anonymous
    January 30th, 2017

    100%, guaranteed passing material get Download package, (AllinONE) that you need to clear exam.
    All 5 Tickets in Packet Tracer
    149+41 Qs in VCE Player and PDF

    http://rebrand.ly/ccnac5f48

  9. Anonymous
    February 1st, 2017

    Hey everyone,
    mayme some good man share lates dump
    sagitariusv2 at gmail dot com

  10. yahya
    February 3rd, 2017

    Hello to everyone,

    If you have an up-to-date dump or newly added questions, can you please forward it to me?

    {email not allowed}

  11. yahya
    February 3rd, 2017

    Hello to everyone,

    If you have an up-to-date dump or newly added questions, can you please forward it to me?

    atamyahya(at)gmail.com

  12. Alain
    February 6th, 2017

    please don’t buy from this stupid marketers!!!!!!!!! I put all the materials they are selling on my drive in the links on this page. 149 + 41 + 15 are there, also examcollection and pass4sure. everythng is there…and labs too !!!!!!

    please let us alone tu study and share real experience. nobody will buy your crap, BELIEVE ME!

  13. MMMM
    February 6th, 2017

    lates dump please kady2005″at”yahoo.com help me please for latest update

  14. Anonymous
    February 8th, 2017

    Take a look here:

    https:// drive -dot- google -dot- com/drive/folders/0B21TuNHP-x2dc2U5MUlNOXFkd2c

  15. MMMM
    February 8th, 2017

    any new updates for 300-101 exam plz urgent

  16. Anonymous
    February 8th, 2017

    hello everyone,

    would someone send me valid dump please

    mail:

    erkandursun1225 at gmail.com

    tahnk you.

  17. OOOO
    February 9th, 2017

    Thanks Anonymous!

  18. Arlen
    February 10th, 2017

    201 Questions With Answers
    Updated Questions
    300-101 Real Exams Question Answers
    Just 1 day study required to pass exam
    100% Passing Assurance
    Money Back Guarantee
    Free 3 Months Updates

    For More Info: http://www.dumps4download.com/300-101-dumps.html

  19. Anonymous
    February 10th, 2017

    Are the sims of this page still valid, all of them?

  20. tony
    February 12th, 2017

    dumps4download.com is a ripoff. I passed and this site was 100% on target. Its only $9.00 guys quit being cheap asses and just pay. The test is $250.00 so whats $9.00 to guarantee to pass.

  21. Passed
    February 13th, 2017

    Download Latest 100% VALID CCNP ROUTE 300-101 Exam Questions Dumps at below page including all labs in GNS3 format. Working VCE player also included in package.

    http://rebrand.ly/ccnpr370d

  22. Preparing for CCNP ROUTE 300 101
    February 16th, 2017

    Cisco official Guide CCNP ROUTE 300 101 BOOK dosen’t cover PPPOE. Then why there are questions related to PPPoE in CCNP ROUTE 300 101 Exam.??????????????

  23. Passed using this material
    February 21st, 2017

    100% valid exam questions, (AllinONE Package) that you need to clear exam.

    Instant Download
    http://rebrand.ly/ccnac5f48

  24. Anonymous
    February 21st, 2017

    Someone have any knowledge oelated?f Cisco Exam 300 320 or any dumps r

  25. Anonymous
    February 21st, 2017

    Someone have any knowledge of Cisco Exam 300 320 or any dumps related

  26. Anonymous
    February 22nd, 2017

    passed today, some new questions never seen in dumps (about timed access list, easy vpn, ssh block access, frame relay, ipv6); labs and sims all from known dumps; 49 questions to me, most from dumps. Minimum to pass 790, scored 947.

  27. Ihsan
    February 25th, 2017

    Hi,

    can anyone please share the latest dumps with me? Thanks in advance!

    i.k.q @ hotmail.com

  28. Anonymous
    March 1st, 2017

    hello everyone,
    would someone send me valid dump pdf please
    mail:
    v.f.kayan @ gmail com

    thankk you.

  29. lazi
    March 7th, 2017

    hi can any one send me pls the latest dumps to lazi81 at gmail com
    10x

  30. Anonymous
    March 8th, 2017

    Hi all,

    whether somebody wants to bye the dumps together and share the money for the dumps?
    I have exam after 2 weeks and if someone has the exam till the end of march we can bye them together and share the money

    If someone is interested write me e-mail milen_menkata at abv.com

  31. Anonymous
    March 28th, 2017

    Hello All,

    Can someone please send me the latest dumps to braackens at Hotmail com? Thanks!

Comment pages
1 2 3 1472
  1. No trackbacks yet.