9.2.1验证RIP路由协议

  • 格式:doc
  • 大小:161.50 KB
  • 文档页数:8

RIP路由协议
9.2.1 验证RIP基本功能
9.2.2 验证RIP引入外部路由
9.2.3 验证RIP负载分担
验证RIP基本功能
测试编号9.2.1 验证RIP基本功能
测试结果:
步骤2:配置R1/R2/R3
R1配置:
interface Loopback0
ip address 1.1.1.1 255.255.255.255 interface Ethernet0/0
ip address 192.168.1.1 255.255.255.252 interface Ethernet0/2
ip address 192.168.2.1 255.255.255.252 R2配置:
interface Loopback0
ip address 2.2.2.2 255.255.255.255 interface Ethernet0/0
ip address 192.168.1.2 255.255.255.252 R3配置:
interface Loopback0
ip address 3.3.3.3 255.255.255.255 interface Ethernet0/0
ip address 192.168.2.2 255.255.255.252 步骤3:
配置RIP路由:
R1
router rip
network 1.0.0.0
network 192.168.1.0
network 192.168.2.0
R2
router rip
network 2.0.0.0
network 192.168.1.0
R3
router rip
network 3.0.0.0
network 192.168.2.0
步骤4:测试连通性
步骤5:查看路由表
验证RIP基本功能
测试编号9.2.2验证RIP引入外部路由测试步骤:
测试结果:
步骤2:
R1配置:
interface Loopback0
ip address 1.1.1.1 255.255.255.255
interface Ethernet0/0
ip address 192.168.1.1 255.255.255.252 interface Ethernet0/2
ip address 192.168.2.1 255.255.255.252
R2配置:
interface Loopback0
ip address 2.2.2.2 255.255.255.255
interface Ethernet0/0
ip address 192.168.1.2 255.255.255.252
R3配置:
interface Loopback0
ip address 3.3.3.3 255.255.255.255
interface Ethernet0/0
ip address 192.168.2.2 255.255.255.252
步骤3:配置R1/R2的RIP路由,配置R3的静态路由R1
router rip
network 1.0.0.0
network 192.168.1.0
network 192.168.2.0
R2
router rip
network 2.0.0.0
network 192.168.1.0
R3
Ip route 0.0.0.0 0.0.0.0 192.168.2.1
步骤4:引入外部路由
Router rip
redistribute static metric 5 //引入外部路由,同时设置开销为5 步骤5:测试网络连通性
查看路由表:
9.2.3 验证RIP负载分担
验证RIP基本功能
测试编号9.2.3 验证RIP负载分担
测试结果:
步骤2:配置各个路由器
R1配置:
interface Loopback0
ip address 1.1.1.1 255.255.255.255 interface Ethernet0/0
ip address 192.168.1.1 255.255.255.252 interface Ethernet0/2
ip address 192.168.2.1 255.255.255.252 R2配置:
interface Loopback0
ip address 2.2.2.2 255.255.255.255 interface Ethernet0/0
ip address 192.168.1.2 255.255.255.252 R3配置:
interface Loopback0
ip address 3.3.3.3 255.255.255.255 interface Ethernet0/0
ip address 192.168.2.2 255.255.255.252 R5配置:
interface Ethernet0/0
ip address 192.168.3.2 255.255.255.252 interface Ethernet0/1
ip address 192.168.4.2 255.255.255.252 步骤3:配置RIP路由
R1:
router rip
version 2
network 192.168.1.0
network 192.168.2.0
R2:
router rip
version 2
network 2.0.0.0
network 192.168.1.0
network 192.168.3.0
R3:
router rip
version 2
network 3.0.0.0
network 192.168.2.0
network 192.168.4.0
R5:
router rip
version 2
network 192.168.3.0
network 192.168.4.0
步骤4:查看路由表
步骤5:测试数据包流向(按包、按流)
1:进程交换(no ip cef /no ip route-cache)基于包2:快速交换(no ip cef/ip route-cache)基于目的IP 3:cef交换(ip cef)基于目的IP和源IP 基于流。