Verification commands: show ppp all, show pppoe session
Configure a PPPoE connection between CPE (Client) and ISP.(server)
- Configure a Broadband Aggregation (BBA) group which will handle incoming PPPoE connection attempts and the pool of addresses (don't include virtual template ip)
ISP(config-bba-group)# virtual-template 1
ISP(config)# ip local pool MyPool 10.1.13.4 10.1.13.254
ISP(config-if)# ip address 100.1.13.3 255.255.255.0
ISP(config-if)# peer default ip address pool MyPool
ISP(config-if)# no ip address
ISP(config-if)# pppoe enable group MyGroup
ISP(config-if)# no shutdown
CPE(config-if)# dialer pool 1
CPE(config-if)# encapsulation ppp
CPE(config-if)# ip address negotiated
CPE(config-if)# mtu 1492
CPE(config)# interface f0/0
CPE(config-if)# no ip address
CPE(config-if)# pppoe-client dial-pool-number 1
CPE(config-if)# no shutdown
PPPoE Authentication
ISP(config)# ip local pool MyPool 10.1.13.4 10.1.13.254
- Create the virtual interface to represent the point-to-point connection and link the pool of addresses
ISP(config-if)# ip address 100.1.13.3 255.255.255.0
ISP(config-if)# peer default ip address pool MyPool
- Enable our PPPoE group on the interface facing the customer network
ISP(config-if)# no ip address
ISP(config-if)# pppoe enable group MyGroup
ISP(config-if)# no shutdown
- On the client side create a dialer interface and tie it to the physical interface which provides the transport. The PPP header adds 8 bytes of overhead to each frame. Assuming the default Ethernet MTU of 1500 bytes, we'll want to lower our MTU on the dialer interface to 1492 to avoid unnecessary fragmentation.
CPE(config-if)# dialer pool 1
CPE(config-if)# encapsulation ppp
CPE(config-if)# ip address negotiated
CPE(config-if)# mtu 1492
CPE(config)# interface f0/0
CPE(config-if)# no ip address
CPE(config-if)# pppoe-client dial-pool-number 1
CPE(config-if)# no shutdown
PPPoE Authentication
- Configure PPP CHAP authentication over the PPPoE session between R1 and R3.
- The routers should use their hostname and a password of RSv5 to authenticate each other.
R1:
username R3 password RSv5
!
interface Dialer13
ppp authentication chap
R3:
username R1 password RSv5
!
interface Virtual-Template13
ppp authentication chap
No comments:
Post a Comment