I just reset my RouterBOARD 941-2nd, but now I don’t know how to configure it
I have two TP-Link Modem because I have two phone lines; the RB941 was configured to bridge (if that is the term) the two connections into one, and there was an output cable connected to a LynkSYS Router which takes charge of the WiFi. Each Modem gave me up to 200kbps to download speed, meaning that the WiFi gave me a 400kbps speed because the two lines were routed together or something like that.
Please notice that the RB941 WiFi was disabled, and the Default Gateway was different than the one used by the LynkSYS router. It was something like that:
192.168.0.1 → LynkSYS Router
1.0.1.1 → RB941
Also, there was a printer connected to the LynkSYS Router by a Ethernet cable, that’s why we used different IP Default Gateway.
So, what I want to do is to set back the RB941 to bridge together the two lines and gave me all the possible juice from those line connections. Can someone please tell me how to do that? I have searched on the net, but the tutorials I have found are either too old for the RouterOS that my Mykrotik have, or there is some lack of explanation, like most of the cases people share some code lines that I don’t know how to do with or where to execute those
I feel this might be a problem. If by code lines you mean config exports like in my link, you don’t need to execute anything, you can just read it and apply using WinBox/WebFig, where are exactly the same parameters.
Yes! That config export thing is what I was talking about! However, I am not sure how to execute those lines…
Also, What stops me to start all this whole process is that I am not sure which IP I must assign to each Modem, and how to do it (?)
I can enter into the Modem config the same way I do into the Router, but I am not sure If I have to do something.
So, I have to set an IP for each modem, or it will be enough if I just copy/paste that example text into the command line?
Applying some config without knowing what you are doing is not the best idea. Sometimes it might work, but more often it won’t. Especially with more complex stuff like this.
What do you know about your modems (they sound more like routers to me)? If you reset only RB, they should still have their original config. So try to look at them and post some more detailed info. I’d guess they have some LAN configuration with different subnets, probably with DHCP server.
Exactly, what do you want to know or what should I share? They are both TP-LINK ADSL2+MODEM TD-8620T. To be honest, I don’t remember they were setup in any way, those were just connected. The only configuration the guy that do it perform, was into the LinkSYS Router and the MikrotikRB.
If they were just connected, then my guess it that they have DHCP server and you only need to connect something with DHCP client and it will work. Is it perhaps how you connect to internet right now, by connecting a computer directly to one of these modems? Anyway, I’d try to configure RB with DHCP clients on interfaces connected to modems and see if they get any addresses. Just go to IP->DHCP Client in WinBox/WebFix and add them, you don’t need to set anything other than the right interfaces.
Yes! I am able to connect to the internet just by passing through an Ethernet cable between computer and the modem; everything is set up with DHCP as the LinkSYS router do the same thing.
It is necessary to change the IP address for the Mikrotik router? The old configuration was 1.111.0.1 or something like that, while it is now 192.168.88.1. I am not sure if the 192.168 may cause a conflict between both routers. If that’s the case, how I am supposed to change it?
I strongly suggest to try to find someone local, who can help you with the basics. Because so far it looks like it will take a looooooooong time this way.
But if you’re willing to try yourself, start by logging to RB, open New Terminal and run:
/export hide-sensitive
It will print out current configuration. Then right-click the window, select Copy All and paste it here in
Sorry for the delay on the answer, but I was out of home!
Anyway, back in business, I prefer to do it myself because I kinda distract my self that way
Here is what you request for:
MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
MikroTik RouterOS 6.32.2 (c) 1999-2015 http://www.mikrotik.com/
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level
The following default configuration has been installed on your router:
-------------------------------------------------------------------------------
Wireless Configuration:
mode: ap-bridge;
band1: 2ghz-b/g/n;
ht-chains: two;
ht-extension: 20/40mhz-Ce;
WAN (gateway) Configuration:
gateway: ether1 (renamed with extension '-gateway');
firewall: enabled;
NAT: enabled;
DHCP Client: enabled;
LAN Configuration:
LAN Port: bridge-local;
switch group: ether2 (master), ether3, ether4
(renamed with extensions '-master-local' and '-slave-local')
LAN IP: 192.168.88.1;
DHCP Server: enabled;
-------------------------------------------------------------------------------
You can type "v" to see the exact commands that are used to add and remove
this default configuration, or you can view them later with
'/system default-configuration print' command.
To remove this default configuration type "r" or hit any other key to continue.
If you are connected using the above IP and you remove it, you will be disconnec
ted.
Confirming configuration
jan/02/1970 00:00:27 system,error,critical router was rebooted without proper shutdown
jan/02/1970 00:00:24 system,error,critical router was rebooted without proper shutdown
jan/02/1970 00:00:24 system,error,critical router was rebooted without proper shutdown
jan/02/1970 00:00:24 system,error,critical router was rebooted without proper shutdown
jan/02/1970 00:00:25 system,error,critical router was rebooted without proper shutdown
[admin@MikroTik] > /export hide-sensitive
# oct/15/2016 15:57:59 by RouterOS 6.32.2
# software id = RPJK-J4JV
#
/interface bridge
add admin-mac=4C:5E:0C:08:30:D7 auto-mac=no name=bridge-local
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
distance=indoors frequency=auto mode=ap-bridge ssid=MikroTik-0830DA \
wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=\
ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=\
ether4-slave-local
/ip pool
add name=dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridge-local name=default
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=\
ether2-master-local network=192.168.88.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=\
no interface=ether1-gateway
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add action=fasttrack-connection chain=forward comment="default configuration" \
connection-state=established,related
add chain=forward comment="default configuration" connection-state=\
established,related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=\
ether1-gateway
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=ether1-gateway
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge-local type=internal
add interface=ether1-gateway type=external
/system clock
set time-zone-name=America/Caracas
/system routerboard settings
set cpu-frequency=650MHz protected-routerboot=disabled
[admin@MikroTik] >
Please notice that, in order to collect that info, I connect the Mikrotik directly to my computer; the Lynksys router was disconnected.
Also, please remember that what I want to do is to merge my two phone connections though the Mikrotik so I can get faster internet speed / download / upload / etc.
Looking forward for your kindly comments.
EDIT: I connected the RB directly to my PC because in the basic scheme I want to configure, I can’t enter the Mikrotik router, neither the Network printer. Please, see attached images.
Ok, so the plan is to connect one modem to WAN1 and the other to WAN2. WAN1 is current port 1 (ether1-gateway). WAN2 does not exist yet, you need to remove one port from LAN. Going for minimal changes, lets use port 4. You can either paste these in terminal or you can go by names and apply them using WinBox or WebFig. I’d recommend the latter, even though it’s more work. The names are often self-explanatory, so you should get what you’re doing. It will help you in long term, because it’s always better to understand things and know what you’re doing and why.
Remove port 4 from LAN:
/interface ethernet
set [ find default-name=ether4 ] master-port=none name=ether4-gateway2
Now if you connect one modem to port 1 and your PC to port 2 or 3, you should have internet access. When you disconnect first modem and connect the other one to port 4, you should also have internet access. When you connect both, it should still work, but only one connection will be used.
With both modems connected, post output of these two:
/ip address print
/ip route print
It could also be helpful to connect to admin interface of each modem and look at exact settings of their DHCP servers, specifically address ranges they give to clients. Lets call it “preparation for plan B”.
While I do all you suggest, can you kindly review my previous post? I edit it to add some important information; not sure if it will help, tho.
EDIT: How can I access to the Mikrotik without disconnet the current scheme I currently have? The should be a way but I am not aware of. I guess I have to forward a port or something like that in the LinkSys Router, but of course, I am not sure hahaha.
I understand you want Linksys router for wifi, but do you actually want it to use different subnet? Wouldn’t you prefer just 192.168.88.x for everything?
Other than that, my current plan is for ISP1 on port 1 and ISP2 on port 4. Normally I’d use port 2, exactly as in your image, but it means few more changes. Nothing complicated, but still possible to do some mistakes while doing that. And it does not really matter, all ports are equal.
I am not sure if I need a different subnet; what I want is to connect to my network printer and to the mykrotyk router through the LinkSys router via WiFi.
In the actual scheme, I can access to the LSR via 192.168.1.1, but not to the MT RB neither the printer
What can I do to access MK RB configuration through the LS router via WiFi?
Also, Yes, I will follow your recommendation to configure Port 4 as WAN. I am doing it right now.
If RB doesn’t work yet, you probably have WAN of Linksys connected to one modem to get online? Easiest solution should be to connect other modem to RB’s port 1 (that should work already) and then disconnect Linksys from modem and connect it to RB instead (its WAN to RB’s port 2 or 3). It should give you internet behind Linksys and also access to RB’s 192.168.88.1. If it doesn’t, it could be if Linksys WAN was configured with static address. In that case you need to find out what it is. Or simply change it to dhcp.
Hmmm, well, let’s save the LS Router to the end; will be easier for me to handle 1 thing at time hahaha.
After I did the configuration, it did worked, but then I disconnect both modems, and connected modem 1 to port 4, there was internet, then change to port 1, and there is NOT internet in that port. Weird. Neither modem 1 nor 2 gave me internet access through port 1; both can give me internet access thorugh port 4, tho.
Do you still want the info, even if port 1 does not give me internet access?
Port 1 should work too. Changes so far were specifically to make port 4 work the same way as port 1 already should have. In any case, you can’t post too much info. So try connecting both modems and in addition to those two commands, add also output of:
MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
MikroTik RouterOS 6.32.2 (c) 1999-2015 http://www.mikrotik.com/
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level
oct/15/2016 18:25:13 dhcp,critical,error dhcp-client on ether1-gateway lost IP address 186.90.247.6 - received NAK from dhcp server 186.90.224.1
[admin@MikroTik] > /ip dhcp-client print
Flags: X - disabled, I - invalid
# INTERFACE USE-PEER-DNS ADD-DEFAULT-ROUTE STATUS ADDRESS
0 ;;; default configuration
ether1-gateway yes yes bound 190.72.89.27/19
1 ether4-gateway2 yes yes bound 186.90.244.45/19
[admin@MikroTik] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 ether2-master-local
1 D 186.90.244.45/19 186.90.224.0 ether4-gateway2
2 D 190.72.89.27/19 190.72.64.0 ether1-gateway
[admin@MikroTik] > /ip route print
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 186.90.224.1 1
1 DS 0.0.0.0/0 190.72.64.1 1
2 ADC 186.90.224.0/19 186.90.244.45 ether4-gateway2 0
3 ADC 190.72.64.0/19 190.72.89.27 ether1-gateway 0
4 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
[admin@MikroTik] >
Make sure you have “routing” package enabled (see if you have Routing menu, or look in System->Packages). If not, enable it and reboot RB before adding these rules. Then go to IP->DHCP Client and change Default Route Distance to 11 for the one on ether1 and to 12 for ether4. Then disable and enable them. Now when you check routes to 0.0.0.0/0, they should have Routing Marks set to “isp1” and “isp2” (if the column is not visible by default, double click them to show details).
Thinking about it some more, go again to DHCP clients and disable Use Peer DNS for both. And then add static DNS resolvers:
/ip dns
set servers=8.8.8.8,8.8.4.4
Perhaps it’s a little too optimistic hoping for the happy end, but sometimes miracles do happen. If not, post everything again, full export and those three prints.