Community discussions

MikroTik App
 
jhg
just joined
Topic Author
Posts: 14
Joined: Thu Jun 27, 2024 10:32 pm

Understanding PTP Bridge operation

Thu Aug 29, 2024 11:32 pm

I've set up a working PTP bridge with a Wireless Wire Pro60ac pair, but the provided configuration doesn't look the way the documentation says it should.

The documentation says one end should be in "PTP Bridge AP" mode and the other end in "PTP Bridge CPE" mode. What I see in QuickSet is that one end is indeed in "PTP Bridge Mode", but the other is in plain "CPE" mode. The objective is to have a completely transparent bridge between two buildings, but also be able to give both devices local IP addresses from the main LAN DHCP server, instead of the static 192.168.88.x addresses they came with.

Should I change the device currently in "CPE" mode to "PTP Bridge CPE" mode?
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3129
Joined: Mon Apr 08, 2019 1:16 am

Re: Understanding PTP Bridge operation

Fri Aug 30, 2024 2:06 am

I don't trust the Quickset here. If I look into my wireless-wire 60GHz Cubes, then indeed Quickset does as if it is set as a routed setup, where it is in fact a bridged setup.

Bridged setup with WLAN1 and WLAN60 in a bonded interface (bond1) that bond1 is a port on the bridge with the ether1 interface.
I would be very surprised if Quickset would handle or mimic this setup, but rather expect Quickset to completly destroy the wireless-wire setup.

The AP side:
/interface bridge
add ........ name=bridge
/interface wireless
add ...name=wlan1...mode=bridge ............
/interface w60g
set [ find ] disabled=no mode=bridge ......name=wlan60-1..........
/interface w60g station
add comment=defconf name=wlan60-station-1 parent=wlan60-1 remote-address=..................
/interface bonding
add comment=defconf mode=active-backup name=bond1 primary=wlan60-station-1 \
    slaves=wlan60-station-1,wlan1
/interface wireless security-profiles
...............
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=bond1

And the CPE(station) side
/interface bridge
add ........ name=bridge
/interface wireless
..................mode=station-bridge ssid=....
/interface w60g
set [ find ] disabled=no mode=station-bridge name=wlan60-1 ................
/interface bonding
add comment=defconf mode=active-backup name=bond1 primary=wlan60-1 slaves=\
    wlan60-1,wlan1
/interface wireless security-profiles
set ...................

/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge comment=defconf interface=bond1
 
jaclaz
Forum Guru
Forum Guru
Posts: 2071
Joined: Tue Oct 03, 2023 4:21 pm

Re: Understanding PTP Bridge operation

Fri Aug 30, 2024 11:18 am

We have here, as a reference, the normal cube Pro pairs complete setup (from factory):
viewtopic.php?t=205042#p1059476

One end is mode=bridge and the other is mode=station-bridge, then there is the bonding between the 60 and the 5 GHz interface.

And yes, the Quickset does NOT builds that configuration properly/completely, but is easy to "complete" the setup, see this thread:
viewtopic.php?t=209461
starting from here:
viewtopic.php?t=209461#p1087285

Check your configuration against the post above by bpwl and the complete configurations referenced.
 
jhg
just joined
Topic Author
Posts: 14
Joined: Thu Jun 27, 2024 10:32 pm

Re: Understanding PTP Bridge operation

Fri Aug 30, 2024 8:28 pm

Thanks @jaclaz and @bpwl. I will study the linked articles. I thought of myself as well-versed in ethernet/TCP/IP, but bridging/routing is relatively new to me.

I wish there was a logical block diagram showing how all the various internal (virtual?) interfaces relate to each other as well as the hardware. I found a hardware block diagram, but so far nothing at a logical level with all the various defined interfaces.(bond1, bridge, ether1, wlan60-1, wlan60-station-1) and how they relate to each other.
Last edited by jhg on Fri Aug 30, 2024 9:25 pm, edited 1 time in total.
 
jhg
just joined
Topic Author
Posts: 14
Joined: Thu Jun 27, 2024 10:32 pm

Re: Understanding PTP Bridge operation

Fri Aug 30, 2024 9:09 pm

I don't trust the Quickset here. If I look into my wireless-wire 60GHz Cubes, then indeed Quickset does as if it is set as a routed setup, where it is in fact a bridged setup.
...
My configuration looks exactly like yours (I haven't changed anything since getting it working with the default config). The only "anomaly" is that "region" is set to "eu" everywhere that the "region" parameter appears.
 
jaclaz
Forum Guru
Forum Guru
Posts: 2071
Joined: Tue Oct 03, 2023 4:21 pm

Re: Understanding PTP Bridge operation

Sat Aug 31, 2024 12:06 pm

To be fair, the default (from factory) configurations of a paired couple is pretty much straightforward, and similar to the "standard" (as quickest would make them) ones, the only (relative) complication is the bonding together of the two 60 and 5 GHz radios.
But the bonding is needed to allow the "failover" to 5 GHz in case of connection issues on the much faster 60GHz link.

Each device is conceptually a two-ports bridge (with one port being the ethernet and the other being the bonded radio interfaces), it is a pure L2 connection, if you use Winbox via MAC to access/configure the devices you can even (don't until you get familiar with the devices) remove their static IP addresses.

One device is "PTP bridge AP" i.e. mode=bridge in /interface wireless.
The other is "PTP bridge CPE" i.e. mode=station-bridge in /interface wireless.

The good MIkrotik guys have a particular ability in mis-naming things or calling the same thing in two/three/four different manners in different parts of the configuration, or of the documentation, or using very similar names for very different things, it is actually confusing.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3129
Joined: Mon Apr 08, 2019 1:16 am

Re: Understanding PTP Bridge operation

Sun Sep 01, 2024 1:41 am

One device is "PTP bridge AP" i.e. mode=bridge in /interface wireless.

Fully agreed. Just wanted to add that "bridge" is there and not "AP-bridge" because of the RouterOS license level 3 in the Cube60, which does not allow for AP-bridge (multiclient, level), level 3 is single client.


Same thing happens when one sets up a link with 2 SXTsq (=level3) devices.

"Cube60 Pro ac" has a different license level.
 
jaclaz
Forum Guru
Forum Guru
Posts: 2071
Joined: Tue Oct 03, 2023 4:21 pm

Re: Understanding PTP Bridge operation

Sun Sep 01, 2024 12:33 pm

Yep, but in the context of Quickset choices, I think (from the already linked threads) that Quickset in "PTP bridge AP" will set mode=bridge anyway, i.e. the "PTP" in the description prevails and sets to have only one single connection, regardless of the license level, maybe one of the other Quickset choices will provide (only on level 4 licensed devices) the mode=ap-bridge (probably Wisp AP - if available - or Home AP, but cannot say).
 
jhg
just joined
Topic Author
Posts: 14
Joined: Thu Jun 27, 2024 10:32 pm

Re: Understanding PTP Bridge operation

Mon Sep 02, 2024 2:39 am

Well, it's working with the default configuration, and I enabled DHCP on the bridge interface on both devices, so they're now reachable for admin on their LAN addresses. iperf3 reports 940Mbps, and that's without precise aiming... although at a distance of only 50' I suspect that can't be improved much.

Thanks for all the links to discussions, they helped a lot

Who is online

Users browsing this forum: No registered users and 23 guests