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

    Excluding machines from DHCP

    Scheduled Pinned Locked Moved DHCP and DNS
    6 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.
    • C Offline
      ColinM9991
      last edited by

      I've recently configured pfSense successfully after messing around with it for many months,
      now I'm wondering if I can exclude IP Addresses from being initiated into pfSense and given a new IP via DHCP.

      For example, let's say Machine A is Wired and has a LAN IP of 192.168.0.10
      Machine B is Wireless and has a LAN IP of 192.168.0.11

      Once pfSense is turned on and the settings are released on both machines, Machine A's IP will be 192.168.1.20 where as Machine B's IP will be 192.168.1.22

      How do I make it so that Machine B is excluded from the DHCP Scope, meaning that even after releasing the settings on that machine it still stays with 192.168.0.11 (Or so that if the machine restarts it won't be assigned a pfSense IP)

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

        Could you just set the machine you want to keep the same address to not use DHCP to get an address but to have a static one?

        1 Reply Last reply Reply Quote 0
        • C Offline
          ColinM9991
          last edited by

          @stan-qaz:

          Could you just set the machine you want to keep the same address to not use DHCP to get an address but to have a static one?

          And that is done via the Adapters in Windows 7's Network & Sharing adapter?

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

            I've not used Windows 7 but that sounds like a likely place to look. With XP it is in the connection properties under the TCPIP properties.

            1 Reply Last reply Reply Quote 0
            • C Offline
              ColinM9991
              last edited by

              @stan-qaz:

              I've not used Windows 7 but that sounds like a likely place to look. With XP it is in the connection properties under the TCPIP properties.

              I set up static yesterday under the wired machine, I will try to set up static tomorrow under the wireless machines and see how they work.

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

                So if the machine was setup static there would be no releasing of anything.

                So do you really mean that you want your machine to always get the same IP from pfsense?

                This is called a reservation or static dhcp.  You an set them in pfsense yes.

                http://doc.pfsense.org/index.php/DHCP_Server#Static_IP_Mappings

                staticmappings.jpg
                staticmappings.jpg_thumb

                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.1 | Lab VMs 2.8.1, 25.07.1

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