DHCP service for networks not directly connected



  • 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



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



  • 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,



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


Log in to reply