DHCP Relay Not Possible w/ DHCP Server re: VLAN
-
Wanted to double check this to be sure I'm not misunderstanding something, a few Google searches didn't get me far. I have "DHCP Relay cannot be enabled while DHCP Server is enabled on any interface." in my DHCP Relay settings section, however the documentation differs from this saying you can't have DHCP Relay enabled on an interface at the same time as the DHCP server; and I have several subnets with no DHCP.
So either A. they mean physical interface, since these are all VLANs it won't work; or B. the documentation is incorrect.
I don't necessarily have to setup a relay, just would have been nice during some testing I was doing in an AD environment.
-
@planedrop DHCP Relay Service cannot be enabled if the DHCP Server service is Enabled - period (on any given interface).
I believe the explanation is the fact it’s the same service that does both, and the configuration file can only be setup for either DHCP or Relay (regardless off on which interfaces it is used)
-
@keyser Gotcha, this is good to know.
So Netgate needs to update their documentation, it's misleading/incorrect.
Specifically it shows this as a Warning on the DHCP Relay section of the docs:
It is not possible to run both a DHCP server and a DHCP Relay at the same time on the same interface. To enable the DHCP relay, first disable the DHCP server on an interface.
-
@keyser Ended up opening a redmine on it: https://redmine.pfsense.org/issues/15125