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

    Why can't I enable DHCP on a VLAN interface (I can enable DHCPv6 on it)?

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 431 Views 3 Watching
    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.
    • C Offline
      ChrisJenk
      last edited by

      I have a VLAN defined and assigned as interface OPT2. The OPT2 interface has a static IPv64 and IPv4 address configuration. I want to enable both DHCP and DHCPv6 on this interface but under Services>DHCP Server it only shows the LAN interface while under Services>DHCPv6 Server it shows LAN, OPT1 and OP2. Surely it is possible to enable regular DHCP on a VLAN interface? What am I missing?

      awebsterA 1 Reply Last reply Reply Quote 0
      • awebsterA Offline
        awebster @ChrisJenk
        last edited by

        @chrisjenk DHCP works fine on VLANs, I'm using many myself. I'd suggest going back and looking at the interface assignments and ipv4 config parameters.

        –A.

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

          What mask did you put on the network on the vlan - common mistake is defaults to like a /32 mask.. Which no you couldn't enable dhcp on that because there isn't any addresses to hand out.. That one comes up quite a bit actually.

          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 2
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.