Description:

This document describes how to establish a point-to-point (P2P) connection between two LANCOM access points that are managed in the LANCOM Management Cloud (LMC).

Please note, that the P2P implementations in LCOS and LCOS LX are not compatible with each other. Therefore it is not possible to connect an LCOS access point to an LCOS LX access point via P2P. 


Requirements:

The procedures described below are based on a fully functional network scenario managed by the LMC.

The Add-in script only works with dual radio access points, as the P2P connection uses the logical interface P2P-2-1, which belongs to the second radio module.



Scenario:

An LMC project contains numerous LANCOM access points, two of which must now communicate via a Wi-Fi point-to-point link due to a change of premises. All of the devices are already fully integrated into the LMC.

In this example, the access points of the type LN-1702B and LN-860 (see figure in the configuration step) are initially connected by Ethernet cable to a LANCOM switch, but the LANCOM LN-1702B is being moved so that it has to be connected to the rest of the local network exclusively via P2P link.

The LN-1702B is configured as a “slave” device for this purpose.

A screenshot of a LANCOM user interface dashboard displaying a list of devices with columns for status, name, model, serial number, site, IP address, configuration, and firmware, along with additional options for managing and adding devices.

Please note that you must remove the LAN cable from the LN-1702B (the “slave” device) after completing the configuration, otherwise an endless network loop will occur!


Procedure:

To configure P2P links in the LMC, LANCOM Systems provides appropriate add-ins that need to be activated in the LMC project.

More useful add-in scripts are available in the online documentation for the add-ins .

1) In the Add-ins menu, click the Variables button.

Screenshot of a technical dashboard displaying various add-ins for WPNetworks, including management options and project specifications statuses.

2) Create a new variable with the name Master. All other configuration items remain unchanged.

3) Click on Save.

Screenshot of a technical dashboard interface showing management tools including variables, project specifications, and rollout assistant options.

4) Create another new variable with the name Slave. Here, too, all other configuration items remain unchanged.

5) Click on Save.

Screenshot of a LANCOM software interface displaying various configuration options such as Dashboard Addins, Variable Management, and Rollout Assistant on a computer screen.

6) The two new variables should then be listed in the variable list as follows:

An image showing a configuration dashboard of a LANCOM device featuring various settings such as IP Address, IP Nameserver, IP Route, and VLAN, with inputs for values and options on whether to use as password.

7) Select the variable P2P_PSK and click Edit.

Image showing a technical configuration dashboard with fields labeled for site names, display names, variable types, values, and password usage indicators, including entries for PPMasterName and PQPSlaveName.

8) Enter a Preshared Key for the P2P connection in the field Value and deactivate the option Use variable as password.

Click Save afterwards. This is important, as otherwise the placeholder in the script is used!

If the option Use variable as password is active, the password will be deleted when assigning the variable to the device (see steps 12 and 16) and must be reentered. 

A screenshot of a software interface for editing a variable named PPPSK, with fields for name, display name, variable type as a string, and an option to enter a secure password.

9) Switch to the device dialog for the master device (here the LN-860) under Devices → LN-860 and switch to the Variables tab.

10) Click Add variables.

Screenshot of the LANCOM DokuSP user interface highlighting features such as dashboard devices, device management, and options to add new variables and show passwords.

9) Select the viables Master, P2P_Master_Name and P2P_PSK.

10) In the “New value” column, add the value "true" for the "Master" variable. Then click on Add.

Image displays a table or interface listing network settings, showing variables such as IP Address, IP Route, IP Subnet, and others, along with their current and new values.

13) Switch to the device dialog for the slave device (here the LN -1702B) under Devices → LN-1702B and switch to the Variables tab.

14) Click Add variables.

Screenshot of the LANCOM DokuSP management dashboard showing device settings and project specifications options.

15) Select the variables Slave, P2P_Slave_Name and P2P_PSK.

16) In the “New value” column, add the value "true" for the "Slave" variable. Then click on Add.

Image showing a technical configuration interface with fields labeled as IPVLAN, PP Master Name, PPOPSK, and PPSlave Name, including options to show passwords.

17) Switch to the Networks menu and select the local network where you want to create the point-to-point link between the selected access points.

The access points must be located in this network.

18) On the Add-ins tab, add the script “P2P-Master” and the script “P2P-Slave”.

19) Click the Save button.

A screenshot of a user interface for LANCOM DokusP RobertHoogen, displaying various network management options such as Dashboard Networks, IP range, VLAN settings, and active hotspot configurations among other technical settings and tools.

20) The final step is to roll out the configuration changes to your network.

21) Mark all of the devices with a configuration marked as “Outdated” and then click Configuration roll out.

Screenshot of LANCOM network management dashboard displaying statuses and configuration details for various devices across multiple sites.

22) After rolling out the configuration, it is vital that you remove the Ethernet cable from the slave device!

23) The P2P connection is established now.



Additional steps when using multiple VLAN (optional):

If multiple VLANs are to be transmitted via the P2P connection, the two Add-ins P2P-Master and P2P-Slave have to be modified.

1) Go to the menu Add-ins and click on the Add-in P2P-Master.

Screenshot of a technical dashboard displaying various options such as 'Networks', 'CreatenewAddin Allocation', and 'Import Variables', along with sections titled 'PIPMaster' and 'PPSlave' for project specifications and device configurations.

2) In the editor copy the passage VLAN 1 mit Namen Default_VLAN einfügen and paste it right below. Aditionally copy the string vlanNetworks.addOrMerge(vlanDefault); in the passage insert changes and paste it right below.

The image features a script or code snippet for configuring a default VLAN in a network-related software interface, including commands for setting VLAN names, IDs, and port configurations.

3) Modify the following rows and click Save:

  • In the pasted passage modify the commented out text, so that it includes information regarding the new VLAN.
  • In the pasted passage replace the previous name in the variable declaration (var) with a variable name for the new VLAN (in this example vlan1000).
  • In the pasted passage replace the previous variable name vlanDefault in all rows with the variable name of the new VLAN (in this example vlan1000).
  • Modify the name of the VLAN in the pasted passage (in this example VLAN1000).
  • Modify the VLAN ID in the pasted passage (in this example the VLAN 1000).
  • Enter the variable name of the new VLAN in the pasted string vlanNetworks.addOrMerge in the passage insert changes (in this example vlanNetworks.addOrMerge(vlan1000);).

The Name of the VLAN must correspond to a VLAN already configured on the access points. Otherwise the configuration cannot be rolled out to the access points!

Repeat steps 2) and 3) for additional VLANs, if necessary.

Image depicting a technical script interface for configuring network settings, including commands for creating VLANs, assigning names, and setting network parameters.

4) Repeat steps 2) and 3) for the Add-in P2P-Slave.

Image showing a technical dashboard user interface with various options including 'Dashboard Addins', 'Networks', 'Create new Addin', 'Allocation', 'Import Variables', 'PIPMaster', and project specifications.