实验8-1RIP v2路由配置(执行步骤在文章的最后18步)

步骤图:实验 - 配置基本 RIPv2
拓扑

地址分配表
设备 接口 IP 地址 子网掩码 默认网关
R1 G0/1 172.30.10.1 255.255.255.0 N/A
S0/0/0 (DCE) 10.1.1.1 255.255.255.252 N/A
R2 G0/0 209.165.201.1 255.255.255.0 N/A
S0/0/0 10.1.1.2 255.255.255.252 N/A
S0/0/1 (DCE) 10.2.2.2 255.255.255.252 N/A
R3 G0/1 172.30.30.1 255.255.255.0 N/A
S0/0/1 10.2.2.1 255.255.255.252 N/A
S1 N/A VLAN 1 N/A N/A
S3 N/A VLAN 1 N/A N/A
PC-A NIC 172.30.10.3 255.255.255.0 172.30.10.1
PC-B NIC 209.165.201.2 255.255.255.0 209.165.201.1
PC-C NIC 172.30.30.3 255.255.255.0 172.30.30.1
目标
第 1 部分:建立网络并配置设备的基本设置
第 2 部分:配置并检验 RIPv2 路由
配置并检验路由器是否正在运行 RIPv2。
配置被动接口。
检查路由表。
禁用自动总结。
配置默认路由。
检验端到端连通性。
背景/场景
RIP 第 2 版 (RIPv2) 用于小型网络中的 IPv4 地址路由。根据 RFC 1723 中的定义,RIPv2 是无类距离矢量路由协议。由于 RIPv2 是无类路由协议,路由更新中将包含子网掩码。默认情况下,RIPv2 自动总结主网边界上的网络。禁用自动总结后,RIPv2 不再在边界路由器上将网络总结为有类地址。
在本实验中,您将使用 RIPv2 路由配置网络拓扑、禁用自动总结、传播默认路由,并使用 CLI 命令显示和检验 RIP 路由信息。
注意:CCNA 动手实验所用的路由器是采用 Cisco IOS Release 15.2(4)M3(universalk9 映像)的 Cisco 1941 集成多业务路由器 (ISR)。所用的交换机是采用 Cisco IOS Release 15.0(2)(lanbasek9 映像)的 Cisco Catalyst 2960 系列。也可使用其他路由器、交换机以及 Cisco IOS 版本。根据型号以及 Cisco IOS 版本不同,可用命令和产生的输出可能与实验显示的不一样。请参考本实验末尾的“路由器接口摘要表”以了解正确的接口标识符。
注意:确保所使用的路由器和交换机的启动配置都已擦除。如果不确定,请联系教师。
所需资源
3 台路由器(支持 Cisco IOS 15.2(4)M3 版通用映像的 Cisco 1941 或同类路由器)
2 台交换机(支持 Cisco IOS 版本 15.0(2) lanbasek9 映像的 Cisco 2960 或同类交换机)
3 台 PC(采用 Windows 7、Vista 或 XP 且支持终端模拟程序,比如 Tera Term)
用于通过控制台电缆配置 Cisco IOS 设备的控制台端口
如拓扑所示的以太网电缆和串行电缆
第 1 部分:建立网络并配置设备的基本设置
在第 1 部分,您将建立网络拓扑并配置基本设置。
第 1 步:建立如拓扑图所示的网络。
第 2 步:初始化并重新加载路由器和交换机。
第 3 步:配置每台路由器和交换机的基本设置。
a.禁用 DNS 查找。
b.如拓扑所示配置设备名称。
c.配置密码加密。
d.指定 class 为特权 EXEC 密码。
e.指定 cisco 为控制台密码和 vty 密码。
f.配置一个向用户发出警告的 MOTD 标语:未经授权,禁止访问。
g.为控制台线路配置 logging synchronous。
h.在所有接口上配置地址分配表中列出的地址。
i.为每个接口配置包含 IP 地址的描述。
j.如果合适,配置 DCE 串行接口的时钟频率。
k.将运行配置复制到启动配置。
第 4 步:配置 PC 主机。
请参考地址分配表获取 PC 主机地址信息。
第 5 步:测试连通性。
此时,PC 无法相互执行 ping 操作。
a.每台工作站都应该能够对连接的路由器执行 ping 操作。如果需要,请检验并排除故障。
b.路由器应该能够相互执行 ping 操作。如果需要,请检验并排除故障。
第 2 部分:配置并检验 RIPv2 路由
在第 2 部分,您将为网络中的所有路由器配置 RIPv2 路由,然后检验路由表是否正确更新。在检验 RIPv2 之后,您需要禁用自动总结,配置默认路由,然后检验端到端连通性。
第 1 步:配置 RIPv2 路由。
a.在 R1 上,将 RIPv2 配置为路由协议并通告相应的网络。
R1# config t
R1(config)# router rip
R1(config-router)# version 2
R1(config-router)# passive-interface g0/1
R1(config-router)# network 172.30.0.0
R1(config-router)# network 10.0.0.0
passive interface 命令会阻止指定接口的路由更新。此过程可避免 LAN 中产生不必要的路由流量。但是,从其他接口发出的路由更新中仍将通告指定接口所属的网络。
b.在 R3 上配置 RIPv2,并使用 network 语句添加适当的网络和阻止 LAN 接口的路由更新。
c.在 R2 上配置 RIPv2。请勿通告 209.165.201.0 网络。
注意:不需要使 R2 上的接口 G0/0 成为被动接口,因为与此接口关联的网络未进行通告。
第 2 步:检查网络的当前状态。
a.可以在 R2 上使用 show ip interface brief 命令快速检验这两条串行链路的状态。
R2# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively down down
GigabitEthernet0/0 209.165.201.1 YES manual up up
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 10.1.1.2 YES manual up up
Serial0/0/1 10.2.2.2 YES manual up up
b.检查 PC 之间的连接。
在 PC-A 上是否能对 PC-B 执行 ping 操作?不能为什么?R1发数据给R2后不能转到pc-b

在 PC-A 上是否能对 PC-C 执行 ping 操作?能 为什么?建立了动态路由协议连接
在 PC-C 上是否能对 PC-B 执行 ping 操作?不能 为什么?R3发数据给R2后不能转到pc-b

在 PC-C 上是否能对 PC-A 执行 ping 操作?能 为什么?建立了动态路由协议连接

c.检验路由器上是否正在运行 RIPv2。
debug ip rip、show ip protocols 和 show run 命令都可以用来确认 RIPv2 的运行情况。R1 上的 show ip protocols 命令的输出如下所示。
R1# show ip protocols
Routing Protocol is “rip”
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 7 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 2, receive 2
Interface Send Recv Triggered RIP Key-chain
Serial0/0/0 2 2
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
172.30.0.0
Passive Interface(s):
GigabitEthernet0/1
Routing Information Sources:
Gateway Distance Last Update
10.1.1.2 120
Distance: (default is 120)
在 R2 上发出 debug ip rip 命令后,哪些信息可以用来确认 RIPv2 的运行情况?

观察完调试输出之后,在特权 EXEC 模式提示符后发出 undebug all 命令。
在 R3 上发出 show run 命令后,哪些信息可以用来确认 RIPv2 的运行情况?

d.检查路由的自动总结。
连接到 R1 和 R3 的 LAN 包含不连续的网络。R2 的路由表中显示两条到 172.30.0.0/16 网络的等价路径。R2 只显示主要有类网络地址 172.30.0.0,不会显示该网络的任何子网。
R2# show ip route
<省略部分输出>
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C 10.1.1.0/30 is directly connected, Serial0/0/0
L 10.1.1.2/32 is directly connected, Serial0/0/0
C 10.2.2.0/30 is directly connected, Serial0/0/1
L 10.2.2.2/32 is directly connected, Serial0/0/1
R 172.30.0.0/16 [120/1] via 10.2.2.1, 00:00:23, Serial0/0/1
[120/1] via 10.1.1.1, 00:00:09, Serial0/0/0
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C 209.165.201.0/24 is directly connected, GigabitEthernet0/0
L 209.165.201.1/32 is directly connected, GigabitEthernet0/0
R1 仅显示其自身到 172.30.0.0 网络的子网。R1 没有到 R3 上 172.30.0.0 子网的路由。
R1# show ip route
<省略部分输出>
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.1.0/30 is directly connected, Serial0/0/0
L 10.1.1.1/32 is directly connected, Serial0/0/0
R 10.2.2.0/30 [120/1] via 10.1.1.2, 00:00:21, Serial0/0/0
172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.30.10.0/24 is directly connected, GigabitEthernet0/1
L 172.30.10.1/32 is directly connected, GigabitEthernet0/1
R3 仅显示其自身到 172.30.0.0 网络的子网。R3 没有到 R1 上 172.30.0.0 子网的路由。
R3# show ip route
<省略部分输出>
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.0/30 is directly connected, Serial0/0/1
L 10.2.2.1/32 is directly connected, Serial0/0/1
R 10.1.1.0/30 [120/1] via 10.2.2.2, 00:00:23, Serial0/0/1
172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.30.30.0/24 is directly connected, GigabitEthernet0/1
L 172.30.30.1/32 is directly connected, GigabitEthernet0/1
在 R2 上使用 debug ip rip 命令,确定 RIP 更新中从 R3 收到的路由并将其列于此处。
172.30.30…0/24
第 3 步:禁用自动总结。
a.可以使用 no auto-summary 命令关闭 RIPv2 中的自动总结。在所有路由器上禁用自动总结。路由器将不会在主网边界处总结路由。此处的 R1 是一个范例。
R1(config)# router rip
R1(config-router)# no auto-summary
b.发出 clear ip route * 命令将路由表清空。
R1(config-router)# end
R1# clear ip route *
c.检查路由表。记住,清除路由表后需要一定时间来聚合路由表。
连接到 R1 和 R3 的 LAN 现在应该包含在所有三个路由表中。
R2# show ip route
<省略部分输出>
Gateway of last resort is not set

  10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks

C 10.1.1.0/30 is directly connected, Serial0/0/0
L 10.1.1.2/32 is directly connected, Serial0/0/0
C 10.2.2.0/30 is directly connected, Serial0/0/1
L 10.2.2.2/32 is directly connected, Serial0/0/1
172.30.0.0/16 is variably subnetted, 3 subnets, 2 masks
R 172.30.0.0/16 [120/1] via 10.2.2.1, 00:01:01, Serial0/0/1
[120/1] via 10.1.1.1, 00:01:15, Serial0/0/0
R 172.30.10.0/24 [120/1] via 10.1.1.1, 00:00:21, Serial0/0/0
R 172.30.30.0/24 [120/1] via 10.2.2.1, 00:00:04, Serial0/0/1
209.165.201.0/24 is variably subnetted, 2 subnets, 2 masks
C 209.165.201.0/24 is directly connected, GigabitEthernet0/0
L 209.165.201.1/32 is directly connected, GigabitEthernet0/0
R1# show ip route
<省略部分输出>
Gateway of last resort is not set

  10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks

C 10.1.1.0/30 is directly connected, Serial0/0/0
L 10.1.1.1/32 is directly connected, Serial0/0/0
R 10.2.2.0/30 [120/1] via 10.1.1.2, 00:00:12, Serial0/0/0
172.30.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.30.10.0/24 is directly connected, GigabitEthernet0/1
L 172.30.10.1/32 is directly connected, GigabitEthernet0/1
R 172.30.30.0/24 [120/2] via 10.1.1.2, 00:00:12, Serial0/0/0
R3# show ip route
<省略部分输出>
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.2.2.0/30 is directly connected, Serial0/0/1
L 10.2.2.1/32 is directly connected, Serial0/0/1
R 10.1.1.0/30 [120/1] via 10.2.2.2, 00:00:23, Serial0/0/1
172.30.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.30.30.0/24 is directly connected, GigabitEthernet0/1
L 172.30.30.1/32 is directly connected, GigabitEthernet0/1
R 172.30.10.0 [120/2] via 10.2.2.2, 00:00:16, Serial0/0/1
d.在 R2 上使用 debug ip rip 命令检查 RIP 更新。
R2# debug ip rip
在 60 秒后,发出 no debug ip rip 命令。
从 R3 接收的 RIP 更新中包含什么路由?

172.30.30.0/24
现在路由更新中是否包含子网掩码?不包含
第 4 步:配置并重分布用于 Internet 接入的默认路由。
a.在 R2 上,使用 ip route 命令建立到网络 0.0.0.0 0.0.0.0 的静态路由。这会将所有未知目的地址的流量发送到指向 PC-B 的 R2 G0/0,从而通过设置 R2 路由器的最后选用网关来模拟 Internet。
R2(config)# ip route 0.0.0.0 0.0.0.0 209.165.201.2
b.如果 RIP 配置中添加了 default-information originate 命令,R2 将向其他路由器通告路由。
R2(config)# router rip
R2(config-router)# default-information originate
第 5 步:检验路由配置。
a.查看 R1 上的路由表。
R1# show ip route
<省略部分输出>
Gateway of last resort is 10.1.1.2 to network 0.0.0.0

R* 0.0.0.0/0 [120/1] via 10.1.1.2, 00:00:13, Serial0/0/0
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.1.1.0/30 is directly connected, Serial0/0/0
L 10.1.1.1/32 is directly connected, Serial0/0/0
R 10.2.2.0/30 [120/1] via 10.1.1.2, 00:00:13, Serial0/0/0
172.30.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.30.10.0/24 is directly connected, GigabitEthernet0/1
L 172.30.10.1/32 is directly connected, GigabitEthernet0/1
R 172.30.30.0/24 [120/2] via 10.1.1.2, 00:00:13, Serial0/0/0
通过路由表如何能得知 R1 和 R3 共享的已划分子网的网络具有用于 Internet 流量的路径?
查看路由表中存在* 如果存在就可以

b.查看 R2 上的路由表。
其路由表如何提供 Internet 流量的路径?
S* 0.0.0.0/0 [1/0] via 209.165.201.2

第 6 步:检验连通性。
a.通过从 PC-A 和 PC-C 对 209.165.201.2 执行 ping 操作,模拟向 Internet 发送流量。
ping 是否成功?可以
b.通过 PC-A 和 PC-C之间的 ping,检验划分子网后的网络中的主机是否相互连通。
ping 是否成功?可以注意:可能需要禁用 PC 防火墙。
路由器接口摘要表
路由器接口摘要
路由器型号 Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 (F0/0) Fast Ethernet 0/1 (F0/1) Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
1900 Gigabit Ethernet 0/0 (G0/0) Gigabit Ethernet 0/1 (G0/1) Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
2801 Fast Ethernet 0/0 (F0/0) Fast Ethernet 0/1 (F0/1) Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
2811 Fast Ethernet 0/0 (F0/0) Fast Ethernet 0/1 (F0/1) Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
2900 Gigabit Ethernet 0/0 (G0/0) Gigabit Ethernet 0/1 (G0/1) Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
注意:若要了解如何配置路由器,请查看接口来确定路由器类型以及路由器拥有的接口数量。我们无法为每类路由器列出所有的配置组合。下表列出了设备中以太网和串行接口组合的标识符。此表中未包含任何其他类型的接口,但实际的路由器可能会含有其他接口。例如 ISDN BRI 接口。括号中的字符串是约定缩写,可在 Cisco IOS 命令中用来代表接口。
设备配置 - 最后部分
路由器 R1
R1# show run
Building configuration…

Current configuration : 1787 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
multilink bundle-name authenticated
!
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
description R1 LAN
ip address 172.30.10.1 255.255.255.0
duplex auto
speed auto
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:A::1/64
ipv6 rip Test1 enable
!
interface Serial0/0/0
description Link to R2
ip address 10.1.1.1 255.255.255.252
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:ACAD:12::1/64
ipv6 rip Test1 enable
clock rate 2000000
!
interface Serial0/0/1
no ip address
shutdown
!
router rip
version 2
passive-interface GigabitEthernet0/1
network 10.0.0.0
network 172.30.0.0
no auto-summary
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ipv6 router rip Test1
!
control-plane
!
banner motd ^CUnauthorized access is strictly prohibited.^C
!
line con 0
password 7 045802150C2E
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 060506324F41
login
transport input all
!
scheduler allocate 20000 1000
!
end
路由器 R2
R2#show run
Building configuration…

Current configuration : 2073 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
!
!
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description R2 LAN
ip address 209.165.201.1 255.255.255.0
duplex auto
speed auto
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:B::1/64
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0/0
description Link to R1
ip address 10.1.1.2 255.255.255.252
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:12::2/64
ipv6 rip Test2 enable
ipv6 rip Test2 default-information originate
!
interface Serial0/0/1
description Link to R3
ip address 10.2.2.2 255.255.255.252
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:ACAD:23::2/64
ipv6 rip Test2 enable
ipv6 rip Test2 default-information originate
clock rate 2000000
!
router rip
version 2
network 10.0.0.0
default-information originate
no auto-summary
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 209.165.201.2
!
ipv6 route ::/64 2001:DB8:ACAD:B::B
ipv6 router rip Test2
!
control-plane
!
banner motd ^CUnauthorized access is strictly prohibited.^C
!
line con 0
password 7 0822455D0A16
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 110A1016141D
login
transport input all
!
scheduler allocate 20000 1000
!
end
路由器 R3
R3#show run
Building configuration…

Current configuration : 1847 bytes
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
memory-size iomem 15
!
no ip domain lookup
ip cef
ipv6 unicast-routing
ipv6 cef
!
multilink bundle-name authenticated
!
!
redundancy
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/1
description R3 LAN
ip address 172.30.30.1 255.255.255.0
duplex auto
speed auto
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:ACAD:C::3/64
ipv6 rip Test3 enable
!
interface Serial0/0/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/0/1
description Link to R2
ip address 10.2.2.1 255.255.255.252
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:ACAD:23::3/64
ipv6 rip Test3 enable
!
router rip
version 2
passive-interface GigabitEthernet0/1
network 10.0.0.0
network 172.30.0.0
no auto-summary
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ipv6 router rip Test3
!
control-plane
!
banner motd ^CUnauthorized access is strictly prohibited.^C
!
line con 0
password 7 02050D480809
logging synchronous
login
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
password 7 14141B180F0B
login
transport input all
!
scheduler allocate 20000 1000
!
end
第一步
完成下图所示的拓扑
在这里插入图片描述
第二步打开路由器的串口,只放一个如下图所示
先关闭绿色电源,再放入nim-2t,再打开电源
在这里插入图片描述
最终拓扑图如下:
在这里插入图片描述

第三步:配置pc机ip地址与子网掩码和网关(只做一个,剩下两个一样照着表格填就好)

在这里插入图片描述
在这里插入图片描述
第四步:
配置路由器的名字以及控制台登陆基础设置以及ip地址和接口
,按表格做,只做一步,其余两个重复
在这里插入图片描述在这里插入图片描述
在这里插入图片描述

三个路由器配置后应该如下图所示

在这里插入图片描述
第五步:对路由器的设置进行补充(只做一个,两个重复)
配置密码加密。
指定 class 为特权 EXEC 密码。
指定 cisco 为控制台密码和 vty 密码。
配置一个向用户发出警告的 MOTD 标语:未经授权,禁止访问。
如果合适,配置 DCE 串行接口的时钟频率。
k.将运行配置复制到启动配置。
在这里插入图片描述
第六步:对交换机进行基本设置:(只做一个,另一个重复)
禁用 DNS 查找。
如拓扑所示配置设备名称。
配置密码加密。
指定 class 为特权 EXEC 密码。
指定 cisco 为控制台密码和 vty 密码。
配置一个向用户发出警告的 MOTD 标语:未经授权,禁止访问。
为控制台线路配置 logging synchronous。
将运行配置复制到启动配置。
在这里插入图片描述
在这里插入图片描述
第七步:配置ripv2的协议路由
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
这里缺少了两个语句
network 10.1.1.0
network 10.2.2.0
第八步:在r2上show ip interface brief 命令快速检验这两条串行链路的状态
在这里插入图片描述
第九步:检查R1路由器是否正在运行rip2
在这里插入图片描述
第十步:R2路由器输入debug ip rip,得到记过后undebug all
在这里插入图片描述

第十一步:R3路由器exec模式下 show run 找到如下信息
在这里插入图片描述
第十二步:展示R1 R2 R3的路由 show ip route
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
第十三步:将r2的debug ip rip与对应的接口获得的rip比较 (这就是自动总结)
在这里插入图片描述
第十四步:禁用自动总结路由器,只做一个,其他两个个一样
(1)禁用(三个)
在这里插入图片描述
(2)检查路由表
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
第十五步:R2上检查路由更新
在这里插入图片描述
第十六步:配置重分配R2的默认路由
在这里插入图片描述
第十七步:在R1上show ip route查看结果

在这里插入图片描述
第十八步:查看R2上的路由表
在这里插入图片描述
在这里插入图片描述
这是pc0的ping其余两个pc机的结果成功

  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

天天开心7788665544

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值