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

    Possible to Do DHCP Relay Server Setup?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 2.0k 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.
    • B
      B-C
      last edited by

      it doesn't appear the gui would support doing a DHCP Server that is merely just a single IP.

      I'll explain what I mean.

      DHCP can and does support assigning IPs for remote vlans (depending on which dhcp Openvpn uses - expect its isc-dhcp but don't know for sure.

      https://blog.tinle.org/2013/01/09/single-dhcp-server-for-multiple-subnets-vlans-one-single-interface/

      basically the config change would probably have to be manual and set the DNS to bind to the a specific LAN IP setup in the VLANS.
      Then enable IP helper if the PFSense is doing the routing for the VLANS.

      DHCP setup on VLAN0 and bind to that interface
      client VLAN10 sends broadcast - VLAN10 Interface forwards that request to VLAN0 (IP Helper DHCP Server)

      Trick is a gui that would support this senario.

      Just seems a bit odd to have to setup the DHCP on each interface when its a fairly easy direction to just have DHCP running on one LAN.

      Not sure if there would be any addtional / other headaches just a question.

      many don't seem to understand - like that article shows - many people don't even realize you can have DHCP server running on on remote VLAN and still hand out address'.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        pfsense can not be a dhcp server for networks it does not have an interface in.

        But sure if you want to run a dhcp server for your network - pfsense can relay the dhcp to your dhcp server.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • B
          B-C
          last edited by

          Right but that appears to only be a limitation of the current setup..

          not a limitation of the DHCP server itself.

          is that just a "Management Decision" vs actual capability or another issue with workflow on other items to make it simpler?

          I understand that isn't possible now

          • however I see it does easily support DHCP relay -
            which I can spin up a DHCP server and setup Ranges and data for those Subnets/VLANS just was wondering was all.

          (I really like the dhcp configuration options in a GUI and haven't found a current one I like that supports the Single IP way I'd prefer to do)
          only CLI supported for those configurations - which also isn't bad really - DHCP doesn't really need many edits / changes very often.

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