下载此文档

负载均衡.doc


文档分类:IT计算机 | 页数:约4页 举报非法文档有奖
1/4
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/4 下载此文档
文档列表 文档介绍
ROS PCC负载均衡
:标记PCC和路由:
/ip firewall mangle add chain=forward tcp-flags=syn action=change-mss new-mss=1440 comme nt="Ch g-mark=pcc_route_5 passthrough=no
注:在标记PCC时将“ in-interface=lan ”取消并换成 “ src-address=网段” 效果好
像比较好。
:伪装:
/ip firewall nat add cha in=srcnat out- in terface= 出口一 /ip firewall nat add cha in=srcnat out- in terface= 出口二 /ip firewall nat add cha in=srcnat out- in terface= 出口三 /ip firewall nat add cha in=srcnat out- in terface= 出口四 /ip firewall nat add cha in=srcnat out- in terface= 出口五 三:设置路由:
acti on=masquerade acti on=masquerade acti on=masquerade acti on=masquerade acti on=masquerade
仲 route add dst-address= routi ng-mark=pcc_route_1
仲 route add dst-address=
routi ng-mark=pcc_route_1
仲 route add dst-address=
gateway=

口 一
check-gateway=p ing
gateway=

口 二
check-gateway=p ing
gateway=

口三
check-gateway=p ing
routi ng-mark=pcc_route_1
/ip route add dst-address= gateway= 出 口 四 check-gateway=p ing
routi ng-mark=pcc_route_1
/ip route add dst-address= gateway= 出 口五 check-gateway=p ing
rout in g-mark=pcc_route_5
四:设置默认路由:
/ip route add dst-address= gateway=出口一
/ip route add dst-address= gateway=出口二
/ip route add dst-address= gateway=出口三
/ip route add dst-addr

负载均衡 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数4
  • 收藏数0 收藏
  • 顶次数0
  • 上传人小s
  • 文件大小59 KB
  • 时间2022-04-11
最近更新