- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
RouterOS软路由不同ISP多线合并的做法,本例电信联通
#对于多线接入情况下,不同ISP接入线路是不能做流量合并的这一说法,一直谬误至今。#以下的方法我很早就开始使用了,最近有朋友问起,我
#索性做出一个文档,让有需要的人也能获益。
一,(我这里就不再详细写出如何架设pppoe服务了,如有需要在文库里搜索ROS设置pppoe服务就可以有不少相关文档)假设你的内网用户为pppoe拨号上网方式,服务配置文件为profile1,用户地址池为pool1,联通dns地址为221.5.88.88,电信dns地址为202.96.128.86,那么只需指定其中一个为主dns地址就可以了,我这里设为联通的dns地址,在winbox里打开ppp-profile,找到你的服务配置文件,设置如下图1所示:
或者按下面第二步的方法输入脚本命令也可以:
#脚本代码
/ppp profile add change-tcp-mss=no dns-server=”221.5.88.88” local-address=”10.0.0.1” name=profile1 only-one=yes remote-address=pool1
二,你先自行在winbox建立好各个宽带连接,以六条adsl宽带为例,假设宽带线路pppoe-out1,pppoe-out3,pppoe-out5为电信,
pppoe-out2 pppoe-out4 pppoe-out6为联通,你可以按正常的PCC六线合并的方法先做好,或者你也可以进入winbox,在菜单打开New Terminal,复制下面#####开头,至#####结尾部份的内容,粘贴进去就可以了。如下图2所标的:
#####以下代码为pcc的6线合并做法,连接标记是大写C开头,路由标记是大写R开头(你若果有其它做法,也可以,这里你需要记住连接标记的名字,一会在NAT会用到)
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local new-connection-mark=C1” per-connection-classifier=both-addresses:6/0
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=C1 dst-address-type=!local new-routing-mark=R1
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local new-connection-mark=C2 per-connection-classifier=both-addresses:6/1
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=C2 dst-address-type=!local new-routing-mark=R2
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local new-connection-mark=C3 per-connection-classifier=both-addresses:6/2
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=C3 dst-address-type=!local new-routing-mark=R3
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!local new-connection-mark=C4 per-connection-classifier=both-addresses:6/3
/ip firewall mangle add action=mark-routing chain=prerouting connection-mark=C4 dst-address-type=!local new-routing-mark=R4
/ip firewall mangle add action=mark-connection chain=prerouting dst-address-type=!loca
您可能关注的文档
- PQRASME要求填写的焊接工艺评定报告.doc
- Practical Automatic Determination of Causal Relationships in Software Execution Traces.pdf
- Prediction of Physical, Color, and Sensory Characteristics of Broiler Breasts by VisibleNea.pdf
- Precision Spectroscopy of Pionic Atoms From Pion Mass Evaluation to Tests of Chiral Perturb.pdf
- Predictive Evaluation of Econometric Forecasting Models in Commodity Futures Markets.pdf
- Predicting the Performance of Randomized Parallel Search An Application to Robot Motion Pla.pdf
- PRELIMINARY VERSION A Design Diversity Metric and Analysis of Redundant Systems.pdf
- Present and NearFuture Reflected Light Searches for CloseIn Planets.pdf
- prepared for a special issue of abour Economics,.pdf
- Present and Future Electroweak Precision Measurements and the Indirect Determination of the.pdf
最近下载
- 2024年广东省初中学业水平考试模拟地理试卷(一)课件.pptx VIP
- 广州洪德巷历史文化街区保护利用规划.pdf
- 广州市人民南历史文化街区保护利用规划(文本+图纸).pdf VIP
- 关于烹饪的策划书3.pptx
- WALL·E《机器人总动员(2008)》完整中英文对照剧本.pdf VIP
- LDT 99.13-2008 建设工程劳动定额市政工程-维修养护工程.docx
- 实验报告之spss频数分析.docx VIP
- 新教科版科学小学科学五年级下册全册教案(表格式,可打印).docx
- 2022年新改版教科版五年级上册科学全册教案教学设计(新整理版).doc
- 某小区高楼变频恒压供水系统设计.docx
文档评论(0)