Skip to content

dhcpd.conf

This is the configuration file for the linux dhcp daemon.

Example config

###
## Pikachu dhcpd.conf for redacted ny1 facility.
###


ddns-update-style none ;
deny bootp ;    #default
authoritative ;

option domain-name "ny1.redacted.net" ;
option subnet-mask 255.255.255.0 ;
option domain-name-servers 10.8.5.220 ;
option ntp-servers ntp.ny1.redacted.net, pool.ntp.org ;
option time-servers ntp.ny1.redacted.net, pool.ntp.org ;
#option time-offset -25200 ;
option time-offset -28800 ;
default-lease-time 28800 ;
max-lease-time 7200 ;

option boot-server code 66 = string ;

## APC Cookie bullshit
option vendor-encapsulated-options 01:04:31:41:50:43;

### Old Net 188
subnet 10.172.188.0 netmask 255.255.255.0
{
    option routers 10.172.188.1 ;

    range   10.172.188.3    10.172.188.195 ;
#   host winserv    {   hardware ethernet 00:11:2f:37:a2:34 ;   fixed-address 10.172.188.196 ;  }
    range   10.172.188.197  10.172.188.201 ;
#   host clicktracks    {   hardware ethernet 00:13:20:5B:EF:2A ;   fixed-address 10.172.188.202 ;  }
    host redactedbeast  {   hardware ethernet 00:30:48:2A:E3:1E ;   fixed-address 10.172.188.203 ;  }
    range   10.172.188.204  10.172.188.216 ;
#   host carnage    {   hardware ethernet 00:13:20:5B:E5:B1 ;   fixed-address 10.172.188.217 ;  }
#   host sipura-2   {   hardware ethernet 00:0E:08:FA:AB:A4 ;   fixed-address 10.172.188.222 ;  }
    range   10.172.188.226  10.172.188.254 ;
}

## Services - 10.8.1.0/24 - VLAN 101
##
##    There should be NO DHCP RANGE IN THIS SUBNET.
##    This will keep us in order with what devices are using
##    what addresses.  Only use pre-defined host-addresses.
##
subnet 10.8.1.0 netmask 255.255.255.0
{
    option routers 10.8.1.1 ;
    host terastation  {   hardware ethernet 00:0d:0b:7a:cd:ea ;   fixed-address 10.8.1.11 ;   }
    host switchvox    {   hardware ethernet 00:13:d4:e8:c1:2d ;   fixed-address 10.8.1.12 ;   }
    host eng-svn-1    {   hardware ethernet 00:0C:29:7E:68:DB ;   fixed-address 10.8.1.233 ;  }
    host eng-esx-1    {   hardware ethernet 00:50:56:47:7e:bc ;   fixed-address 10.8.1.234 ;  }
}

################
##
##  This information is incomplete, make sure to check IP's for usage before assigning them, and double check the Wiki:
##  https://it.redacted.com/wiki/index.php?title=IP_Addresses_-_ny1#Load_Test_-_10.8.2.0.2F24_-_VLAN_102
##
################

## Load Test - 10.8.2.0/24 - VLAN 102
##
subnet 10.8.2.0 netmask 255.255.255.0
{
    filename "pxelinux.0" ;
    option subnet-mask 255.255.255.0 ;
    option broadcast-address 10.8.2.255 ;
    option routers 10.8.2.1 ;
    next-server 10.8.2.240 ;
    range 10.8.2.100 10.8.2.199 ;

    host honey-b-drac   {   hardware ethernet 00:18:8B:40:DC:78 ;   fixed-address 10.8.2.19 ;   }
## 10.8.2.30-39 reserved for Eng VMs
    host eng-vm-01  {   hardware ethernet 00:0c:29:b9:3e:bb ;   fixed-address 10.8.2.31 ;   }
    host eng-vm-25  {   hardware ethernet 00:0c:29:00:35:66 ;   fixed-address 10.8.2.35 ;   }
    host eng-vm-26  {   hardware ethernet 00:0c:29:69:b2:b9 ;   fixed-address 10.8.2.36 ;   }
    host eng-vm-27  {   hardware ethernet 00:0c:29:c5:e3:59 ;   fixed-address 10.8.2.37 ;   }
    host eng-vm-28  {   hardware ethernet 00:0c:29:a0:8b:a4 ;   fixed-address 10.8.2.38 ;   }
    host eng-vm-29  {   hardware ethernet 00:0c:29:bd:42:7b ;   fixed-address 10.8.2.39 ;   }
}

## 10.8.2.240-250 reserved for Puppet installs
    host ion-vm     {   hardware ethernet 00:0c:29:d6:7b:90 ;   fixed-address 10.8.2.253 ;  }
    host shinseivm  {   hardware ethernet 00:0c:29:1d:90:07 ;   fixed-address 10.8.2.252 ;  }
    host star       {   hardware ethernet 00:03:ba:d9:50:1a ;   fixed-address 10.8.2.251 ;  }

}

## QA Test - 10.8.3.0/24 - VLAN 103
subnet 10.8.3.0 netmask 255.255.255.0
{
    range 10.8.3.10 10.8.3.200 ;
    option routers 10.8.3.1 ;
}

## Professional Services - 10.8.4.0/24 - VLAN 104
subnet 10.8.4.0 netmask 255.255.255.0
{
    option routers 10.8.4.1 ;
    range 10.8.4.10 10.8.4.200 ;
    host caracal        {   hardware ethernet 00:13:72:58:7C:C9 ;   fixed-address 10.8.4.201 ;  }
    host caracal-drac   {   hardware ethernet 00:13:72:57:86:33 ;   fixed-address 10.8.4.202 ;  }
}

## IT - 10.8.5.0/24 - VLAN 105
subnet 10.8.5.0 netmask 255.255.255.0
{
    option routers 10.8.5.1 ;
    option netbios-name-servers 10.8.5.220 ;
    option netbios-node-type 8 ;
    range 10.8.5.10 10.8.5.99 ;
    host demo-esx-1-drac    {   hardware ethernet 00:1e:4f:25:87:f9 ;   fixed-address 10.8.5.121 ;  }
    host pikachu        {   hardware ethernet 00:13:46:78:25:20 ;   fixed-address 10.8.5.220 ;  }
    host mammoth        {   hardware ethernet 00:30:48:20:E4:C2 ;   fixed-address 10.8.5.221 ;  }
    host hq-esx-1       {   hardware ethernet 00:50:56:45:d1:07 ;   fixed-address 10.8.5.222 ;  }
    host hq-esx-1-drac  {   hardware ethernet 00:1e:4f:1d:37:87 ;   fixed-address 10.8.5.223 ;  }
    host eng-esx-2      {   hardware ethernet 00:1e:4f:1d:37:87 ;   fixed-address 10.8.5.223 ;  }
    host eng-esx-1-drac {   hardware ethernet 00:1e:c9:de:1c:5b ;   fixed-address 10.8.5.224 ;  }
}

## VPN - 10.8.6.0/24 - VLAN 106
subnet 10.8.6.0 netmask 255.255.255.0
{
    range 10.8.6.10 10.8.6.200 ;
    option routers 10.8.6.1 ;
}

## DMZ - 10.8.6.0/24 - VLAN 107
subnet 10.8.7.0 netmask 255.255.255.0
{
    range 10.8.7.100 10.8.7.200 ;
    option routers 10.8.7.1 ;
    host engineering-ext-1  {   hardware ethernet 00:13:72:53:a3:78 ;   fixed-address 10.8.7.10 ;   }
}

## Jail network - 10.8.9.0/24 - VLAN 109
subnet 10.8.9.0 netmask 255.255.255.0
{
    range 10.8.9.100 10.8.9.199 ;
    option routers 10.8.9.1 ;
}

## Wireless - 10.8.10.0/24 - VLAN 110
subnet 10.8.10.0 netmask 255.255.255.0
{
    range 10.8.10.10 10.8.10.200 ;
    option routers 10.8.10.1 ;

    host linksys-ap-1   {   hardware ethernet 00:0C:41:17:E2:AD ;   fixed-address 10.8.10.201 ; }
    host linksys-ap-2   {   hardware ethernet 00:0C:41:D7:2D:53 ;   fixed-address 10.8.10.202 ; }
    host linksys-ap-3   {   hardware ethernet 00:0C:41:DE:23:D8 ;   fixed-address 10.8.10.203 ; }
    host linksys-ap-4   {   hardware ethernet 00:18:F8:26:D8:46 ;   fixed-address 10.8.10.204 ; }
    host linksys-ap-5   {   hardware ethernet 00:18:F8:26:D8:51 ;   fixed-address 10.8.10.207 ; }
    host airport-1      {   hardware ethernet 00:14:51:77:76:4E ;   fixed-address 10.8.10.205 ; }
    host airport-2      {   hardware ethernet 00:14:51:77:8F:F0 ;   fixed-address 10.8.10.206 ; }
}

## Polycom phone boot configuration
group {
    default-lease-time 600 ;
    max-lease-time 600 ;

    option boot-server "ftp://sip:sip@phoneboot" ;

    host 01-c1-b6   {   hardware ethernet 00:04:f2:01:c1:b6 ;   }
    host 01-71-89   {   hardware ethernet 00:04:f2:01:71:89 ;   }
    host 01-b6-e1   {   hardware ethernet 00:04:f2:01:b6:e1 ;   }
    host 01-be-91   {   hardware ethernet 00:04:f2:01:be:91 ;   }
    host e3-2a-f2   {   hardware ethernet 00:04:f2:e3:2a:f2 ;   }
}