Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Confusion about DHCP, fixed IP and VLANs

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 433 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hudri
      last edited by hudri

      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 pool

      Result
      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 client

      Question
      How do I manually assign ip address and therefore implicitly vlans to clients?

      Tnx :)

      J 1 Reply Last reply Reply Quote 0
      • J
        Jarhead @hudri
        last edited by

        @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.

        H 1 Reply Last reply Reply Quote 2
        • H
          hudri @Jarhead
          last edited by

          @jarhead
          thank you! after several tries and errors i am less confused now :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.