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

    DHCPd with multiple ipv4 subnets outside of local interface network. (300US$)

    Scheduled Pinned Locked Moved Bounties
    120 Posts 29 Posters 71.1k 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.
    • B
      bennyc
      last edited by

      Last version I got from Marcello works on 2.2.4.
      Not sure what the problem is or why it is difficult to merge.
      I too feel bad for the guy, 3 or 4 attempts, lost count in meantime  ::)

      4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
      1x PC Engines APU2C4, 1x PC Engines APU1C4

      1 Reply Last reply Reply Quote 0
      • B
        bennyc
        last edited by

        update: the latest version of the patch breaks IPSec. You'll end up with a nice error when you try to enable IPSec:```
        Fatal error: Call to undefined function gen_subnetv4() in /etc/inc/vpn.inc

        
        This is due to the modified util.inc, where the part gen_subnetv4() is missing in total. Haven't had this error earlier on previous ipsec activations, suspecting it originates or in the latest version of Marcello's patch (post pfSense2.2) or with StrongSwan implementation of IPSEC. (Racoon worked fine)
        
        So now I have to decide on either have the good working dhcpd (which I need), or the IPSec (which I need)
        
        why o why me  >:(

        4x XG-7100 (2xHA), 1x SG-4860, 1x SG-2100
        1x PC Engines APU2C4, 1x PC Engines APU1C4

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

          As already noted, that patch is (yet again) no longer applicable and I very much doubt marcelloc will bother with rewriting it for the zillionth time. The developers probably absolutely hate the idea of using pfSense as a DHCP server. Never seen such retarded handling of a contributed no-brainer feature.

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

            Marcello,

            Are you interested in updating your changes in https://github.com/pfsense/pfsense/pull/1406 such that they can be merged to master? I'm willing to pay an additional bounty for the update.  I tried doing it myself, but there was one conflicting commit in particular https://github.com/pfsense/pfsense/commit/b5f6e690d40d0e0b7e16fd4adddb92d04c402ad6 that threw me off.

            Thanks.

            1 Reply Last reply Reply Quote 0
            • H
              haddock
              last edited by

              I could also pay an additional bounty to see this get merged in 2.3. I'm still using this in 2.2.6 and would hate to lose the functionality when 2.3 is released.

              However, I would like the "Additional BOOTP/DHCP Options" to be included in the additional subnets.

              Currently its not visible at all, and options from primary interface does not get propagated.

              I can pledge an additional 50 US$ from my end.

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                I'll pull the code once more to get merged on 2.3 .

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • H
                  haddock
                  last edited by

                  @marcelloc:

                  I'll pull the code once more to get merged on 2.3 .

                  Great news! Thanks for not giving up.

                  Any update on a dhcp-options related fix to the code for 2.3?

                  Let us know when it is merged and I'll transfer the funds.

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

                    @marcelloc:

                    I'll pull the code once more to get merged on 2.3 .

                    Awesome!  I'll send $50 as well when it's ready for merge again.

                    1 Reply Last reply Reply Quote 0
                    • CNLiberalC
                      CNLiberal
                      last edited by

                      What can we do to get the devs to actually put this into pfSense instead of relying on a bounty?

                      pfSense 2.7.2-RELEASE

                      Dell R210 II
                      Intel E3-1340 v2
                      8GB RAM
                      SSD ZFS Mirror
                      Intel X520-DA2, RJ45 SFP+ (WAN) and 10Gb SFP+ DAC (LAN)
                      1 x Cisco 3850 12XS-S (Core Switch)
                      2 x Cisco 3750X PoE Gig Switch (Access Stack)
                      3 x Cisco 2802i APs (Mobility Express)

                      1 Reply Last reply Reply Quote 0
                      • K
                        kapara
                        last edited by

                        Have you tried calling them?  PfSense?  I am sure someone at Netgate…etc might be able to get a response...

                        Skype ID:  Marinhd

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

                          Any luck getting the changes made?

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sylos
                            last edited by

                            Any luck getting the changes made?

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

                              I'm still interested and willing to pay.

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

                                Any news on the pull request?

                                https://github.com/pfsense/pfsense/pull/1406

                                rbgarga commented on 4 Feb 2016
                                After discuss privately with @marcelloc he agreed to submit a fresh patch, tested on 2.3, and I'll review it as soon as it lands here

                                Is the "fresh patch" going to be integrated in 2.4?

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

                                  Hi Folks,
                                  I've done a little of my own work in getting more flexibility into the DHCPD configuration of pfsense. I've only gone as far as allowing static mappings on ipalias subnets in my submission, but have some code which also allows for creation of ipalias subnet ranges. The reason I haven't released that bit is because of how complicated it gets to validate the new ranges within the existing codebase without a big refactor. Please have a look and let me know what you think.

                                  Cheers!
                                  Colin

                                  This is my pull request to RELENG_2_3_4 with the changes:
                                  https://github.com/pfsense/pfsense/pull/3836

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    jpmondardo
                                    last edited by

                                    hi, any news about this?
                                    I need a solution for multiples subnets on the same lan, anyone working with?

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by johnpoz

                                      This thread is from 2014-2017... And for version 2.3 that is now EOL! Or even OLDER and no longer supported - so I doubt it.

                                      I doubt this will ever be brought into pfsense to be honest... If you need to run a dhcp server like this - then run your own dhcp server.. Could be as cheap as firing up a PI on your network for a couple of bucks.

                                      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
                                      • T
                                        thanhan
                                        last edited by

                                        i was also looking for something like this

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Ethereal
                                          last edited by

                                          I think this should be a feature in PF-Sense.
                                          Disabled by default, but advanced users should be able to benefit from it.

                                          bingo600B 1 Reply Last reply Reply Quote 0
                                          • bingo600B
                                            bingo600 @Ethereal
                                            last edited by

                                            @ethereal

                                            I'm sure Netgate would love to receive a patch, that introduces that functionality.

                                            I for one would not like to make a GUI interface that would cover the kazillion possibilities in the ISC-DHCP-Server.

                                            I am not using pfSense DHCP-Server at home , but run my own ISC-DHCP-Server on two Linux servers Active/Stby, where the Stby is a little "Orange Pi Zero".

                                            So as @johnpoz mentioned , this is easily done with a Raspberry Pi.
                                            But do your self a favour , and use the cabled interface , not wireless.

                                            /Bingo

                                            If you find my answer useful - Please give the post a 👍 - "thumbs up"

                                            pfSense+ 23.05.1 (ZFS)

                                            QOTOM-Q355G4 Quad Lan.
                                            CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                                            LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

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