设为首页收藏本站language 语言切换
查看: 1748|回复: 0
收起左侧

[分享] CCNA LAB23: Configuring Default Static Routes

[复制链接]
 成长值: 63730
发表于 2022-11-14 21:45:24 | 显示全部楼层 |阅读模式
本帖最后由 小乔 于 2022-11-14 21:47 编辑





Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure default static routes on Cisco IOS routers. By default, no default routes exist on Cisco IOS routers.

Lab Purpose:
Static default route configuration is a fundamental skill. Default routes are used to forward traffic to destinations where the router does not have a specific route to its routing table. They can also be used to forward all external traffic (such as Internet traffic) to an Internet Service Provider, for example. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure static default routes.

Certification Level:
This lab is suitable for both CCENT and CCNA certification exam preparation.

Lab Difficulty:
This lab has a difficulty rating of 6/10.

Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 10 minutes.

Lab Topology:
Please use the following topology to complete this lab exercise:
23.jpg



Task 1:
Configure the hostnames on routers R1 and R2 as illustrated in the topology.

Task 2:
Configure a back-to-back Serial connection between R1 and R2. Configure the DCE interface Serial0/0 in R1 to provide clocking to R2 at a clock speed of 256 Kbps. Ignore this if you are using GNS3.

Task 3:
Configure IP addresses 192.168.254.1/30 and 192.168.254.2/30 on R1 and R2 Serial0/0 interfaces, respectively. Configure the Loopback interfaces on R1 with the IP addresses illustrated in the topology.


Task 4:
Configure a static default route from R2 pointing to R1. Ping each Loopback interface configured on R1 from R2 to verify your static route configuration.

Configuration and Verification
Task 1:
For reference information on configuring hostnames, please refer to earlier labs.

Task 2:
For reference information on configuring DCE interfaces, please refer to earlier labs.

Task 3:
R1#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
R1(config)#int s0/0
R1(config-if)#ip add 192.168.254.1 255.255.255.252
R1(config-if)#exit
R1(config)#interface loop100
R1(config-if)#ip address 172.18.0.1 255.255.254.0
R1(config-if)#exit
R1(config)#interface loop101
R1(config-if)#ip add 10.100.100.1 255.255.255.192
R1(config-if)#exit
R1(config)#int loop102
R1(config-if)#ip address 192.168.30.1 255.255.255.248
R1(config-if)#^Z
R1#

R2#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
R2(config)#int s0/0
R2(config-if)#ip add 192.168.254.2 255.255.255.252
R2(config-if)#end
R2#

R1#ping 192.168.254.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.254.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms
Task 4:
R2#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
R2(config)#ip route 0.0.0.0 0.0.0.0 serial0/0 192.168.254.1
R2(config)#end
R2#

R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B – BGP,
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area,
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2,
       E1 - OSPF external type 1, E2 - OSPF external type 2,
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1,
       L2 - IS-IS level-2, ia - IS-IS inter area,
       * - candidate default, U - per-user static route, o - ODR,
       P - periodic downloaded static route

Gateway of last resort is 192.168.254.1 to network 0.0.0.0

        192.168.254.0/30 is subnetted, 1 subnets
C       192.168.254.0 is directly connected, Serial0/0
        150.1.0.0/24 is subnetted, 1 subnets
C       150.1.1.0 is directly connected, FastEthernet0/0
S*   0.0.0.0/0 [1/0] via 192.168.254.1, Serial0/0

R2#ping 172.18.0.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.18.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/12/32 ms

R2#ping 10.100.100.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.100.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/8 ms

R2#ping 192.168.30.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms

来源: CCNA LAB 8: 配置 Securing VTP Domains
来源: CCNA LAB 9: 配置  Switch Access Port Security
来源: CCNA LAB10: 配置 Advanced Switch Access Port Security
来源: CCNA LAB11: 配置Advanced Static Switch Access Port Security
来源: CCNA LAB12: 配置Disabling Auto-negotiation of Trunking
来源: CCNA LAB13: 配置Switchports to Dynamic
来源: CCNA LAB14: 配置Default Gateway for Routers and Switches
来源: CCNA LAB15: 配置Cisco Discovery Protocol
来源: CCNA LAB16: 配置Configuring LLDP
来源: CCNA LAB17: 配置Configuring Errdisable Recovery
来源: CCNA LAB18: 配置Inter-VLAN Routing (Router on a Stick)
来源: CCNA LAB19: Configuring and Allowing Inter-VLAN Routing—SVI
来源: CCNA LAB20: Configuring Static Routing via Interfaces
来源: CCNA LAB21:  Configuring Static Routing via IP addresses
来源: CCNA LAB22: Configuring and Naming Static Routes
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-24 15:27 , Processed in 0.062178 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表