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

    Client cannot get the ip adddress from static mapping

    Scheduled Pinned Locked Moved DHCP and DNS
    13 Posts 3 Posters 2.4k 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.
    • M
      muswellhillbilly
      last edited by

      Just out of interest, have you tried disabling DHCP on  your PFS and starting a client on your LAN to see if somehow another device may be doling out DHCP addresses?

      Have you also thought about making your internal network a little less large, maybe using a /16 netmask? Or are you really going to need to run over 16 million hosts on your LAN?

      What IP are you using for your firewalls LAN address?

      Lastly, can you post a complete screenshot of your DHCP settings?

      1 Reply Last reply Reply Quote 0
      • W
        woots29
        last edited by

        @muswellhillbilly:

        Just out of interest, have you tried disabling DHCP on  your PFS and starting a client on your LAN to see if somehow another device may be doling out DHCP addresses?

        Have you also thought about making your internal network a little less large, maybe using a /16 netmask? Or are you really going to need to run over 16 million hosts on your LAN?

        What IP are you using for your firewalls LAN address?

        Lastly, can you post a complete screenshot of your DHCP settings?

        I really tried disabling DHCP and see if the client get an address, but none. I can see the DHCP logs if there's persistent "wrong network" but none.

        That's my next move also, making it less hosts to troubleshoot.

        10.0.0.1 - pfsense
        10.1.x.x- servers
        10.3.x.x-ip cams
        10.5.x.x-static mappings
        10.10.1.x to 10.10.2.x - DHCP range (but im using captive portal for device registration)
        10.20.x.x-VoIP

        dhcpsettings.gif
        dhcpsettings.gif_thumb

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

          Ok, so do you have any packages installed on the firewall or have any other services which might be using the DHCP port? Do you have any DHCP service running on the OTP1 interface?

          1 Reply Last reply Reply Quote 0
          • W
            woots29
            last edited by

            @muswellhillbilly:

            Ok, so do you have any packages installed on the firewall or have any other services which might be using the DHCP port? Do you have any DHCP service running on the OTP1 interface?

            Attached image shows packages installed.

            Only the LAN interface has the DHCP server. THE OPT1 has no DHCP server

            Sorry for late response to  this topic

            pckges.GIF
            pckges.GIF_thumb

            1 Reply Last reply Reply Quote 0
            • W
              woots29
              last edited by

              Good day,

              I upgraded to 2.2.5 hoping for fix but still not working. I adjusted to 10.0.0.0/11 for less range.

              Any workarounds?

              1 Reply Last reply Reply Quote 0
              • W
                woots29
                last edited by

                Its been a while, im testing this workaround.

                I should STOP then START the DHCP service to work.

                I wonder why RESTART service doesn't solve the problem.

                Anyways it is working now. Thanks to those who replied here.

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

                  really a /11 – how many freaking devices do you have???  There is NO freaking reason you would want or need a /11 broadcast domain..  You have like 2 million machines??  And you want them all on the same broadcast domain??

                  There was some thread recently where someone mentioned that large scopes use up more memory or something..  Really come on adjust your scope to a reasonable size..  To be honest I would never ever put more than a /23 on the same broadcast domain..

                  If you want your different types of devices on different address schemes, then do that by putting them on their own vlan....  That way you can actually firewall between them...

                  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
                  • W
                    woots29
                    last edited by

                    really a /11 – how many freaking devices do you have???  There is NO freaking reason you would want or need a /11 broadcast domain..  You have like 2 million machines??  And you want them all on the same broadcast domain??

                    that's problem here (in my workplace) the devices are added time to time. so i need to categorize them by 10.nn.x.xxx,
                    im aware of that. in the future we will adjust that.

                    There was some thread recently where someone mentioned that large scopes use up more memory or something..  Really come on adjust your scope to a reasonable size..  To be honest I would never ever put more than a /23 on the same broadcast domain..

                    Luckilly i have no problems with the memory.
                    If you want your different types of devices on different address schemes, then do that by putting them on their own vlan….  That way you can actually firewall between them...

                    yes sir, that's the next phase. but this is the best thing we can do for now. thank you

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

                      "so i need to categorize them by 10.nn.x.xxx,"

                      How many machines do you have total?  Why can not vlan them now??  Once you determined that they should separate devices based upon function or location or dept, etc.. its time to segment your machine into networks/vlans not just different ip ranges in the same scope..

                      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
                      • W
                        woots29
                        last edited by

                        @johnpoz:

                        "so i need to categorize them by 10.nn.x.xxx,"

                        How many machines do you have total?  Why can not vlan them now??  Once you determined that they should separate devices based upon function or location or dept, etc.. its time to segment your machine into networks/vlans not just different ip ranges in the same scope..

                        300 plus and counting. we're about to rearrange the network next year, we haven't receive the switches yet :D

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