Community discussions

MikroTik App
 
bogumil99
just joined
Topic Author
Posts: 4
Joined: Tue Mar 29, 2022 8:58 am

PTP Bridge AP - no Internet

Tue Mar 29, 2022 11:49 am

Hello everyone,

i'm begginer in Mikrotik but I would like to develop in this direction.
I have problem with mANTBox in PTP Bridge AP mode.
Configuration is:

Internet --- RUTX11 ----(wire)---- Tp-link CPE710 (Bridge Client) ---(wifi)--- mANTBox (PTP Bridge AP) ---(wire)--- several IP cameras
......................................................................................................................................\---(wifi)---Tp-link CPE710 (Bridge Client) ---(wire)--- PC

I have problem with internet access from mANTBox side.
It seems there is a problem with dns because winbox and outside http access to AP clients works.
Previously, the CPE710 was in place of the mANTBox and everything worked.
In Intarface List i set wlan as WAN
there is a strange thing in the arp table because the router's ip address is mapped to the MAC address of the Bridge Client.
 
Rugx
Member Candidate
Member Candidate
Posts: 123
Joined: Thu Jan 02, 2020 1:44 pm

Re: PTP Bridge AP - no Internet

Tue Mar 29, 2022 2:59 pm

Just changing the WAN, unfortunately, will not be enough. Post your:
/export hide-sensitive
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19325
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: PTP Bridge AP - no Internet

Tue Mar 29, 2022 3:04 pm

/export hide-sensitive file=anynameyouwish
 
bogumil99
just joined
Topic Author
Posts: 4
Joined: Tue Mar 29, 2022 8:58 am

Re: PTP Bridge AP - no Internet

Wed Mar 30, 2022 6:34 pm

I've removed configuration and try with clean bridge - no results.
My export:
 jan/02/1970 00:54:40 by RouterOS 6.47.9
# software id = FQC9-XX0T
#
# model = RBD22UGS-5HPacD2HnD
# serial number = E7480ED23D2B
/interface bridge
add name=bridge_transp
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
set [ find default-name=wlan2 ] country=poland disabled=no frequency=auto \
    installation=outdoor mode=bridge ssid=9FEDEB wps-mode=disabled
/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
/interface bridge port
add bridge=bridge_transp interface=all
/ip address
add address=192.168.1.249/24 interface=bridge_transp network=192.168.1.0
Last edited by bogumil99 on Thu Mar 31, 2022 11:35 am, edited 1 time in total.
 
bogumil99
just joined
Topic Author
Posts: 4
Joined: Tue Mar 29, 2022 8:58 am

Re: PTP Bridge AP - no Internet

Thu Mar 31, 2022 11:34 am

I read a bit but found no solution.
When I try ping 8.8.8.8, I have "no route to host"
At the moment, MT only passes the communication of the 192.168.1.0 network.
On the AP client which is connected betwen MT and router, communication with Internet is normal.
[admin@MikroTik] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         INTERFACE                                
 0   192.168.1.249/24   192.168.1.0     bridge_transp                            
[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 ADC  192.168.1.0/24     192.168.1.249   bridge_transp             0
[admin@MikroTik] > /interface print
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                                TYPE       ACTUAL-MTU L2MTU  MAX-L2MTU
 0  RS ether1                              ether            1500  1598       9214
 1   S sfp1                                ether            1500  1598       9214
 2  XS wlan1                               wlan             1500  1600       2290
 3  RS wlan2                               wlan             1500  1600       2290
 4  R  bridge_transp                       bridge           1500  1598
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: PTP Bridge AP - no Internet  [SOLVED]

Thu Mar 31, 2022 12:21 pm

Configuration is:

Internet --- RUTX11 ----(wire)---- Tp-link CPE710 (Bridge Client) ---(wifi)--- mANTBox (PTP Bridge AP) ---(wire)--- several IP cameras
......................................................................................................................................\---(wifi)---Tp-link CPE710 (Bridge Client) ---(wire)--- PC


Thx for that schema. Important, but it is clear this cannot work with
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
set [ find default-name=wlan2 ] country=poland disabled=no frequency=auto \
installation=outdoor mode=bridge ssid=9FEDEB wps-mode=disabled

/interface bridge port
add bridge=bridge_transp interface=all
Not clear what link (WLAN1 or WLAN2) is used for the uplink. But WLAN2 in mode bridge is not usable as AP besides one connection, could have been mode "AP bridge".
The basic problem is this first wifi link "Tp-link CPE710 (Bridge Client) ---(wifi)--- mANTBox" where the TP-Link is a non-Mikrotik device.
That standard 802.11 wifi link only carries 3 MAC addresses in the wifi packet. There are 4 addresses needed: "source-sender-receiver-destination" for passing data to multiple destinations. (Because receiver and destination are different then.)

Possible solutions :
1) replace the TP-Link CPE710 with an equivalent MT device (starting from SXTsq ac and up). and run the link as "station bridge"-"AP bridge". The "bridge" function in this link will transmit 4 MAC addresses and will be fully level L2 (=bridged network) transparant.

2) Try to enable a WDS link. WDS is designed to transmit 4 MAC addresses. (It is a special case of "bridge" above) Connecting WDS between different vendors is not impossible but not guaranteed to work. Setting security is one of the problems.

3) With quite some limitations use mode="station-pseudobridge" at the mANTBox WLAN interface for that link. "Pseudobridge" will make an internal table in the mANTBox for the different IPv4 IP addresses and redistribute. It will communicate with only its own MAC address on the uplink. Only IPv4 will work, some protocols like DHCP 'may' not work. Not recommended solution.

4) Possible solution is to let go the one L2 network, and connect the mANTBox at L3 including NAT. mANTBox will communicate with only it's own MAC and IP address in the link. It is the typical 'AP Home' setup towards internet. DHCP will be on the mANTBox for the camera's and other clients.

5) Maybe the CPE750 can make a transparant connection to the RUTX11. As this is the same problem again: only one client MAC address for every standard wifi link.

6) If for L3 solution "4)" above, a L2 connection is absolutly necessary, then a L2 VPN tunnel could be created towards the mANTBox.
Last edited by bpwl on Thu Mar 31, 2022 12:36 pm, edited 1 time in total.
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: PTP Bridge AP - no Internet

Thu Mar 31, 2022 12:35 pm

to add to @bpwl excellent explanation: Mikrotik station bridge implementation isn't standard 802.11, and is that what makes possible to "transparently bridge" two segments regardless of number of clients at both sides w/o requiring WDS or alike when using Mikrotik at both sides.

Applicability Matrix:
Captura de pantalla 2022-03-31 a las 11.33.06.png
You do not have the required permissions to view the files attached to this post.
 
bogumil99
just joined
Topic Author
Posts: 4
Joined: Tue Mar 29, 2022 8:58 am

Re: PTP Bridge AP - no Internet

Sun Apr 03, 2022 8:29 pm

Thank you guys very much for the detailed explanation. I bought a SXTsq 5ac and everything works great.
Thanks again for your help.

Who is online

Users browsing this forum: almdandi and 80 guests