Sunteți pe pagina 1din 8

PPPoE

Point-to-Point Protocol over Ethernet


NCP: Network Control Protocol
LCP takes care of setting up the link. If you enable authentication for
PPP it will take care of authentication.
LCP: Link Control Protocol
NCP will make sure you can run different protocols over our PPP link
like IP, IPv6 but also CDP (Cisco Discovery Protocol) and older
protocols like IPX or AppleTalk.
Back in the 90s

PPP (Point to Point Protocol) was originally used on serial interfaces for point-to-point interfaces.

PPP was also commonly used for internet


dial-up connections.

One of the advantages of PPP is that you can


use it to assign an IP address to the other
end.
Core FPT

Around the year 2000


Uplink Uplink

DSL and cable Internet connections and ISPs wanted to keep using PPP
Ethernet so it wasn’t possible to use PPP from your computer or router
MP0x-1 MP0x-2
as it had to travel over an Ethernet link. To fix this problem, a new RFC Downlink
BRAS0x
Downlink

was created for PPPoE (PPP over Ethernet). It allows us to encapsulate


PPP into Ethernet frames.

SWITCH CISCO
Luồng traffic

DSLAM

DSLAM
DSLAM

DSLAM

Modem KH
PPPoE Stages
• PPPoE Discovery Stage
The PPPoE discovery stage consists of the following steps:
PPPoE active discovery initiation (PADI)
PPPoE active discovery offer (PADO)
PPPoE active discovery request (PADR)
PPPoE active discovery session-Confirmation (PADS)

• PPPoE Session Stage


The PPPoE session stage starts after the PPPoE discovery stage is over.

After a session is established, the client or the access concentrator can


send a PPPoE active discovery termination (PADT) packet anytime to
terminate the session
After this packet is sent, the session is closed to PPPoE traffic.
1. First we configure a broadband aggregation (BBA) group (in fact, I preferred calling it a PPPoE profile) to establish
PPPoE sessions. Then we link to a virtual template with the virtual-template 1 command.

bba-group pppoe MyPPPoEProfile


virtual-template 1
2. Now we will create the virtual template 1 interface

interface Virtual-Template 1
ip address 10.0.0.1 255.255.255.0
peer default ip address pool PPPoE_Pool
ppp authentication chap

3. Create Pool IP
ip local pool PPPoE_Pool 10.0.0.2 10.0.0.254
username TUT password MyPPPoE

4.Finally link the PPPoE profile to the physical E0/0 interface, which is connected to the PPPoE client.
interface Ethernet0/0
pppoe enable group MyPPPoEProfile
1. First we need to create a dialer interface with the interface Dialer 2 command.
interface Dialer 2
encapsulation ppp
ip address negotiated
ppp chap hostname TUT
ppp chap password MyPPPoE
ip mtu 1492
dialer pool 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.
interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1

S-ar putea să vă placă și