静态路由高级应用

负载分担

R1:

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

扫描二维码关注公众号,回复: 4315435 查看本文章

R2

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

猜你喜欢

转载自www.cnblogs.com/hehuanling/p/10048791.html