Community discussions

MikroTik App
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 12:15 pm

PTP Admin:

Hi to All,

I am new here and beginners of Mikrotik RouterBoard.

I would like to seek your help and assistance regarding 2nd Mikrotik RB to configure as Wifi repeater using network cable connected to the switch.
Because, I cannot detect the AP of main mikrotik router and if possible to connect the 2nd router via network cable and to have wifi with internet connection.

Btw, no problem when laptop connected to 2nd router via network cable.

If possible, we can reset and config from scratch.

Here's the network to be done below:

Image


Main Mikrotik Router Model: 951Ui-2HnD
Current Firmware: 3.10

2nd Mikrotik Router Model: 951Ui-2HnD
Current Firmware: 6.49

If you need more details, please let me know.

Thank you in advance!
Cheers!
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 12:52 pm

Question1:
Du you really want to "repeat" the WIFI-Signal ?
Or do you really just want an to configure the Device as an Access Point with the same SSID and Password?

Question 2:
Can you please share the config of your Mikrotik devices.
/export hide-sensitive file=anynameyoulike
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 1:44 pm

Question1:
Du you really want to "repeat" the WIFI-Signal ?
Or do you really just want an to configure the Device as an Access Point with the same SSID and Password?

Question 2:
Can you please share the config of your Mikrotik devices.
/export hide-sensitive file=anynameyoulike
Thank you for your attention.

Here's below config of the repeater:
[sysadmin@MikroTik] > export hide-sensitive
# nov/10/2021 12:35:23 by RouterOS 6.49
# software id = BTMY-F40L
#
# model = 951Ui-2HnD

/interface bridge
add name=bridgeLAN
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk eap-methods="" \
    group-ciphers=tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik \
    unicast-ciphers=tkip,aes-ccm
add authentication-types=wpa2-psk group-ciphers=tkip,aes-ccm mode=dynamic-keys \
    name=wlan1-WIFIMAIN-repeater supplicant-identity=MikroTik \
    unicast-ciphers=tkip,aes-ccm
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no frequency=2457 \
    mode=station-bridge security-profile=wlan1-WIFIMAIN-repeater ssid=\
    WIFIMAIN
add disabled=no mac-address=D6:CA:6D:F5:E8:95 master-interface=wlan1 name=wlan2 \
    security-profile=wlan1-WIFIMAIN-repeater ssid=WIFIMAIN_Repeater
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp_pool0 ranges=192.168.1.2-192.168.1.254
add name=dhcp_pool1 ranges=192.168.1.2-192.168.1.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridgeLAN name=dhcp1
/interface bridge port
add bridge=bridgeLAN hw=no interface=ether1
add bridge=bridgeLAN hw=no interface=ether2
add bridge=bridgeLAN hw=no interface=ether3
add bridge=bridgeLAN interface=ether4
add bridge=bridgeLAN interface=ether5 multicast-router=disabled
add bridge=bridgeLAN interface=wlan1 multicast-router=disabled
add bridge=bridgeLAN interface=wlan2
/interface list member
add interface=wlan1 list=WAN
add interface=ether1 list=LAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
/interface wireless align
set receive-all=yes
/ip address
add address=192.168.1.90/24 interface=ether1 network=192.168.1.0
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=8.8.8.8 gateway=192.168.1.1
/ip dns
set servers=192.168.1.1
/ip route
add distance=1 gateway=192.168.1.1
/system clock
set time-zone-name=Africa/Luanda
/system leds
set 0 interface=wlan1 leds=wlan-led type=wireless-status
set 1 interface=ether1 leds=led1
set 2 interface=ether2 leds=led2
set 3 interface=ether3 leds=led3
set 4 interface=ether4 leds=led4
set 5 interface=ether5 leds=led5 type=interface-activity
/system note
----
I tried to configured wireless, its working fine, if the 2nd router is just beside or 5meters away. But, once I put it in the other floor, it will not working. I tried to extend the TX Power, but still cannot reach.

So, i just plan to use network cable if it possible.

Sorry for the late reply
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 2:12 pm

I think you created a Network-Loop.
Both ether4 and Wlan1 are connected to your network and are assigned the same bridge.

Why do you absolutely want to create a Wireless-Repeater, if you have a wired connection to your AP?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19323
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 3:38 pm

As noted the far WIFI device should be set as an Accesspoint/Switch. No need to repeat

There are some basic suggestions.
All smart devices need to be on the same management vlan (meaning they should all have an IP address on the management vlan).
On all MT devices on the bridge select MSTP (for the STP settings).

Assuming the above is done...........

/interface bridge
add name=bridgeLAN {STP, set this to MSTP}
/ DEFINE MANAGMENT VLAN with interface bridge
/ DEFINE WIF VLAN(s) with interface bridge
/ DEFINE any VLANs wired with interface bridge
/interface list (there is no WAN or LAN here)
add name=management
/ip pool (no need for a pool)
/ip dhcp-server (no need for a dhcp-server)
/interface bridge port
add bridge=bridgeLAN hw=no interface=ether1 ingress filtering=yes frame-types=admit-only-tagged
add bridge=bridgeLAN hw=no interface=ether2 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
add bridge=bridgeLAN hw=no interface=ether3 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
add bridge=bridgeLAN interface=ether4 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
add bridge=bridgeLAN interface=ether5 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
add bridge=bridgeLAN interface=wlan1 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
add bridge=bridgeLAN interface=wlan2 pvid=?? ingress filtering=yes frame-types=admit-only-untagged-and-priority
/interface bridge vlans
add bridge=bridgeLAN tagged=bridgeLAN,ether1 vlan-ids=(management vlan)
etc........
/interface list member
add interface=VLANX list=management (where vlanX is the managment vlan)
/ip address
add address=192.168.X.YY/24 interface=VLANX network=192.168.X.0 ( ip address of MT device has to be on the managment vlan)
/ip dhcp-server network (not required)
/ip dns
set servers=192.168.X.1
/ip route
add distance=1 gateway=192.168.X.1

See this reference ........
viewtopic.php?t=143620
Last edited by anav on Wed Nov 10, 2021 3:54 pm, edited 1 time in total.
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 3:54 pm

I think you created a Network-Loop.
Both ether4 and Wlan1 are connected to your network and are assigned the same bridge.

Why do you absolutely want to create a Wireless-Repeater, if you have a wired connection to your AP?
Wlan1 is not yet connected to the AP Main router if I put in the other floor.

I want only a repeater to extend the wifi in the other floor.

If the 2nd router is only beside or 5meters away, its working fine. but when i put in the other floor, it will not detect the main router.
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 5:35 pm


Why do you absolutely want to create a Wireless-Repeater, if you have a wired connection to your AP?
So its better to not repeat the wireless-repeater, just connect the network cable from switch to 2nd router? then I will turn on the WLAN1 for WIFI?

I will configure as a normal router? but the ip will get from the main router?
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 5:51 pm

So its better to not repeat the wireless-repeater, just connect the network cable from switch to 2nd router? then I will turn on the WLAN1 for WIFI?
YES,
Usually the "Repeater" funktion is only used when no Wired-Conection to the Network is available.
The main Reason for this is "Performance".

You can find a lot of information on the internet, incl. the Mikrotik-Wiki and Forum
Mikrotik have a lot of MUM-Presentations on Wifi available on youtube
For exemple: https://www.youtube.com/watch?v=JRbAqie1_AM
 
hecatae
Member Candidate
Member Candidate
Posts: 244
Joined: Thu May 21, 2020 2:34 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 5:54 pm

Main Mikrotik Router Model: 951Ui-2HnD
Current Firmware: 3.10
That firmware version is terrifying.
 
ConnyMercier
Forum Veteran
Forum Veteran
Posts: 725
Joined: Tue Dec 17, 2019 1:08 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Wed Nov 10, 2021 5:56 pm

I will configure as a normal router? but the ip will get from the main router?
@anav already made some great suggestions for your Mikrotik-Device.

If you setup the "wlan1" interface as AP-Bridge,
All connected Wifi-Device (2.4GHz and 5 GHz) will be part of your Main-Network on L2
Consequently all Devices will obtain an IP-Address from your main Router.
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Fri Nov 12, 2021 4:21 pm

On saturday, I will do a maintenance. I will update the necessary for the device.

I will post again once everything is ok.
Thank you to all suggestions, I appreciate it! :) :) :)
 
katopz24
newbie
Topic Author
Posts: 27
Joined: Fri Sep 28, 2018 10:28 pm

Re: How to configure 2nd mikrotik router as repeater via network cable

Thu Nov 18, 2021 5:45 pm

This is now resolved.

Thank you for your suggestions.

Btw, I configured as a PTP Bridge AP, put a static IP address and Gateway of main router.

Cheers! :D :D :D

Who is online

Users browsing this forum: No registered users and 37 guests