Description:
Ethernet and WLAN interfaces always have their own MAC address. If a notebook is connected to an access point / WLAN router via WLAN, the MAC address of the WLAN interface of the access point / WLAN router can be viewed in the operating system (in this example, Windows). For LANCOM access points with LCOS LX, the MAC address of the LAN interface can be calculated using the WLAN MAC address. This can be helpful if it is unclear which access point the notebook is connected to.
This article describes how to use the WLAN MAC address to calculate the LAN MAC address of the first Ethernet interface of a LANCOM access point with LCOS LX.
Requirements:
- Access to the command line in Windows
- Separate LANCOM access point or router for access via LL2M (optional)
Procedure:
1) Reading the WLAN MAC address in Windows:
Open the Windows command line and enter the command netsh wlan show interfaces.
The MAC address of the WLAN interface of the access point / WLAN router is displayed as BSSID.
2) Calculating the LAN MAC address:
The LAN MAC address is calculated according to the following schemes. The calculation differs depending on the used access point model.
LW-600, LX-6200(E), LX-6400, LX-6402, OW-602:
Frequency band | LAN MAC address ETH1 | LAN MAC address ETH2 |
---|---|---|
2,4 GHz | WLAN MAC address minus 3 | WLAN MAC address minus 2 |
5 GHz | WLAN MAC address minus 2 | WLAN MAC address minus 1 |
LX-6500(E), OX-6400, OX-6402:
Frequency band | LAN MAC address ETH1 | LAN MAC address ETH2 |
---|---|---|
2,4 GHz | WLAN MAC address minus 2 | WLAN MAC address minus 3 |
5 GHz | WLAN MAC address minus 1 | WLAN MAC address minus 2 |
6 GHz | WLAN MAC address minus 3 | WLAN MAC address minus 4 |
Example:
An LX-6500 has the following MAC addresses:
ETH1 | ETH2 | WLAN-1 - 2.4 GHz | WLAN-2 - 5 GHz | WLAN-3 - 6 GHz |
---|---|---|---|---|
00:a0:57:80:29:15 | 00:a0:57:80:29:14 | 00:a0:57:80:29:17 | 00:a0:57:80:29:16 | 00:a0:57:80:29:18 |
- A notebook is connected to an LX-6500 via 5 GHz.
- In the 5 GHz band the access point has the WLAN MAC address 00:a0:57:80:29:16.
- For ETH2, this results in the LAN MAC address 00:a0:57:80:29:14.
3) Connect to the access point via LL2M (optional):
When using LACP on the access point always the lowest MAC address is used für communication (depending on the model ETH1 or ETH2).
Using LL2M, it is possible to establish an SSH connection to the access point using the calculated LAN MAC address (command in the format ll2mexec -i <Interface> <User>:<Password>@<MAC address>), which can be used to read out further information. This requires a separate router or access point from which to initiate the connection. Further information on LL2M can be found in the following Knowledge Base articles:
The operating principle and use of the LANCOM Layer-2 Management protocol (LL2M) under LCOS
The operating principle and use of the LANCOM Layer-2 Management protocol (LL2M) under LCOS LX
Useful information in the SSH session
The serial number of the access point is shown under SN.
The command ls status/ip-configuration/addresses reads out the IP address of the access point.