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

    DHCP on multiple interfaces?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 168 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.
    • D
      deanfourie
      last edited by

      So, im not sure if i'm missing something here,

      but fairly straight forward request.

      I have two separate VLANS trunked on my LAN interface,

      I want 2 DHCP server to serve both VLAN interfaces? Yet, all I can see in the DHCP config is WAN and LAN.

      any ideas?

      Thanks

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

        @deanfourie common mistake users make is when you create the vlan and put an IP on it, it defaults to a /32 mask.. Since /32 is a single IP there is no IPs to be able to hand out via dhcp so you can not enable dhcp on the vlan interface.

        Make sure the vlan you created has a mask big enough to allow to run a dhcp server, and that the dhcp server is enable on the vlan interface.

        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

        D 1 Reply Last reply Reply Quote 1
        • D
          deanfourie @johnpoz
          last edited by

          @johnpoz Yea I just read that post,

          I had it setup as a /31 as there was only going to be one host on it, but I could not set that host as static so tried to add the DHCP server,

          Increased to a /30 and this seems to do the trick! I knew it had to be something stupid.

          Thanks!

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