Excluding machines from DHCP



  • 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)



  • 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?



  • @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?



  • 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.



  • @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.


  • LAYER 8 Global Moderator

    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



Log in to reply