已阅读5页,还剩3页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Ros 3.30 PCC双线负载均衡脚本脚本如下 /ip address add address=内网网关IP/内网子网掩码 interface=内网网卡名称 comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538/ip dns set primary-dns=首选DNS secondary-dns=备用DNS allow-remote-requests=yes/interface pppoe-client add name=pppoe-out1 interface=外网网卡1名称 user=PPPoE帐号1 password=密码1 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out2 interface=外网网卡2名称 user=PPPoE帐号2 password=密码2 add-default-route=no disabled=no/ip firewall mangleadd action=change-mss chain=forward comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538 disabled=no new-mss=1440 protocol=tcp tcp-flags=synadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yesadd action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:2/0 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:2/1 src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out1_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out1 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out2_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out2 passthrough=yes src-address=内网网断/内网子网掩码/ip routeadd comment=1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_pppoe-out1 check-gateway=pingadd comment=2 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_pppoe-out2 check-gateway=pingadd check-gateway=ping comment=pppoe-out1 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1add check-gateway=ping comment=pppoe-out2 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2/ip firewall natadd action=masquerade chain=srcnat comment=1 disabled=no out-interface=pppoe-out1add action=masquerade chain=srcnat comment=2 disabled=no out-interface=pppoe-out2Ros 3.30 PCC三线负载均衡脚本脚本如下/ip address add address=内网网关IP/内网子网掩码 interface=内网网卡名称 comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538/ip dns set primary-dns=首选DNS secondary-dns=备用DNS allow-remote-requests=yes/interface pppoe-client add name=pppoe-out1 interface=外网网卡1名称 user=PPPoE帐号1 password=密码1 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out2 interface=外网网卡2名称 user=PPPoE帐号2 password=密码2 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out3 interface=外网网卡3名称 user=PPPoE帐号3 password=密码3 add-default-route=no disabled=no/ip firewall mangleadd action=change-mss chain=forward comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538 disabled=no new-mss=1440 protocol=tcp tcp-flags=synadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out3 new-connection-mark=pppoe-out3_conn passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out3_conn disabled=no new-routing-mark=to_pppoe-out3 passthrough=yesadd action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:3/0 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:3/1 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out3_conn passthrough=yes per-connection-classifier=both-addresses:3/2 src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out1_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out1 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out2_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out2 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out3_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out3 passthrough=yes src-address=内网网断/内网子网掩码/ip routeadd comment=1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_pppoe-out1 check-gateway=pingadd comment=2 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_pppoe-out2 check-gateway=pingadd comment=3 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=to_pppoe-out3 check-gateway=pingadd check-gateway=ping comment=pppoe-out1 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1add check-gateway=ping comment=pppoe-out2 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2add check-gateway=ping comment=pppoe-out3 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out3/ip firewall natadd action=masquerade chain=srcnat comment=1 disabled=no out-interface=pppoe-out1add action=masquerade chain=srcnat comment=2 disabled=no out-interface=pppoe-out2add action=masquerade chain=srcnat comment=3 disabled=no out-interface=pppoe-out3Ros 3.30 PCC四线负载均衡脚本脚本如下/ip address add address=内网网关IP/内网子网掩码 interface=内网网卡名称 comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538/ip dns set primary-dns=首选DNS secondary-dns=备用DNS allow-remote-requests=yes/interface pppoe-client add name=pppoe-out1 interface=外网网卡1名称 user=PPPoE帐号1 password=密码1 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out2 interface=外网网卡2名称 user=PPPoE帐号2 password=密码2 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out3 interface=外网网卡3名称 user=PPPoE帐号3 password=密码3 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out4 interface=外网网卡4名称 user=PPPoE帐号4 password=密码4 add-default-route=no disabled=no/ip firewall mangleadd action=change-mss chain=forward comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538 disabled=no new-mss=1440 protocol=tcp tcp-flags=synadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out3 new-connection-mark=pppoe-out3_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out4 new-connection-mark=pppoe-out4_conn passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out3_conn disabled=no new-routing-mark=to_pppoe-out3 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out4_conn disabled=no new-routing-mark=to_pppoe-out4 passthrough=yesadd action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:4/0 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:4/1 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out3_conn passthrough=yes per-connection-classifier=both-addresses:4/2 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out4_conn passthrough=yes per-connection-classifier=both-addresses:4/3 src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out1_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out1 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out2_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out2 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out3_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out3 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out3_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out4 passthrough=yes src-address=内网网断/内网子网掩码/ip routeadd comment=1 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=to_pppoe-out1 check-gateway=pingadd comment=2 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=to_pppoe-out2 check-gateway=pingadd comment=3 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=to_pppoe-out3 check-gateway=pingadd comment=4 disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=to_pppoe-out4 check-gateway=pingadd check-gateway=ping comment=pppoe-out1 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1add check-gateway=ping comment=pppoe-out2 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2add check-gateway=ping comment=pppoe-out3 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out3add check-gateway=ping comment=pppoe-out4 disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out4/ip firewall natadd action=masquerade chain=srcnat comment=1 disabled=no out-interface=pppoe-out1add action=masquerade chain=srcnat comment=2 disabled=no out-interface=pppoe-out2add action=masquerade chain=srcnat comment=3 disabled=no out-interface=pppoe-out3add action=masquerade chain=srcnat comment=4 disabled=no out-interface=pppoe-out4Ros 3.30 PCC五线负载均衡脚本脚本如下/ip address add address=内网网关IP/内网子网掩码 interface=内网网卡名称 comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538/ip dns set primary-dns=首选DNS secondary-dns=备用DNS allow-remote-requests=yes/interface pppoe-client add name=pppoe-out1 interface=外网网卡1名称 user=PPPoE帐号1 password=密码1 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out2 interface=外网网卡2名称 user=PPPoE帐号2 password=密码2 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out3 interface=外网网卡3名称 user=PPPoE帐号3 password=密码3 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out4 interface=外网网卡4名称 user=PPPoE帐号4 password=密码4 add-default-route=no disabled=no/interface pppoe-client add name=pppoe-out5 interface=外网网卡5名称 user=PPPoE帐号5 password=密码5 add-default-route=no disabled=no/ip firewall mangleadd action=change-mss chain=forward comment=D1CCC9F1B6E0CFDF504343BDC5B1BE526F73BCBCCAF5BDBBC1F7C8BAA3BA313032383732303538 disabled=no new-mss=1440 protocol=tcp tcp-flags=synadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out3 new-connection-mark=pppoe-out3_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out4 new-connection-mark=pppoe-out4_conn passthrough=yesadd action=mark-connection chain=input comment= disabled=no in-interface=pppoe-out5 new-connection-mark=pppoe-out5_conn passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out1_conn disabled=no new-routing-mark=to_pppoe-out1 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out2_conn disabled=no new-routing-mark=to_pppoe-out2 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out3_conn disabled=no new-routing-mark=to_pppoe-out3 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out4_conn disabled=no new-routing-mark=to_pppoe-out4 passthrough=yesadd action=mark-routing chain=output comment= connection-mark=pppoe-out5_conn disabled=no new-routing-mark=to_pppoe-out5 passthrough=yesadd action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out1_conn passthrough=yes per-connection-classifier=both-addresses:5/0 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out2_conn passthrough=yes per-connection-classifier=both-addresses:5/1 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out3_conn passthrough=yes per-connection-classifier=both-addresses:5/2 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out4_conn passthrough=yes per-connection-classifier=both-addresses:5/3 src-address=内网网断/内网子网掩码add action=mark-connection chain=prerouting comment= disabled=no dst-address-type=!local in-interface=ether1 new-connection-mark=pppoe-out5_conn passthrough=yes per-connection-classifier=both-addresses:5/4 src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out1_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out1 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out2_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out2 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out3_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out3 passthrough=yes src-address=内网网断/内网子网掩码add action=mark-routing chain=prerouting comment= connection-mark=pppoe-out3_conn disabled=no in-interface=ether1 new-routing-mark=to_pppoe-out4 passthrough=yes src-address=内网网断/内网子网掩码add action=mark
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年年店长工作总结9篇
- 2024年美德少年评选方案4篇
- 2024年今天情人节语录(篇)
- 2024年营销总监辞职报告(全文完整)
- 2024年家乡风俗满分作文3篇
- 2024入驻天猫合同范本
- 2024中介服务佣金协议范本
- 国家开放大学《消费者权益保护法》形考任务1-3+终结性考试参考答案
- 职业技术学院民宿管理与运营人才培养方案
- 【可行性报告】2023年碳酸丙烯酯行业项目可行性分析报告
- 酒驾思想汇报
- 地理中国-青藏高原智慧树知到答案章节测试2023年青海师范大学
- 抖音等短视频签约演员合作协议
- 普外科诊疗指南-技术操作规范
- Unit 6 Earth first Developing ideas 课件-高中英语外研版(2019)必修第二册
- 2022年谷歌广告官方认证考试答案
- 通风与空调资料表格大全
- 闫庄小学德育工作先进集体事迹材料
- GB/T 26935-2011集装箱钢材表面处理和涂料施工规范
- GB/T 41403-2022超硬磨料制品金刚石或立方氮化硼磨具形状和尺寸
- 社会主义市场经济概论简答题及答案
评论
0/150
提交评论