Results 1 to 4 of 4

Thread: DHCP block/ deny single IP addresses

Hybrid View

  1. #1

    Default DHCP block/ deny single IP addresses

    My DHCP server has an include file which is dynamically generated. However, I would like to block or deny some single IPs from the /etc/dhcpd.conf file so that they are never being handed out to the DHCP clients. These IPs are: 192.168.1.25, 192.168.2.25, 192.168.3.25, 192.168.4.25.

    Does anyone know how to do this?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: DHCP block/ deny single IP addresses

    Omit the IP address in the ranges that you specify.

  3. #3

    Default Re: DHCP block/ deny single IP addresses

    Quote Originally Posted by ken_yap View Post
    Omit the IP address in the ranges that you specify.
    It would have been very easy if that was possible. This is not possible since my DHCP scope file is dynamically generate via a script.

    Is it possible to exclude single static IP addresses in the dhcpd.conf file? Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: DHCP block/ deny single IP addresses

    Not that I'm aware of.

    Get your script to generate a hole in the ranges.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •