link aggregation with vpls - mikrotik · link aggregation with vpls maris bulans mum 2010, usa....
TRANSCRIPT
![Page 1: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/1.jpg)
Link Aggregation with VPLS
Maris BulansMUM 2010, USA
![Page 2: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/2.jpg)
Workshop setup
R2R1
● Two links that cannot be aggregated directly (wireless)
● Needs L2 connectivity between LANs behind router
![Page 3: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/3.jpg)
Link aggregation with EoIP
● Pros:● Fairly easy to set up
● Cons:● Bigger overhead● Needs more CPU resources
![Page 4: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/4.jpg)
Link aggregation with VPLS
● Pros:● Very small overhead● Solves WDS limitations with 802.11n● Faster forwarding based on labels
● Cons:● Quite complex configuration process● MPLS/VPLS/BGP knowledge is needed
![Page 5: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/5.jpg)
Setup steps● IP connectivity● OSPF, LDP● BGP● Routing Filters● Bonding
![Page 6: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/6.jpg)
Why we need BGP?
LDP VPLSLDP VPLS
![Page 7: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/7.jpg)
Step 1: LDP and OSPF● Enable OSPF on both links and redistribute
loopback address● Enable LDP
![Page 8: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/8.jpg)
Step2: BGP
![Page 9: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/9.jpg)
Step3: Routing filters
![Page 10: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/10.jpg)
Filtering result
![Page 11: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/11.jpg)
Step4: Bonding
![Page 12: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/12.jpg)
Problem!BGP/VPLS interfaces are dynamic.
Solution?
![Page 13: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/13.jpg)
Script● Search for “unknown” entries in bonding slave
configuration● Create a list of existing VPLS tunels● Reconfigure bonding slaves● Run the script from scheduler
![Page 14: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/14.jpg)
:local bondID [/interface bonding find name="bonding1"];:local slaves [/interface bonding get $bondID slaves];:local vplsAid [interface vpls find vpls="aa"];:local vplsBid [interface vpls find vpls="bb"];:local newSlaves;:if ( ([:pick $slaves 0] = "(unknown)") || ([:pick $slaves 1] = "(unknown)")) do={ :if ( ($vplsAid = "") || ($vplsBid = "") ) do={ :log info "at least one of vpls is down"; } else={ :set newSlaves "$[/interface vpls get $vplsAid name],$[/interface vpls get $vplsBid name]"; :log info $newSlaves; /interface bonding set $bondID slaves=$newSlaves; }}
![Page 15: Link Aggregation with VPLS - MikroTik · Link Aggregation with VPLS Maris Bulans MUM 2010, USA. Workshop setup R1 R2 Two links that cannot be aggregated directly (wireless) Needs](https://reader030.vdocuments.net/reader030/viewer/2022021603/5c290a4f09d3f2e5368c8e95/html5/thumbnails/15.jpg)
The End