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

    DHCP Relay Destination

    DHCP and DNS
    6
    11
    3.8k
    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.
    • C
      cdall1979
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Uhm? DHCP server will respond to any requests, relayed or not. No configuration required for this.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            cdall1979
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              Correct, it's not currently possible.

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • M
                markn62
                last edited by

                Does PfSense need to recognize an Agent-ID identifier for DHCP relay to work?

                1 Reply Last reply Reply Quote 0
                • T
                  twibowo
                  last edited by

                  @cdall1979:

                  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!  :)

                  1 Reply Last reply Reply Quote 0
                  • C
                    CopSoft_MM
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • M
                      markn62
                      last edited by

                      There are plans in the next release for DHCP server to support multiple subnets.
                      https://redmine.pfsense.org/issues/2774

                      1 Reply Last reply Reply Quote 0
                      • T
                        twibowo
                        last edited by

                        @CopSoft_MM:

                        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?

                        @markn62:

                        There are plans in the next release for DHCP server to support multiple subnets.
                        https://redmine.pfsense.org/issues/2774

                        Thanks for your info  :)

                        1 Reply Last reply Reply Quote 0
                        • M
                          markn62
                          last edited by

                          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.

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