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 70.3k 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

      Hi Marcelloc,

      I know it's already been a while, but I think I encountered  a couple of things we missed.
      Sub-pools work fine… but when adding a static mapping for a client in a sub-pool, it does not hand out WINS/DNS: not the default, not the ones I put there. (not so good  ::) )
      It also doesn't complain if I use an ip within the pool range? (can live with that)
      When removing the static mapping (but leaving it in the sub-pool), the dhcp deamon hands out both fine.

      So the issue is on the static mapping creation. (writing to the dhcpd.conf to be more precise, at least I think it is)

      When looking to the dhcpd.conf, it gets written correctly except for the option "domain-name-server", that part is missing even if I update it in the static mapping (it does not add it to the part "host s_lan_0":

      (partial code)

      
      host s_lan_0 {
      	hardware ethernet 00:50:56:ad:6f:c1;
      	fixed-address 192.168.9.11;
      	option host-name "REMOTE-7";
      	option routers 192.168.9.254;
      }
      subnet 192.168.9.0 netmask 255.255.255.0 {
      	pool {
      		option domain-name-servers 192.168.1.254;
      		option routers 192.168.9.254;
      		range 192.168.9.1 192.168.9.10;
      	}
      
      

      Went through the code from services_dhcp.php (quickly) as I suspect the issue is there (might be wrong), but it seems my coding knowledge is still too limited, can't point it out yet  :-[

      Can you still check this please?

      tnx & br, Benny.

      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
      • marcellocM
        marcelloc
        last edited by

        Sorry for the late response.
        I'm really busy these days but I'll take a look as soon as possible.

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

        Help a community developer! ;D

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

          @marcelloc:

          Not yet. I received only from you and shade.

          Total bounty US$ 1.100 received US$ 550

          Are BennyC and me still the only two who have paid you ?

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

            @shade:

            Are BennyC and me still the only two who have paid you ?

            Unfortunately only you two. :(

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

            Help a community developer! ;D

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

              that's not very nice  ???
              pm them I would say…

              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
              • R
                Rerity9
                last edited by

                What I do to stay fit for me. Not need to be downloaded on the web too. I will get back with you.

                แทงบอลออนไลน์

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

                  Hi All,

                  I would like to implement this solution to my FW running an updated version 2.1.1.(32bit)

                  What I did: I copied the files from Github " https://github.com/pfsense/pfsense/pull/816" and overwrote the ones on my system but then rebooted the FW and nothing worked.

                  How did you guys get it to work?

                  Thank you.

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

                    By paying marcelloc  ;D

                    No seriously, you should. Get in contact with him, contribute. This bounty was never completed because some people did not pay, even though his solution works.
                    I have it working on 2.1 since beginning of bounty, stable, and serving addresses for 6 scopes. Currently porting from 2.1 -> 2.1.2, and on my 2.1.2 test system it's already working again with his mods. So it should work for your 2.1.1 also…

                    Otherwise you need to be patient, his work has been polled/merged for 2.2.

                    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
                    • M
                      madstupid
                      last edited by

                      I wish I could contribute but my situation is not good ATM. Can anyone help before v2.2 is released?

                      Thanks in advance.

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

                        If you get a -posted here- agreement from Marcelloc (pm him, that's a "condicio sine qua non"), I'm willing to guide you through (invest my time in you).
                        Until publicly released/included in 2.2, the work is his…

                        (sorry, this sounds only fair to me)

                        -edit: removed typo-

                        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
                        • marcellocM
                          marcelloc
                          last edited by

                          sure bennyc, you paid for this code.

                          btw, i'll have to code it again and send for the third time the pull request…

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

                          Help a community developer! ;D

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

                            Yes, but technically the bounty is not complete  ::)
                            And I do respect your work -as it should-, so I thought it was only fair we got your approval for this  ;)
                            That being said, I sure hope you get that pull request working. (otherwise I would need to implement the feature manually each upgrade :( Not an impossible task, but would like to avoid that if possible)
                            If you ever should need help for testing this feature again, do not hesitate to contact me…

                            @madstupid, I will pm you the instructions I got from Marcelloc.

                            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
                            • V
                              va176thunderbolt
                              last edited by

                              How much of the bounty is still outstanding? I'd like to kick some funds.

                              Adam

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

                                @marcelloc:

                                Total bounty was US$ 1.100 but I received US$ 550

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

                                Help a community developer! ;D

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

                                  Hi Everyone!

                                  I'll gladly chip in $100 so I can turn off that old windows server that's only acting as DHCP for all subnets.

                                  marcelloc, do I just use your paypal donation links?

                                  I'm on 2.1.3

                                  Thanks!

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

                                    Yes. Send to my PayPal account.

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

                                    Help a community developer! ;D

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

                                      I'm wondering what is the status of getting this into the next version of pfsense.  I'd gladly send money ($100US seems to be the going rate, am I correct?) to marcelloc for the work done, but I would like to get a warm fuzzy that I'm not going to be stuck on 2.1.x when upcoming releases are made because I'm depending on this.

                                      @marcelloc, if 2.2 comes out and it doesn't support this feature yet, do you plan on maintaining/updating the patch set to work on the newer version?

                                      I'm currently on 2.1.4
                                      Thanks!
                                      -Miki

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

                                        Mtisza, I'll check the code and try to push it to 2.2

                                        My PayPal account is marcellocoutinho@gmail.com.

                                        Thanks for your donation.

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

                                        Help a community developer! ;D

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

                                          marcelloc,

                                          I've send the bounty, can you please send me the patches and instructions to apply them?

                                          Thanks,
                                          mtisza

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

                                            @mtisza:

                                            I've send the bounty, can you please send me the patches and instructions to apply them?

                                            Sure. Sorry for the long delay.

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

                                            Help a community developer! ;D

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