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

    [SOLVED] PFSENSE DHCP

    Scheduled Pinned Locked Moved DHCP and DNS
    7 Posts 3 Posters 2.6k 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.
    • ? Offline
      A Former User
      last edited by

      Greetings, someone might lean have a problem with the dhcp when I go into the options I see tells me that the pool of addresses is from 192.168.1.1-192.168.253, now I use MAC addresses assigned Address, for which I have put the range is from 192,168,253 to 192,168,253 with allowing me to assign MAC address but that 192,168,253 is automatically assigned to any new equipment, how can I do to prevent this from happening? from now thanks.

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

        what?

        You can not set a reservation inside your pool.  What do you want your machines IP address to be 192.168.1.?  Then adjust our pool to not include that address?

        So you need such a large pool?  How many devices do you actually have that would be on your network?

        For example if you used a pool of 192.168.1.100-150 then you could use static IP be set on the devices itself or via dhcp reservation for IP .1-99 or .151-254

        If your device had already gotten an IP and now you want to use your reservation, make sure you delete the OLD lease from the dhcp server.

        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 25.07 | Lab VMs 2.8, 25.07

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

          See your other thread with the exact same post..

          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 25.07 | Lab VMs 2.8, 25.07

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            Hi im sorry my english is bad, i will close the other thread; all right i have configured my dhcp server with this

            Subnet 192.168.10.0
            Subnet mask 255.255.255.128
            Available range 192.168.10.1 - 192.168.10.126

            Range
            192.168.15.126 (from)  -  192.168.15.126(To)

            DHCP Static Mappings for this Interface
            Static ARP MAC address IP address Hostname Description
            00:99:88:77:66:55 192.168.10.3 winxp SERVER

            And other pc's with your mac address but when i allow a new lap in my network automatly receive 192.168.15.126 i can avoid automatically assigned.

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

              Available range 192.168.10.1 - 192.168.10.126

              Range
              192.168.15.126 (from)  -  192.168.15.126(To)

              Huh??  If your network is 192.168.10/25, how is your dhcp range is 192.168.15 ?

              Taking your understanding of numbers is as bad as your english? heeheh ROFL..

              If your client got a lease, and you then create a reservation you need to release that lease that the client or remove the lease from the dhcp before the client will be able to get the reservation.

              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 25.07 | Lab VMs 2.8, 25.07

              1 Reply Last reply Reply Quote 0
              • stan-qazS Offline
                stan-qaz
                last edited by

                @klausneil:

                i have configured my dhcp server with this

                Subnet 192.168.10.0
                Subnet mask 255.255.255.128
                Available range 192.168.10.1 - 192.168.10.126

                Range
                192.168.15.126 (from)  -  192.168.15.126(To)

                The range needs to be within the subnet you have assigned, 192.168.10.100 - 192.168**.10.120**

                Try this:

                Subnet 192.168.10.0

                Subnet mask 255.255.255.128

                Available range 192.168.10.1 - 192.168.10.126

                Range From 192.168.10.100 - To 192.168**.10.120**

                That will give you 21 automatically assignable DHCP addresses.

                Mine looks like this:

                Subnet 172.16.0.0

                Subnet mask 255.255.252.0

                Available range 172.16.0.1 - 172.16.3.254

                Range From 172.16.3.100 - To 172.16.3.200

                –-----------

                You can keep pfSense from assigning an address to an unknown machine by ticking the box on this line:

                Deny unknown clients Only the clients defined below will get DHCP leases from this server.

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  Hi stan-qaz, that's what I wanted. thanks. Johnpoz jajajajaja thanks too.

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