CCNA RIP 实验

配置一下路由器接口

R1#sh ip int b

Interface IP-Address OK? Method Status Protocol

Serial1/0 unassigned YES unset administratively down down

Serial1/1 unassigned YES unset administratively down down

Serial1/2 unassigned YES unset administratively down down

Serial1/3 unassigned YES unset administratively down down

R1#

R1#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R1(config)#int s1/1

R1(config-if)#ip address 12.12.12.1 255.255.255.252

R1(config-if)#no sh

R1(config-if)#

*Mar 1 00:05:29.123: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

*Mar 1 00:05:30.123: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

R1(config-if)#

R1#sh ip int b

Interface IP-Address OK? Method Status Protocol

Serial1/0 unassigned YES unset administratively down down

Serial1/1 12.12.12.1 YES manual up down

Serial1/2 unassigned YES unset administratively down down

Serial1/3 unassigned YES unset administratively down down

R1#

中间路由器

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#int s1/0

R2(config-if)#ip ad

R2(config-if)#ip address 12.12.12.2 255.255.255.252

R2(config-if)#no sh

R2(config-if)#

*Mar 1 00:07:36.079: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

*Mar 1 00:07:37.079: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

R2(config-if)#do ping 12.12.12.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:

.....

Success rate is 0 percent (0/5)

直连怎么可能没通,再来

R2(config-if)#do ping 12.12.12.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/32 ms

好了

R2#sh ip int br

Interface IP-Address OK? Method Status Protocol

Serial1/0 12.12.12.2 YES manual up up

Serial1/1 unassigned YES unset administratively down down

Serial1/2 unassigned YES unset administratively down down

Serial1/3 unassigned YES unset administratively down down

R2#conf t

Enter configuration commands, one per line. End with CNTL/Z.

R2(config)#int s1/1

R2(config-if)#ip add

R2(config-if)#ip address 23.23.23.1 255.255.255.252

R2(config-if)#no sh

R2(config-if)#

*Mar 1 00:10:07.467: %LINK-3-UPDOWN: Interface Serial1/1, changed state to up

*Mar 1 00:10:08.467: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

R2(config-if)#

R2#sh ip int b

Interface IP-Address OK? Method Status Protocol

Serial1/0 12.12.12.2 YES manual up up

Serial1/1 23.23.23.1 YES manual up down

Serial1/2 unassigned YES unset administratively down down

Serial1/3 unassigned YES unset administratively down down

R2#

2个ip都好了

最右面的

R3(config)#int s1/0

R3(config-if)#ip address 23.23.23.2 255.255.255.252

R3(config-if)#no sh

R3(config-if)#

*Mar 1 00:12:58.627: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up

*Mar 1 00:12:59.627: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

R3(config-if)#

R3#sh ip int b

Interface IP-Address OK? Method Status Protocol

Serial1/0 23.23.23.2 YES manual up up

Serial1/1 unassigned YES unset administratively down down

Serial1/2 unassigned YES unset administratively down down

Serial1/3 unassigned YES unset administratively down down

R3#ping 23.23.23.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 23.23.23.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 16/21/28 ms

R3#

开始配置rip

R1(config)#router rip

R1(config-router)#version 2

R1(config-router)#no auto-summary

R1(config-router)#network 12.0.0.0

R2(config)#router rip

R2(config-router)#version 2

R2(config-router)#no auto-summary

R2(config-router)#network 12.0.0.0

R2(config-router)#network 23.0.0.0

R3(config)#router rip

R3(config-router)#version 2

R3(config-router)#no auto-summary

R3(config-router)#network 23.0.0.0

R1已经有路由表了

R1#sh ip ro

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 not set

23.0.0.0/30 is subnetted, 1 subnets

R 23.23.23.0 [120/1] via 12.12.12.2, 00:00:14, Serial1/1

12.0.0.0/30 is subnetted, 1 subnets

C 12.12.12.0 is directly connected, Serial1/1

R1#ping 23.23.23.2

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 23.23.23.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/54/76 ms

开一下debug看事件

R1#debug ip rip data

R1#debug ip rip database

RIP database events debugging is on

R1#debug ip rip events

RIP event debugging is on

R1#debug ip rip trigger

RIP trigger debugging is on

R1#debug ip rip

其余两个常用命令

R1#sh ip ro

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 not set

23.0.0.0/30 is subnetted, 1 subnets

R 23.23.23.0 [120/1] via 12.12.12.2, 00:00:02, Serial1/1

12.0.0.0/30 is subnetted, 1 subnets

C 12.12.12.0 is directly connected, Serial1/1

R1#

*Mar 1 00:26:59.175: RIP-TIMER: age timer expired

R1#sh ip pro

R1#sh ip protocols

Routing Protocol is "rip"

Sending updates every 30 seconds, next due in 13 seconds

Invalid after 180 seconds, hold down 180, flushed after 240

Outgoing update filter list for all interfaces is not set

Incoming update filter list for all interfaces is not set

Redistributing: rip

Default version control: send version 2, receive version 2

Interface Send Recv Triggered RIP Key-chain

Serial1/1 2 2

Automatic network summarization is not in effect

Maximum path: 4

Routing for Networks:

12.0.0.0

Routing Information Sources:

Gateway Distance Last Update

12.12.12.2 120 00:00:12

Distance: (default is 120)

命令1分钟,截图5分钟

原文地址:http://blog.51cto.com/433266/2113173

时间: 2024-08-30 01:57:52

CCNA RIP 实验的相关文章

思科CCNA RIP

RIP协议特点RIP是标准的距离矢量协议RIP使用hop跳数作为路径选择的标准RIP的metric数值最大的15,hop=15,超过15记为无效RIP的  管理距离AD 120RIP使用UDP 源目520端口交换数据包0RIPv1使用广播255.255.255.255交换数据包RIPv2使用组播224.0.0.9交换协议数据包RIP只适用于小型网络//其实当今网络已经看不到RIP的身影RIP每隔30s向邻居通告本地RIP路由表信息(安全机制) RIP协议缺陷以跳数为依据计算度量值,经常计算出非最

RIP 实验

实验要求 1.  理解 RIP 协议的工作原理2.  理解 RIPv1.RIPv2 的特性3.  掌握 RIP 协议的基本配置方法4.  掌握 RIP 自动汇总和手动汇总的方法5.  掌握 RIP 配置默认路由的方法6.  掌握 RIP 认证的基本配置7.  实验工具:GNS3 实验拓扑 实验过程 接口配置 R1 配置 int loopback 0 ip add 10.30.31.1 255.255.255.0 secondary ip add 10.30.32.1 255.255.255.0

CISCO CCNA RIP

RIP (Routing Information Protocol) 路由协议在小型以及同介质网络中得到了广泛应用的一种路由协议. RIP使用UDP报文交换路由信息,UDP端口号为520.通常情况下RIPv1报文为广播报文:而RIPv2报文为组播报文,组播地址为224.0.0.9.RIP每隔30 秒向外发送一次更新报文.如果设备经过180 秒没有收到来自对端的路由更新报文则将所有来自此设备的路由信息标志为不可达,若在240 秒内仍未收到更新报文就将这些路由从路由表中删除. RIP有RIP-1和R

RIP实验

实验目的:全网互通(pc 0 ping pc 1 可以互通)如下图实验拓扑:1,先给pc0 配置ip 以及网关2,给 router 0 的gi0/0 gi0/1 配置ip 地址3.给router1的接口下面配置相应的ip 地址4 给 router 2 的Gig0/0 Gig0/1接口下配置相应的 ip 地址5,给router 3 的Gig0/0 Gig 0/1接口下配置相应的ip 地址6 给pc1 配置相应的网关和ip地址接下来就要配置rip协议了 分别在路由器0 1 2 3 中 配置 这样的三

CCNA综合实验题

R1配置: username weishuai password 0 weishuai123 !crypto isakmp policy 10 encr aes hash md5 authentication pre-share group 2crypto isakmp key qytang address 192.168.1.2    !!crypto ipsec transform-set QYT esp-aes ! crypto map CCNA 10 ipsec-isakmp  set

RIP实验练习

GNS R4 R1 与 eNSP 建立RIP 路由 R4 e0/1 被动接口 R1无法接受到R4发送路由表(不能主动发送广播/组播路由更新) 手动设置 neighbour R1 0/1对端接口地址后,收到RIP 路由. 在R4开启自动汇总后,R1无 AR1 AR2明显路由,全指向R4汇总,再从R4前往下一条. ip rip receive/send version 1 2  ip rip v2-broadcast  接口下配置主动发送更新包(CISCO) R1上配置增大192.168.0.1条数

RIP实验指导书

(一)配置各设备接口IP R1 interface LoopBack0 ip address 192.168.1.1 255.255.255.255 # interface LoopBack1 ip address 192.168.2.1 255.255.255.255 interface GigabitEthernet0/0/0 ip address 10.0.0.1 255.255.255.0 R2 interface GigabitEthernet0/0/0 ip address 10.0

华为中的RIP实验

要求全网互通 R1: [R1]interface e0/0/0 [R1-Ethernet0/0/0]ip ad [R1-Ethernet0/0/0]ip address 12.1.1.1 24 [R1-Ethernet0/0/0]int loo 0 [R1-LoopBack0]ip address 172.16.1.1 32 [R1-LoopBack0]int loo 1 [R1-LoopBack1]ip address 172.16.1.2 32 [R1-LoopBack1]int loo 2

CCNA综合实验,vlan,vlan间路由,vtp,HSRP,PVST,DHCP。

本实验综合了,vlan间路由,DHCP,VTP,PVST,HSRP.本实验目的就是把这几种协议融合一起实现主机互通,相信实际运用这种例子还是很多见的.希望大家看看,有错误的请指正.也是辛苦了好长时间才弄到这上面的. 第一步:先把每个交换机上各个接口起TRUNK模式(除了接PC的接口) SW1 Switch> Switch> Switch>en Switch#conf t Enter configuration commands, one per line.  End with CNTL/