模拟两条出链路负载均衡,断开一条后,上传只有一条的一半,是不是有什么没配置?
两条线路都在的时候,测速下载2M,上传2M
只用一条线路的时候,测速下在1M,上传0.5M
#1.接口IP配置
#
interface GigabitEthernet1/0/0
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/1
ip address 10.10.10.2 255.255.255.252
nat outbound
#
interface GigabitEthernet1/0/2
ip address 20.20.20.2 255.255.255.252
nat outbound
#
#2.接口加了安全域
#
security-zone name Management
undo import interface GigabitEthernet1/0/1
#
security-zone name Trust
import interface GigabitEthernet1/0/0
#
security-zone name Untrust
import interface GigabitEthernet1/0/1
import interface GigabitEthernet1/0/2
#
#3.安全策略
#
security-policy ip
rule 0 name u-t
action pass
source-zone Trust
destination-zone Untrust
rule 1 name Local-any
action pass
source-zone Local
rule 2 name t-L
action pass
source-zone Trust
destination-zone Local
#
#4.创建链路组
#
nqa template icmp 10
description ip 10.10.10.1
out interface GigabitEthernet1/0/1
#
nqa template icmp 20
description ip 20.20.20.1
out interface GigabitEthernet1/0/2
#
loadbalance link-group lg
transparent enable
#
#5.配置链路
loadbalance link link1
router ip 10.10.10.1
link-group lg
probe 10
#
loadbalance link link2
router ip 20.20.20.1
link-group lg
probe 20
#
#6.配置虚服务器
#
virtual-server vs type link-ip
virtual ip address 0.0.0.0 0
default link-group lg
service enable
#
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论