ip route 0.0.0.0 0.0.0.0 10.1.1.62 5
ip route 0.0.0.0 0.0.0.0 10.1.1.63 5
Load Blance
配置ACL
ip access-list standard department-1
permit 192.168.0.0 0.0.0.255
ip access-list standard department-2
permit 192.168.1.0 0.0.0.255
策略路由
route-map policy_gw permit 10
match ip address deparment-1
set ip default next-hop 10.1.1.62
route-map policy_gw permit 20
match ip address deparment-2
set ip default next-hop 10.1.1.63
在内部网络接口应用策略
interface FastEthernet0/1
ip policy route-map policy_gw
这样192.168.0.0/24段就走10.1.1.62、192.168.1.0/24段就走10.1.1.63
acl名字,策略路由名字都可以自己写的,注意匹配就可
上面应用的策略是default的,即没有路由条目匹配的才走
根据你的网络环境,也可以设置为set ip next-hop