成长值: 63730
|
本帖最后由 小乔 于 2023-1-30 09:23 编辑
Lab Objective
The objective of this lab exercise is for you to learn how to configure eBGP and some of its advanced features.
Lab Purpose:
Border Gateway Protocol (BGP) is the routing protocol used to exchange information on the Internet; in this lab, we will configure some of the advanced features of the exterior BGP relationships. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to implement eBGP (external BGP) features in your network.
Certification Level:
This lab is suitable for ICND2 and CCNA certification exam preparation.
Lab Difficulty:
This lab has a difficulty rating of 9/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 each router with its respective IPv4 addresses in both the Loopback and GigabitEthernet interfaces.
Configure a static route to Loopback100 and Loopback200, respectively.
Task 3:
Configure an eBGP session between R1 and R2 with the following requirements:
R1 will be inside ASN 100 and R2 will be inside ASN 200;
R1 should use Loopback100 as the peer source address and R2 should do the same;
Make sure that if at some point R2 learns an IP prefix from another BGP router and then sends it to R1, the next hop address will remain as the R2 IP address (increase the TTL to 2);
Hellos will be sent every 5 seconds, with a hold timer of 15 seconds;
Authentication will be done with the password CCNA (unencrypted); and
Make sure that they advertise their Loopback1 network address and the Gigabit interface via BGP.
Task 4:
Confirm that eBGP is working properly by running the following commands:
show ip protocols
show ip bgp summary
show ip route bgp
Ping 192.168.2.1 source Loopback1 (from R1)
Ping 192.168.1.1 source Loopback1 (from R2)
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)#int fa0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.0
R1(config-if)#no shut
R1(config)#int loopback1
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config)#int loopback100
R1(config-if)#ip address 192.168.100.1 255.255.255.0
R1(config)#ip route 192.168.200.0 255.255.255.0 192.168.10.2
R2(config)#int fa0/0
R2(config-if)#ip address 192.168.10.2 255.255.255.0
R2(config-if)#no shut
R2(config)#int loopback1
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config)#int loopback200
R2(config-if)#ip address 192.168.200.1 255.255.255.0
R2(config)#ip route 192.168.100.0 255.255.255.0 192.168.10.1
Task 3:
R1#config t
Enter configuration commands, one per line. End with CTRL/Z.
R1(config)#router bgp 100
R1(config-router)#neighbor 192.168.200.1 remote-as 200
R1(config-router)#neighbor 192.168.200.1 update-source loopback100
R1(config-router)#neighbor 192.168.200.1 ebgp-multihop 2
R1(config-router)#neighbor 192.168.200.1 timers 5 15
R1(config-router)#neighbor 192.168.200.1 password CCNA
R1(config-router)#network 192.168.10.0 mask 255.255.255.0
R1(config-router)#network 192.168.1.0 mask 255.255.255.0
R2#config t
Enter configuration commands, one per line. End with CTRL/Z.
R2(config)#router bgp 200
R2(config-router)#neighbor 192.168.100.1 remote-as 100
R2(config-router)#neighbor 192.168.100.1 update-source loopback200
R2(config-router)#neighbor 192.168.100.1 ebgp-multihop 2
R2(config-router)#neighbor 192.168.100.1 next-hop-self
R2(config-router)#neighbor 192.168.100.1 timers 5 15
R2(config-router)#neighbor 192.168.100.1 password CCNA
R2(config-router)#network 192.168.10.0 mask 255.255.255.0
R2(config-router)#network 192.168.2.0 mask 255.255.255.0
Task 4:
来源: 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)
来源: CCNA LAB 98: Configuring PPPoE
|
|