鲁言军のblog

静态路由高级应用

负载分担

R1:

system-view

Int g0/0/0

Ip add 192.168.1.1 24

Int g0/0/1

Ip add 12.1.1.1 24

Int g0/0/2

Ip add 21.1.1.1 24

Ip route-static 192.168.2.0 24 12.1.1.2

Ip route-static 192.168.2.0 24 21.1.1.2

R2

system-view

Int g0/0/0

Ip add 12.1.1.2 24

Int g0/0/1

Ip add 192.168.2.1 24

Int g0/0/2

Ip add 21.1.1.2 24

Ip route-static 192.168.1.0 24 12.1.1.1

Ip route-static 192.168.1.0 24 21.1.1.1

路由备份

R1:

Ip route-static 192.168.2.0 24 12.1.1.2

Ip route-static 192.168.2.0 24 21.1.1.2 pre 100

R2

Ip route-static 192.168.1.0 24 12.1.1.1

Ip route-static 192.168.1.0 24 21.1.1.1 pre 100

默认路由

R1:

Ip route-static 0.0.0.0 0.0.0.0 12.1.1.2

R2:

Ip route-static 0.0.0.0 0.0.0.0 12.1.1.1

 

posted @ 2018-12-01 11:27  鲁言军  阅读(179)  评论(0编辑  收藏  举报