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

    DHCP service for networks not directly connected

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 2.3k 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
      brianmahler10
      last edited by

      I have pfSense server with 2 nics (Wan with a public ip address)  and LAN interface that is directly connected to a Cisco router that intern routes to multiple internal networks (10.x.x.x and 192.168.x.x).

      How can I configure pfSense to provide the DHCP services on the the 10.x.x.x and 192.168.x.x networks that are not directly connected to the pfSense server.    I can configure the router to forward the DHCP broadcast to the pfSense server but how do i configure pfSense server to support multiple DHCP pools across multiple vlans.

      Thanks,
      Brian

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        Assign VLAN's as interfaces with static ip's after that you can use dhcp server in those vlans

        1 Reply Last reply Reply Quote 0
        • B
          brianmahler10
          last edited by

          I can set up a trunk link so all vlans are actually connected to the pfSense Lan interface.  But I was hoping not to do that.

          So, in summary the pfSense dhcp deamon requires the network to be "directly connected" .  The documentation eludes to this but doesn't come out and state it.  Bummer.

          Thanks,

          1 Reply Last reply Reply Quote 0
          • S
            sierradump
            last edited by

            I think you misunderstood his solution - or maybe I misunderstood your last reply?

            By creating those VLANs in pfSense, you can then create "virtual interfaces".  So you can have the 2 or 3 "Virtual interfaces" you created on the LAN interface.  Each virtual interface can have it's OWN DHCP server.

            No need to route VLANs to the pfsense box.

            Your cisco router would send the IP Helper address to each IP you assigned to the Virtual interfaces on pfsense.  So instead of having 1 DHCP server, you will end up with 3 or 4 but they are all running on pfSense.

            I understood your original question and this is what you are looking for.  I have the same setup.  Works perfect.

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