Skip to content

Commit 0697ad5

Browse files
committed
content: new note entry for unifi topology with lldp
1 parent 27eaf5f commit 0697ad5

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: LLDP Setup for UniFi Topology Discovery
3+
date: 2026-04-12
4+
tags: [unifi,proxmox,unraid]
5+
---
6+
7+
> **NOTE**: This has only been tested with Proxmox and Unraid for now, but should work on other systems as well. It is also important to note, that this brings it's own problems wit iht and does not make the topology perfect.
8+
9+
I run a few Proxmox nodes and one large Unraid server in my homelab and recently switched to Unifi for my network equipment. Using the topology feature to keep track of all my devices in my homelab is a nice feature. However, with specific setups that share the same port in my network for connectivity, but have their own MAC addresses, the topology discovery does not work out of the box.
10+
11+
## Topology Discovery - Without LLDP
12+
13+
<figure>
14+
```mermaid
15+
flowchart TD
16+
proxmox1[Proxmox Node 1]
17+
proxmox11[Proxmox Node 1\nVM 1]
18+
unraid[Unraid Server]
19+
unraid1[Unraid Server\nVM 1]
20+
unifi[UniFi Switch]
21+
22+
unifi --> proxmox1
23+
unifi --> proxmox11
24+
unifi --> unraid
25+
unifi --> unraid1
26+
```
27+
<figcaption>Topology discovery without LLDP, showing all devices on the same level.</figcaption>
28+
</figure>
29+
30+
## Installation of LLDP
31+
32+
On the Proxmox nodes this is rather easy, as you just need to install the package `lldpd` which also automatically starts the service.
33+
34+
```bash
35+
apt install lldpd
36+
systemctl status lldpd
37+
```
38+
39+
On Unraid, you can install the plugin "LLDP for UNRAID" by desertwitch from the Community Applications.
40+
41+
## Topology Discovery - With LLDP
42+
43+
<figure>
44+
```mermaid
45+
flowchart TD
46+
proxmox1[Proxmox Node 1]
47+
proxmox11[Proxmox Node 1\nVM 1]
48+
unraid[Unraid Server]
49+
unraid1[Unraid Server\nVM 1]
50+
unifi[UniFi Switch]
51+
52+
unifi --> proxmox1
53+
proxmox1 --> proxmox11
54+
unifi --> unraid
55+
unraid --> unraid1
56+
```
57+
<figcaption>Topology discovery with LLDP, showing the correct topology by positioning VMs below their hosts.</figcaption>
58+
</figure>
59+
60+
## Problems
61+
62+
> **NOTE**: The topology discover is not perfect, as it sometimes takes a while for devices to show up correctly. Additionally, there are some edge-cases that that I've already came across in the first minutes, that can easyil break things or show a wrong topology.
63+
64+
- **On Unraid**, when allowing access for traffic between VMs/Containers and the host, there is an extra shim interface, which will be shown in the topology, even though it is not interesting for the topology. Due to the nature of Unraid and the plugin, you cannot exclude this from the service. As I've already changed the service that required the feature, I just disabled this. However, the topology is still not reliable for some reason.
65+
- **On Proxmox**, it works as expected in my setup. And this far, it was the server with the least troubles.

0 commit comments

Comments
 (0)