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

    Help getting DHCP servers to work for VLANs

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    1 Posts 1 Posters 403 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
      juan9999
      last edited by

      Hi,

      I've just installed PFsense and am considering it to replace my untangle router/firewall. The router is directly and physically connected to my cable modem, and feeds a cisco switch that was configured and working with the same VLANs when using untangle.  It is running in a VM in ESXi (ports are straight pass through).

      Here is the configuration (same as before):

      LAN

      • em1 10.0.0.0/24 - pfSense, switches

      • em1.100 VLAN100 = 192.168.1.0/24 - secured wired

      • em1.200 VLAN200 = 192.168.2.0/24 - guest wired/wireless

      I have the interfaces and VLANs defined  (example V100)

      https://imgur.com/NBTZ61w

      I also have DHCP servers defined (example VLAN100)

      https://imgur.com/eWSPxPk

      DHCP works on em1.  I got an IP address for my desktop, and can access the net.  I also added it so that it's static from status/dhcp, but my network on VLAN100 and 200 does not get IP addresses and does not appear in the status

      https://imgur.com/BPqqtf4

      With a manually set VLAN100 IP address on my desktop, I'm able to reach other devices on VLAN100.

      I copied the Default allow LAN to any rule (and changed to VLAN100 and 200) so I now have a ipv4 to any rule enabled, but still no DHCP assigned.

      I've also disabled Block private networks and loopback addresses and Block bogon networks

      SOLUTION:

      I had change the VLAN ID of the LAN Port group to 4095 and all worked

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