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

DHCP Not Working with VLANs Enabled

Scheduled Pinned Locked Moved DHCP and DNS
1 Posts 1 Posters 206 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.
  • J
    jrob630
    last edited by Dec 21, 2022, 6:02 AM

    I have tested this on official Netgate hardware as well as VMs running in Proxmox.

    Happy to provide config files/printouts from my lab.

    Background:
    Running a HA setup with same hardware.
    2 VLANs - Data and Guest Networks.
    Interfaces are configured exactly the same on both instances. WAN, LAN, DATA (VLAN), GUEST (VLAN).
    XMLRPC and State Sync are working without issue.
    CARP addresses are configured for each interface and set as the gateway and primary dns server.

    Interfaces:
    WAN: em0
    LAN: em1 - 172.16.10.0/24 CARP - 172.16.10.254
    SYNC: em2 - 172.16.20.0/29
    DATA: VLAN10 on em1 - 192.168.10.0/24 CARP - 192.168.10.254
    Guest: VLAN20 on em1 - 192.168.20.0/24 CARP- 192.168.20.254

    The Issue:
    DHCP refuses to start when VLAN interfaces are enabled.
    (Error in DHCP Logs - Interface em1 matches multiple shared networks)
    As soon as I disable VLANs, DHCP starts and runs without issue on the LAN/em1 interface.
    DHCP Fails to start on the VLANs, even if DHCP is disabled on LAN interface to begin with.
    I can assign a static IP on either of the VLANs and route out without issue.

    A few things I've tried:
    Compared config.xml and am not seeing any zombie addresses or addresses that are somehow overlapped between interfaces.

    Really appears to be a bug or something. I've combed through and double, triple checked these settings for probably a total of 20+ hours without luck... Google hasn't provided anything specific to the issue I'm having. Again, both on official netgate hardware as well as VMs.

    I'm at a loss for words or things to try at this point.

    Greatly appreciate any help with this.

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received