Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol which encapsulates PPP frames inside Ethernet. PPPoE is a Client/Server protocol and it allows divided multiple clients to use a single server connection. With this portocol multiple clients can use a single server to get service from the same Service Provider. Morover, the main usage of PPPoE is providing internet connection to the subscribers by Service Providers. In this lesson we will learn PPPoE Configuration with Packet Tracer.
We will use the below topology for our PPPoE Example.
Here, we will do the configuration of below steps:
You can also learan DHCP Server Configuration With Packet Tracer
For our PPoE Configuration, firstly we will create a Local IP Pool. It is similar to IP Pool creation on DHCP Server. Our IP Pool name will ve ABCpool and the first IP will be 192.168.0.2 and the last one is 192.168.0.254.
Server (config) # ip local pool ABCpool 192.168.0.2 192.168.0.254
We will create BBA (Broadband Access) Group. This BBA Group handles PPPoE Session messages. Here, you can limit sessions for specific clients. There is one global BBA Group and many other BBA groups can be created.
Here, we will define a global BBA Group named XYZGroup, with “bba-group pppoe global XYZ” command.
Server # configure terminal
Server (config) # bba-group pppoe global XYZGroup
Server (config-bba-group) #
Under BBA Group, we will create Virtual Template. This is for the interface towards the customer.
Server (config-bba-group) # virtual-template 1
Server (config-bba-group) #
Under this virtual template, we can configure many things. But here, we should configure ip address and IP pool name.
Here, we will cofigure ip address 192.168.0.1/24 as interface address. And our default IP Pool is the previously configured local IP Pool, ABCpool.
Server (config-bba-group) # interface virtual-template 1
Server (config-if) # ip address 192.168.0.1 255.255.255.0
Server (config-if) # peer default ip address pool ABCpool
Enabling PPPoE BBA Group under the interface towards the customer.
Server (config) # interface fastethernet 0/1
Server (config-if) # no ip address
Server (config-if) # pppoe enable group XYZGroup
Server (config-if) # no shutdown
Server (config-if) # exit
On the client side, firstly we will create Dialer Interface. Then we will assign dialer pool, we will determine the encapsulation as PPP. We will make the client to use PPPoE Server IP addresses with “ip address negotiated” command. Lastly, we can set MTU value not to exceed default Ethernet length (1500). Here, we will set MTU as 1492. With our 8 bytes PPP header, the total header is 1500 now.
Client (config) # interface dialer1
Client (config-if) # dialer pool 1
Client (config-if) # encapsulation ppp
Client (config-if) # ip address negotiated
Client (config-if) # mtu 1492