AREDN Setup for Antenna and Camera on one Ethernet cable with VLAN
I wanted to connect both an AREDN antenna and a camera outdoors without running a separate Ethernet cable to each device. Two managed switches carry the antenna's DTD connection and the regular LAN over a single cable, using separate VLANs. At the outdoor switch, the connections are split again: DTD goes to the antenna and LAN goes to the camera.
The setup:
Outdoor
C: Camera connected to LAN
A: Antenna connected to DTD
K: PoE converter, 24 V
S2: Managed switch
E: Ethernet cable connecting the devices
P: Surge protector
Indoor
I: PoE++ injector, 30 W
S1: Managed switch
R: AREDN Router
Outdoor switch
The outdoor switch receives both tagged VLANs from the indoor switch on port 5 (red cable), then separates them again. VLAN 2 carries the DTD connection to the antenna (white), while VLAN 1 carries the regular LAN to the camera (dark green).
VLAN 1 carries the regular LAN connection for devices such as a camera on ports 3 and 4. Ports 1 and 2 also carry LAN traffic tagged with VLAN ID 1 to AREDN devices.
VLAN 2 carries the DTD connection to AREDN devices on ports 1 and 2.
Indoor switch
The indoor switch combines the AREDN router's DTD connection and regular LAN into separate VLANs. Both VLANs are tagged on port 5, which carries them over the single Ethernet cable to the outdoor switch.
The default VLAN 1 is tagged on port 5. Since the default PVID is 1, untagged would also work.