CCNP(BSCI)实验:浮动静态路由(静态路由综合实验)

网友投稿 376 2022-09-22


CCNP(BSCI)实验:浮动静态路由(静态路由综合实验)

R2(config)#int lo0R2(config-if)#ip add 2.2.2.2 255.255.255.0R2(config-if)#int s2/1R2(config-if)#no shR2(config-if)#ip add 12.0.0.2 255.255.255.0R2(config-if)#int f0/0R2(config-if)#ip add 123.0.0.2 255.255.255.0R2(config-if)#no sh

第一步:在R1上添加两条静态路由并查看路由表R1(config)#ip route 2.2.2.0 255.255.255.0 12.0.0.2R1(config)#ip route 2.2.2.0 255.255.255.0 123.0.0.2 2

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

Gateway of last resort is not set

2.0.0.0/24 is subnetted, 1 subnetsS 2.2.2.0 [1/0] via 12.0.0.2//这里为12.0.0.2123.0.0.0/24 is subnetted, 1 subnetsC 123.0.0.0 is directly connected, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsC 12.0.0.0 is directly connected, Serial2/1R1#第二步:模拟本地R1路由器上的S2/1接口death了R1(config)#int s2/1R1(config-if)#sh R1(config-if)#exitR1(config)#exit第三步:查看down后的路由表R1#sh ip rou Codes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route

Gateway of last resort is not set

2.0.0.0/24 is subnetted, 1 subnetsS 2.2.2.0 [2/0] via 123.0.0.2//这里为123.0.0.2123.0.0.0/24 is subnetted, 1 subnetsC 123.0.0.0 is directly connected, FastEthernet0/0R1#第四步:模拟工程人员修好了线路并查看路由表R1(config)#int s2/1R1(config-if)#no shR1(config-if)#exitR1(config)#

R1(config)#do sh ip routCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static route

Gateway of last resort is not set

2.0.0.0/24 is subnetted, 1 subnetsS 2.2.2.0 [1/0] via 12.0.0.2//高兴的是12.0.0.2回来了,在这里我们向它问声好吧!123.0.0.0/24 is subnetted, 1 subnetsC 123.0.0.0 is directly connected, FastEthernet0/012.0.0.0/24 is subnetted, 1 subnetsC 12.0.0.0 is directly connected, Serial2/1R1(config)#


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:CCNP(BSCI)实验:路由器之间的负载均衡实验
下一篇:CCNP(BSCI)实验:多协议综合实验
相关文章

 发表评论

暂时没有评论,来抢沙发吧~