Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

RouterOS bonding: Difference between revisions

m
no edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
<indicator name="Front">[[File:Menu-bonding.svg|link=:Category:Bonding|30px|Back up to the Bonding Page]]</indicator>
 
*Also see [[Router - RouterOS and Routerboard]]
*[irc://irc.z.je/routerboard irc://irc.z.je/routerboard] - which is hosted on the same irc server that AAISP use and contains (among others) lots of AAISP customers using Mikrotik
My set up -
5 adsl links via A&A. 1 adsl link via Orange. 2 lan subnets and 1 wlan.
ThwThe A&A adsl links are bonded, Orange adsl is a backup route + home traffic. 1 lan subnet for
home the other for servers/company network. wlan for laptops via A&A.
 
console> ip address add address=w.x.y.z/24 interface=ether9
 
ThatsThat's it. Now to move over to winbox.
 
Making sure your winbox pc is on the same subnet (w.x.y.0/24) access the router (in this
*Select Interface tab. Click the red '+' and select PPPoE client.
*In the window that popped up :-
*Select General. Type a name (e.g. A&A1).
*Max MTU (I've found I've had to set this to 1454* to get reasonable results).
** updated- mtu 1492 works just fine now
*Interface : The interface where the adsl modem can be found. (e.g. ether1)
 
*Select Dial Out tab
 
Repeat for all packet marks (two, three, four, five)
At this point you maybe thinking.. "why not just do this section instead of marking the packets first before marking them again for routing?" ThatsThat's because I have more than 1 subnet that gets balanced in my setup. For every other subnet you only need to repeat the packet marking rules with the one, two, three etc. There's no need to repeat the routing marker rules.
There may be better ways to do this but in my setup, it works. I configure 1 subnet and the wlan to use the packet making, the 2nd subnet (home lan) is marked to use the 'Orange' adsl route.
 
Now the last bit to get the marked route packets out to the right adsl link.
 
You may have noticed in the PPPoE interface setups I did not tick "add default route", thatsthat's because I don't want the PPPoE to set up any default routes automatically otherwise everytime an adsl link drops and regains connection the default route will change.
 
Ip Route
*Add new route (click red +)
*Destination : 0.0.0.0/0
*Gateway Interface : A&A1 (use the drop down menu to selctselect)
*Check Gateway : Ping (used to see if the gateway is up)
*Routing Mark : one (again use the drop down menu to select)
Now apply, copy and repeat for A&A2, A&A3 with routing mark two, three and so on.
 
That now gets the data out but doesn't cover a default route should lines start to drop. Rather than setting up 1 default route, set up all the adsl links with increasing distance. e.g. all the marked routing routes have a distance of 1 (default)
 
create new routes like so..
 
 
[[Category:Configuring3rd Party Routers|RouterOS]]
 
[[Category:Bonding]]
[[Category:RouterBonding Configuration]]
autoreview, Bureaucrats, editor, Interface administrators, reviewer, Administrators
12,270

edits