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

    Only LAN shows up for DHCP Server interfaces?

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 4 Posters 1.4k 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
      dummkauf
      last edited by dummkauf

      I recently replaced my old router/firewall with PFSenese. My LAN is up and running without issue and now I'm trying to get my DMZ configured with DHCP. I've enabled the interface on my device by selecting the interface, checking "Enable Interface", save, then apply. I've also assigned the the interface an IP(192.168.3.1), my LAN is 192.168.1.1. My hardware has 4 interfaces: WAN, LAN, OPT1, & OPT2, I am configuring the DMZ on OPT2.

      I've also rebooted the device and updated to the latest firmware version(2.4.3_1). However, when I navigate to Services --> DHCP Server, only the LAN interface appears as an option at the top of the screen.

      Is there something else I need to do besides enable the interface so that I can enable DHCP on my DMZ interface?

      Interface enabled:
      0_1531624968610_Screenshot from 2018-07-14 22-21-50.png

      Interface not showing under DHCP:
      0_1531625007934_Screenshot from 2018-07-14 22-23-19.png

      LAN is enabled the same as OPT2:
      0_1531625102953_Screenshot from 2018-07-14 22-24-38.png

      The OPT2 interface does appear on the firewall rules page after it has been enabled:
      0_1531625280511_Screenshot from 2018-07-14 22-27-31.png

      1 Reply Last reply Reply Quote 0
      • fireodoF
        fireodo
        last edited by

        Hi,

        (my english is not so good) the relevant part is not shown in your screenshots. If you left there where you defined the static IP the net with /32 it can't work because you give to your interface a single adress, if you give your interface a network (ex. /24) then it appears also in the DHCP Server.

        Regards,
        fireodo

        Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
        SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
        pfsense 2.8.0 CE
        Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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

          ^ very possible... The drop down box for mask of the static IP goes to the end of the list which is /32 - such a mask would not allow for dhcp server, so no you would not be able to enable dhcp on this interface. You need to make sure when you put an IP on an interface that its mask is correct for your use. /32 is almost never going to be correct choice ;)

          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
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            That is almost always the reason an enabled and numbered interface does not show under DHCP servers.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • D
              dummkauf
              last edited by

              Re: Only LAN shows up for DHCP Server interfaces?

              Thank you everyone!

              That was it, I didn't notice that it had defaulted to 32. The subnet mask has been appropriately set and it is working now.

              Thank you again!

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