企业浮动路由应用实例
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了企业浮动路由应用实例相关的知识,希望对你有一定的参考价值。
实验拓扑图如下图所示:
浮动路由配置命令
R1上配置:
[R1]interface g0/0/1
[R1-GigabitEthernet0/0/1]ip address 192.168.2.1 24
[R1]interface g0/0/2
[R1-GigabitEthernet0/0/2]ip address 192.168.3.1 24
[R1]interface g0/0/0
[R1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[R1]ip route-static 192.168.4.0 255.255.255.0 192.168.2.2 preference 80
[R1]ip route-static 192.168.4.0 255.255.255.0 192.168.3.2 preference 90
R2上配置:
[R2]interface g0/0/1
[R2-GigabitEthernet0/0/1]ip address 192.168.2.2 24
[R2]interface g0/0/2
[R2-GigabitEthernet0/0/2]ip address 192.168.3.2 24
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]ip address 192.168.4.254 24
[R2]ip route-static 192.168.1.0 255.255.255.0 192.168.2.1 preference 80
[R2]ip route-static 192.168.1.0 255.255.255.0 192.168.3.1 preference 90
以上是关于企业浮动路由应用实例的主要内容,如果未能解决你的问题,请参考以下文章