浮动静态路由
作者:互联网
1、设置AR-LT和AR-YD路由器的环回口地址
int LoopBack0
ip address 123.1.1.1 24
2、配置接口ip
[AR-GW]int g0/0/0
[AR-GW-GigabitEthernet0/0/0]ip address 56.1.1.1 24
[AR-GW]int g0/0/1
[AR-GW-GigabitEthernet0/0/1]ip address 57.1.1.1 24
[AR-LT]int g0/0/0
[AR-LT-GigabitEthernet0/0/0]ip address 56.1.1.2 24
[AR-YD]int g0/0/0
[AR-YD-GigabitEthernet0/0/0]ip address 57.1.1.2 24
3、配置静态路由
[AR-GW]ip route-static 0.0.0.0 0 56.1.1.2
[AR-GW]ip route-static 0.0.0.0 0 57.1.1.2 preference 62
4、一般情况下,数据走AR-LT,关闭路由器AR-LT的g0/0/0接口,数据走AR-YD。
[AR-GW-GigabitEthernet0/0/0]shutdown
标签:浮动,GW,静态,ip,int,LT,AR,24,路由 来源: https://www.cnblogs.com/xl4ng/p/16211632.html