DHCP Relay Destination
-
Is it possible to have pfSense act as a DHCP server and respond to relay requests? Meaning, can an upstream device relay DHCP requests to pfSense? I see that pfSense can act as a relay agent, but I would actually need the opposite.
-
Uhm? DHCP server will respond to any requests, relayed or not. No configuration required for this.
-
It may answer, though the server may not give out the IPs you want to a relayed request…
The ability to separate out pools for relayed setups isn't in our GUI, so for most relay setups it wouldn't make sense to use pfSense as the DHCP server.
-
Correct, I actually just tried this, and it doesn't let me setup a pool since it falls outside the range of the "LAN" subnet which is a /30 off a router. The "Clients" would be sitting behind that upstream router and the router would relay DHCP requests to the pfSense. It seems this isn't doable?
-
Correct, it's not currently possible.
-
Does PfSense need to recognize an Agent-ID identifier for DHCP relay to work?
-
Correct, I actually just tried this, and it doesn't let me setup a pool since it falls outside the range of the "LAN" subnet which is a /30 off a router. The "Clients" would be sitting behind that upstream router and the router would relay DHCP requests to the pfSense. It seems this isn't doable?
Hi Guys,
I am newbie here, would like to understand better on the DHCP configuration.
So does it means that pfsense can only provide DHCP pools ip address for directly connected network?
Is there any configuration for pfsense to provide ip address to remote network?Thank you! :)
-
There is actually a hack permitting this. You just have to assign the right subnet on a down interface. If you don't have down interfaces easily availlable what you could do is create a vlan and down it with ifconfig during bootup.
-
There are plans in the next release for DHCP server to support multiple subnets.
https://redmine.pfsense.org/issues/2774 -
There is actually a hack permitting this. You just have to assign the right subnet on a down interface. If you don't have down interfaces easily availlable what you could do is create a vlan and down it with ifconfig during bootup.
Hi Bro Copsoft_MM,
Do you have the steps for this ?
Is it working well?There are plans in the next release for DHCP server to support multiple subnets.
https://redmine.pfsense.org/issues/2774Thanks for your info :)
-
Yes CopSoft it would be helpful a few more details. Are you saying a down interface would be needed for each additional DHCP pool desired? I have about 10 gateways setup on the LAN. If I need 10 down interfaces this may not be a feasible or practical hack in my case.