Unifi switch Ip with multiple DHCP


I have a Unifi switch and controller connected to a pfSense 3rd party box that has multiple ports. These physical ports all carry different vlans, all of which have their own DHCP server. One of these vlans is the management network and everything works fine, the switch acquires an Ip address in the management network.

Problem is, I do not understand HOW it works ! How does the switch know which DHCP server to use ? Why does it pick the particular vlan/network that I am using as the management network ?


I have a video covering that here:

Thanks Tom, that helps :slight_smile: