Confusion about DHCP, fixed IP and VLANs
-
Dears
My intention
Pfsense-->ubiquiti switch--> client (synology nvr)
I set up vlan with a DHCP range of eg. 192.168.100.100-150
The client received a random ip from a random vlan's DHCP range (switch port is broadcastingall vlans currently)
I was able to access the client, it was visible both in the pfsense and the switch
I wanted to "sort" my clients, putting them into the correct network segment and assign static ips.
Therefore i manually set the ip of the client to eg. 192.168.100.11, outside of the DHCP poolResult
I see the client in the ubiquiti switch with the manually assigned ip
I can not access the client anymore (synology nvr)
I can not ping the clientQuestion
How do I manually assign ip address and therefore implicitly vlans to clients?Tnx :)
-
@hudri Setting an IP address does not put that client in a certain vlan. It just sets an IP.
You need to configure the switch correctly. The port you're plugging the NAS into should be untagged with the vlanID you want it to be a part of. That's it. No other vlans on it.
The port connecting to pfSense should be trunked with the vlanID tagged on it.Don't let ubiquiti configure your network for you. Learn how to do it yourself.
-
@jarhead
thank you! after several tries and errors i am less confused now :)