本文共 909 字,大约阅读时间需要 3 分钟。
浮动路由配置实验:
企业浮动路由可以增加企业网络的可靠性,当一条线路出现故障时,隐藏的浮动路由便会出现在路由条目中,保证网络的可靠性。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如上图所示,上面线路(g0/0/1)是主线路,当主线路故障时,数据将会走下面线路(g0/0/2)。
转载于:https://blog.51cto.com/11806823/2164311