成长值: 64645
|
本帖最后由 小乔 于 2023-1-30 09:15 编辑
Lab Objective
The objective of this lab exercise is for you to learn how to configure PPP over an Ethernet link.
Lab Purpose:
PPP over Ethernet (PPPoE) emulates a point-to-point link across a shared medium such as DSL, but in this case, we will run it over Ethernet. This is normally used in connections from SoHo network to the ISP. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to implement PPPoE functionality.
Certification Level:
This lab is suitable for ICND2 and CCNA certification exam preparation.
Lab Difficulty:
This lab has a difficulty rating of 8/10.
Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 20 minutes.
Lab Topology:
Please use the following topology to complete this lab exercise:
Task 1:
Configure hostnames on R1 and R2 as illustrated in the topology.
Task 2:
Configure R1 as a PPPoE server with the following settings:
The broadband aggregation group will be named MyPPPoEGroup;
A virtual-template interface number 1 must be created and assigned with an IP address of 192.168.10.1/24;
Create an IP pool named PPPoE for the same 192.168.10.0/24 subnet; and
Assign the interface Gig0/0 to this PPPoE group.
Task 3:
Configure R2 as a PPPoE client with the following settings:
Create a dialer interface numbered 1;
The encapsulation protocol must be PPP;
It should obtain an IP address dynamically; and
The MTU of the interface must be 1492 to avoid unneeded fragmentation.
Task 4:
Issue the appropriate show commands to check that the interface is up. Ping across the link and issue appropriate PPPoE show commands.
Configuration and Verification
Task 1:
For reference information on configuring hostnames, please refer to earlier labs.
Task 2:
R1#conf t
Enter configuration commands, one per line. End with CTRL/Z.
R1(config)#bba-group pppoe MyPPPoEGroup
R1(config-bba-group)#virtual-template 1
R1(config-bba-group)#exit
R1(config)#int virtual-template 1
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#peer default ip address pool PPPoE
R1(config)#ip local pool PPPoE 192.168.10.2 192.168.10.254
R1(config)#int g0/0
R1(config-if)#no ip address
R1(config-if)#pppoe enable group MyPPPoEGroup
R1(config-if)#no shut
Task 3:
R2#config t
Enter configuration commands, one per line. End with CTRL/Z.
R2(config)#interface dialer 1
R2(config-if)#dialer pool 1
R2(config-if)#encapsulation ppp
R2(config-if)#ip address negotiated
R2(config-if)#mtu 1492
R2(config-if)#interface g0/0
R2(config-if)#pppoe-client dial-pool-number 1
R2(config-if)#no shut
Task 4:
R2#sh ip int brief | exclude unassigned
Interface IP-Address OK? Method Status Protocol
Dialer1 192.168.10.2 YES IPCP up up
R2#
R2#ping 192.168.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/56/68 ms
来源: CCNA LAB 90: Configuring EIGRP for IPv6
来源: CCNA LAB 91: Configuring Back-to-Back Serial Connections
来源: CCNA LAB 92: Verifying Cisco HDLC Encapsulation
来源: CCNA LAB 93: Configuring PPP Encapsulation
来源: CCNA LAB 94: PPP Authentication Using PAP
来源: CCNA LAB 95: PPP Authentication Using CHAP (Method #1)
来源: CCNA LAB 96: PPP Authentication Using CHAP (Method #2)
来源: CCNA LAB 97: Configuring Multilink PPP (MLPPP) |
|