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

DHCP-Server process and DDCP-Relay process on different VLANs

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 2 Posters 147 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.
  • H
    hebein
    last edited by hebein Apr 13, 2020, 12:50 PM Apr 13, 2020, 12:49 PM

    Hello,
    I am just setting up my Netgate Router and I want to do the following:
    For a VLAN-Group (eg. VLAN 1,2,3,4) I want to use the DHCP-Server that is running on a seperate server (our pharmacy's central server, with WINS etc. on it. Runs in the LAN (so VLAN0)). For this I suppose I would need a DHCP-relay service. On other VLANs (e.g.10,11,12,13) I would need a DHCP-server running on pfsense.

    How can I activate both services for different VLANs?
    pfsense says, that I cannot activate relay if using DHCP-server and vice versa.

    Regards,
    Gunther

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz Apr 13, 2020, 12:57 PM Apr 13, 2020, 12:56 PM

      I don't believe you can.. Run the relay/helper for your vlans on your switch that is doing the vlans.

      If your switch(es) do not support that - get a better switch. Or just run host all your vlans off your other dhcpd and run relay for all vlans on pfsense.

      https://docs.netgate.com/pfsense/en/latest/dhcp/dhcp-relay.html
      To use the DHCP Relay daemon, the DHCP Server must be disabled on all interfaces. The same restriction applies to DHCPv6 relay and the DHCPv6 Server.

      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
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received