Packet Tracer 5.0实验(九) 路由器RIP动态路由配置(2)

2019-04-21 10:54

C 192.168.4.0/24 is directly connected, Serial2/0 R1#

R2:

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#interface fa0/0 R2(config-if)#no shutdown

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

R2(config-if)#ip address 192.168.2.1 255.255.255.0 R2(config-if)#exit

R2(config)#interface serial 2/0 R2(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

R2(config-if)#ip address 192.168.4.2 255.255.255.0 R2(config-if)#exit R2(config)#end

%SYS-5-CONFIG_I: Configured from console by console R2#show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 not set

C 192.168.2.0/24 is directly connected, FastEthernet0/0 C 192.168.4.0/24 is directly connected, Serial2/0 R2#conf t

Enter configuration commands, one per line. End with CNTL/Z. R2(config)#router rip

R2(config-router)#network 192.168.2.0 R2(config-router)#network 192.168.4.0 R2(config-router)#version 2 R2(config-router)#end

%SYS-5-CONFIG_I: Configured from console by console R2#show ip route

Codes: C - connected, S - static, I - IGRP, 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, E - EGP i - IS-IS, 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 not set

R 192.168.1.0/24 [120/2] via 192.168.4.1, 00:00:00, Serial2/0 C 192.168.2.0/24 is directly connected, FastEthernet0/0

R 192.168.3.0/24 [120/1] via 192.168.4.1, 00:00:00, Serial2/0 C 192.168.4.0/24 is directly connected, Serial2/0 R2#

五、测试

Packet Tracer PC Command Line 1.0 PC>ipconfig

IP Address......................: 192.168.2.2 Subnet Mask.....................: 255.255.255.0 Default Gateway.................: 192.168.2.1

PC>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Request timed out.

Request timed out.

Reply from 192.168.1.2: bytes=32 time=16ms TTL=125 Reply from 192.168.1.2: bytes=32 time=17ms TTL=125

Ping statistics for 192.168.1.2:

Packets: Sent = 4, Received = 2, Lost = 2 (50% loss), Approximate round trip times in milli-seconds:

Minimum = 16ms, Maximum = 17ms, Average = 16ms

PC>ping 192.168.1.2

Pinging 192.168.1.2 with 32 bytes of data:

Reply from 192.168.1.2: bytes=32 time=19ms TTL=125 Reply from 192.168.1.2: bytes=32 time=16ms TTL=125 Reply from 192.168.1.2: bytes=32 time=13ms TTL=125 Reply from 192.168.1.2: bytes=32 time=15ms TTL=125

Ping statistics for 192.168.1.2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds:

Minimum = 13ms, Maximum = 19ms, Average = 15ms PC>


Packet Tracer 5.0实验(九) 路由器RIP动态路由配置(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:管窥高效课堂:问题 探究 验证

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: