This question follows on from this one which I managed to resolve. Draytek 2830, Multiple VLANS on Same Port
My Ubiquiti Unifi Wirlesss Access Points are not allowing clients to obtain an IP address when VLAN Tagged. The Draytek 2830 which it is plugged directly into works and gives out addresses to my MAC when plugged in directly.
Interestingly (and maybe a clue) the Unifi Wirlesss Access Point doesn't obtain an IP Address itself, when plugged into Port Four of the Router. Which I have configured for VLAN 30 and 40.
Can anyone assist?
This is ODD… Just had the Wireless Accesss Point on line with a steady green light and giving out DHCP addresses on both VLANS. However when I went to the Unifi Controller, the access point is not seen 'Disconnected'
Then I noticed this;
So I changed the Wireless Access Point to Port 1 on the Draytek and the VLAN Setup to the following, it works!!! YEAH..
BUT it gets weird… IF I change the IP Addressing on VLAN1 (P1) FROM the default 192.168.1.0/24 to something else, anything else it stops working again.
BUT Why? I don't want 192.168.1.0 allocated to VLAN1…. I have two sites to get working both, identical setups with the exception of the IP Addressing. I have a P2P link to join these two sites, and I am guessing IF it remains like this I may have some issues.
Can anyone answer this question?
Best Answer
Management traffic in a Unifi APis always untagged according to the documentation.
How does vlan traffic get tagged?
UniFi and switch VLAN configuration
This is why it works with the second setup.
I would suggest adding untagged VLAN to Port 4 in the first example and see what happens. This is also recommended in the user manual of the router.
http://www.draytek.co.uk/download/support/userguides/Vigor2830%20User%20Guide%20V2.31.zip