浮动静态路由及负载均衡

1、概述

1.1 浮动静态路由

  浮动静态路由是一种特殊的静态路由,通过配置去往相同的目的网段,但优先级不同的静态路由,以保证在网络中优先级较高的路由,即主路由失效的情况下,提供备份路由,但是在正常情况下,备份路由不会出现在路由表中。

1.2 负载均衡

  当数据有多条可选路径前往同一目的网络,可以通过配置相同优先级和开销的静态路由实现负载均衡,使得数据的传输均衡的分配到多条路径上,从而实现数据的分流,减轻单条路径负载过重的效果,而当其中某一条路径失效时,其他路径仍然能够正常传输数据,也起到了冗余的作用。

2、配置浮动路由及负载均衡

2.1 实验内容

 

 2.2 实验拓扑

 

 2.3 实验编址

 

 2.4 实验步骤

  step1:按照实验编址表配置好各个设备的地址及相关信息,并测试各直连链路的连通性,通过测试发现各直连链路都可联通。

[pangsong-r1-Serial0/0/0]ping 192.168.10.10
PING 192.168.10.10: 56 data bytes, press CTRL_C to break
Reply from 192.168.10.10: bytes=56 Sequence=1 ttl=128 time=60 ms
Reply from 192.168.10.10: bytes=56 Sequence=2 ttl=128 time=50 ms
Reply from 192.168.10.10: bytes=56 Sequence=3 ttl=128 time=40 ms
Reply from 192.168.10.10: bytes=56 Sequence=4 ttl=128 time=20 ms
Reply from 192.168.10.10: bytes=56 Sequence=5 ttl=128 time=50 ms

--- 192.168.10.10 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/44/60 ms

[pangsong-r1-Serial0/0/0]ping 10.0.13.3
PING 10.0.13.3: 56 data bytes, press CTRL_C to break
Reply from 10.0.13.3: bytes=56 Sequence=1 ttl=255 time=50 ms
Reply from 10.0.13.3: bytes=56 Sequence=2 ttl=255 time=50 ms
Reply from 10.0.13.3: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 10.0.13.3: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 10.0.13.3: bytes=56 Sequence=5 ttl=255 time=30 ms

--- 10.0.13.3 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/40/50 ms

[pangsong-r1-Serial0/0/0]ping 10.0.12.2
PING 10.0.12.2: 56 data bytes, press CTRL_C to break
Reply from 10.0.12.2: bytes=56 Sequence=1 ttl=255 time=40 ms
Reply from 10.0.12.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 10.0.12.2: bytes=56 Sequence=3 ttl=255 time=50 ms
Reply from 10.0.12.2: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 10.0.12.2: bytes=56 Sequence=5 ttl=255 time=30 ms

--- 10.0.12.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/32/50 ms

  step2:实现总部和各分部,各分部之间互通

 

 

 

 

   step3:使用pc1 ping pc2 测试连通性可以ping通,总部和分部之间也能通信

 

 

 

   step4:使用命令查看pc1到pc2的数据经过哪些网口,发现他走的是R1>R2>R3的路线

 

 

 

posted @ 2019-12-06 17:42  pangsong666  阅读(743)  评论(0编辑  收藏  举报