Register now or log in to join your professional community.
en
conf t
int fa0/1
ppoe-client dial 1
exit
Configuration for the PPP over Ethernet Client using PAP protocol
Example: Configuring a PPPoE Client
Device> enable
Device# configure terminal
Device(config)# interface GigabitEthernet 0/0/0
Device(config-if)# no ip address
Device(config-if)# pppoe enable
Device(config-if)# pppoe-client dial-pool-number 1
Device(config-if)# exit
Device(config)# interface dialer 1
Device(config-if)# mtu 1492
Device(config-if)# ip address negotiated
Device(config-if)# encapsulation ppp
Device(config-if)# dialer pool 1
Device(config-if)# ppp pap sent-username username1 password pwd1
Device(config-if)# end
Example: Configuring PPPoE on the Server
Device> enable
Device# configure terminal
Device(config)# bba-group pppoe bba1
Device(config-bba-group)# virtual-template 1
Device(config-bba-group)# exit
Device(config)# interface loopback 1
Device(config-if)# ip address 192.2.0.2255.255.255.0
Device(config-if)# exit
Device(config)# interface GigabitEthernet 0/0/0
Device(config-if)# no ip address
Device(config-if)# negotiation auto
Device(config-if)# pppoe enable group bba1
Device(config-if)# exit
Device(config)# interface virtual-template 1
Device(config-if)# description pppoe bba1
Device(config-if)# mtu 1492
Device(config-if)# ip unnumbered loopback 1
Device(config-if)# peer default ip address pool pool1
Device(config-if)# ppp authentication pap
Device(config-if)# exit
Device(config)# ip local pool pool1192.2.0.1192.2.0.10
Device(config)# end
PPPOE stand for point-to-point -over-ethernet. a network protocol for encapsulating Point-to-Point Protocol (PPP) frames inside Ethernet frames. It is used mainly with DSL services where individual users connect to a DSL modem over Ethernet. Ethernet networks are packet-based and have no capacity for a connection or circuit. They also lack basic security features to protect against IP and MAC conflicts and rogue DHCP servers