RouterOS switch expansion and bandwidth overlay for WAN ports

Source: Internet
Author: User
Tags passthrough routeros

Laboratory Equipment:

1 routeros5.24 Version Router

1 Cisco 2960 Switches

2 100M Telecom Bandwidth: 1 downstream 100M Uplink 8M, the other line 100M upstream 4M

Experimental Purpose:

Overlay multiple internet broadband to increase the company's network demand. In this experiment, there are only two broadband, it is possible to reach hundreds of broadband access, then use a network card access is not very realistic. Use the switch extension to increase the bandwidth access port

Experimental steps:

One: Do WAN port switch expansion first

1. do VLAN on 2960, and join Port, one VLAN per port

En

Conf T

Vlan 2

Exit

Vlan 3

Exit

Inter F0/1

Sw Mode Trunk

Exit

Inter F 0/2

SW ACC VLAN 2

Exit

Inter F 0/3

SW ACC VLAN 3

End

Write

And the ADSL1, ADSL2 from the cat to access the switch port 2, 3 (the Cat dial mode to bridge mode),

RouterOS wan1 Port 1 to the switch,

2. do VLAN port on RouterOS, bridge port, PPPoE

Add VLAN

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/B8/wKiom1d7QLbhtXB5AAAf2uk4ktQ282.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 463.png "style=" Float:none; "alt=" Wkiom1d7qlbhtxb5aaaf2uk4ktq282.png "/>


New Vlan2 and VLAN3 (must correspond to VLAN numbers set on the switch)




650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/B7/wKioL1d7QLfBOE0MAAA1KBsDPVw409.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 498.png "style=" Float:none; "alt=" Wkiol1d7qlfboe0maaa1kbsdpvw409.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/B8/wKiom1d7QLeBHr2TAAA0FhKgB8Q838.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 500.png "style=" Float:none; "alt=" Wkiom1d7qlebhr2taaa0fhkgb8q838.png "/>

The corresponding ports of the VLAN are WAN1 port

Open the Bridge window and add Network Bridge

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/B7/wKioL1d7QLey7OVMAABE2TU65NU178.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 532.png "style=" Float:none; "alt=" Wkiol1d7qley7ovmaabe2tu65nu178.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/B8/wKiom1d7QLiTHR7HAAAya40hI-M207.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 534.png "style=" Float:none; "alt=" Wkiom1d7qlithr7haaaya40hi-m207.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/B7/wKioL1d7QLjjqHAEAAAzDIWOJiw055.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 536.png "style=" Float:none; "alt=" Wkiol1d7qljjqhaeaaazdiwojiw055.png "/>




Select the Protocols tab in the Bridge window and increase the network Bridge and the corresponding VLAN Port

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/83/B8/wKiom1d7QLjxhdRHAABK0yzS4Z0186.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 567.png "style=" Float:none; "alt=" Wkiom1d7qljxhdrhaabk0yzs4z0186.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/B7/wKioL1d7QLijmUqvAABKWJUrPkE560.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 569.png "style=" Float:none; "alt=" Wkiol1d7qlijmuqvaabkwjurpke560.png "/>

Once built, you can add PPPoE dialing to the interface.

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/B8/wKiom1d7QLjSV0qdAAA1VjhUudg197.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 592.png "style=" Float:none; "alt=" Wkiom1d7qljsv0qdaaa1vjhuudg197.png "/>


ADSL1 Dial-up settings

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/83/B7/wKioL1d7QLnQnEkfAAA1u0TJ5wc713.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 605.png "style=" Float:none; "alt=" Wkiol1d7qlnqnekfaaa1u0tj5wc713.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/83/B8/wKiom1d7QLmCturZAAA8t_WbpB8625.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 607.png "style=" Float:none; "alt=" Wkiom1d7qlmcturzaaa8t_wbpb8625.png "/>

ADSL2 Dial-up settings

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/83/B8/wKiom1d7QLmhLvDlAAAvvH4SaDs774.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 620.png "style=" Float:none; "alt=" Wkiom1d7qlmhlvdlaaavvh4sads774.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/B7/wKioL1d7QLqRZb50AAA17hdwmU8273.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 622.png "style=" Float:none; "alt=" Wkiol1d7qlqrzb50aaa17hdwmu8273.png "/>

Firewall Settings NAT

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/B7/wKioL1d7QLqyiN_KAAA2RTkAV40556.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 633.png "style=" Float:none; "alt=" Wkiol1d7qlqyin_kaaa2rtkav40556.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/83/B8/wKiom1d7QLqzdXhCAAAxj1mYhG4623.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 635.png "style=" Float:none; "alt=" Wkiom1d7qlqzdxhcaaaxj1myhg4623.png "/>

so far Wan for RouterOS The port switch expansion configuration has been completed and the ports have not been pooled yet, although two lines have been dialed, but only one line has data

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/83/B7/wKioL1d7QLqz3JldAAAyvDUlGXc881.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 696.png "style=" Float:none; "alt=" Wkiol1d7qlqz3jldaaayvdulgxc881.png "/>


Two, now start doing the bandwidth overlay experiment, The overlay of the WAN Port switch extension and the overlay setting method of multi-Nic are different.

Winbox directly set some places can not be selected, directly on the command

1. set up multi-line overlay labeling and PCC

/IP Firewall mangle

Add Action=change -ms s Chain=forward comment= "" Disabled=no new-mss=1400 protocol=tcp Tcp-flags=syn

: For i from=2 to=3 do= {/IP firewall mangle add action=mark-connection chain=input comment= "" Disabled=no\\

in-interface= ("pppoe-out". $i) new-connection-mark= ("Pppoe-out". $i) Passthrough=yes}

: For i from=2 to=3 do= {/IP firewall mangle add action=mark-routing chain=output comment= "" connection-mark= ("Pppoe-out". $i) \ \

Disabled=no New-routi N g-mark= ("To_pppoe-out". $i) Passthrough=yes}

: For i from=2 to=3 do= {/IP firewall mangle add action=mark-connection chain=prerouting comment= "" Disabled=no dst-< /c3>address-type=!local\\

new-connection-m ark= ("Pppoe-out". $i) Passthrough=yes per-connection-classifier= ("both-addresses:2/". $i-1)) src-address=192.168.0.0/24}

: For i from=2 to=3 do= {/IP firewall mangle add action=mark-routing chain=prerouting comment= "" Connection-mark= ("Pppoe-ou T ". $i) \ \

Disabled=no new-routing-mark= ("To_pppoe-out". $i) Passthrough=yes src-address=192.168.0.0/24}

2. Add a route

: For i from= 2 to=3 do= {/IP route add comment= ("ADSL". $i) disabled=no distance=1 dst-address=0.0.0.0/0\\

gateway= ("Pppoe-out". $i) routing-mark= ("To_pppoe-out". $i)}

: For i from=2 to=3 do= {/IP route add check-gateway=ping comment= ("ADSL". $i) Disabled=no distance=10 dst-address=0.0.0.0/0 \\

gateway= ("Pppoe-out". $i)}

Setup is complete, and the code above is self-modifying when you do it yourself

。 Now look at our two dial-up broadband situation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/B8/wKiom1d7QLugifiIAABM52_RnK8503.png "style=" float: none; "Title=" RouterOS do WAN port switch expansion and bandwidth overlay 2167.png "alt=" Wkiom1d7qlugifiiaabm52_rnk8503.png "/>


two broadband all have data, then look at the bandwidth size, because the network card maximum rate is 100M all downlink max or 100M, see if upstream bandwidth is 12M around

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/B7/wKioL1d7QLvDbp7xAADg01Yc-sw208.png "title=" RouterOS do WAN port switch expansion and bandwidth overlay 2227.png "style=" Float:none; "alt=" Wkiol1d7qlvdbp7xaadg01yc-sw208.png "/>


upstream actual test up to 14M, which shows the success of broadband overlay experiment.




This article is from the "Spark" blog, be sure to keep this source http://ajun168.blog.51cto.com/9381567/1795898

RouterOS switch expansion and bandwidth overlay for WAN ports

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.