Initial checkin

This commit is contained in:
Radar231 2021-08-01 17:55:28 -04:00
commit c938702268
3 changed files with 133 additions and 0 deletions

7
README.md Normal file
View File

@ -0,0 +1,7 @@
# dhcpd docker deployment
## Introduction
This docker-compose configuration will deploy a dhcpd server for my internal
LAN.

109
dhcpd_data/dhcpd.conf Normal file
View File

@ -0,0 +1,109 @@
authoritative;
default-lease-time 7200;
max-lease-time 7200;
subnet 192.168.7.0 netmask 255.255.255.0 {
option routers 192.168.7.1;
option subnet-mask 255.255.255.0;
range 192.168.7.100 192.168.7.199;
option broadcast-address 192.168.7.255;
option domain-name-servers 192.168.7.41, 192.168.7.42;
option domain-name "lan";
option domain-search "lan";
}
#############################################
# Static IP DHCP Leases
# DC:85:DE:52:7C:F7 192.168.7.120
host lister.lan {
hardware ethernet DC:85:DE:52:7C:F7;
fixed-address 192.168.7.120;
}
# C0:84:7D:2F:7E:9A 192.168.7.121
host cat.lan {
hardware ethernet C0:84:7D:2F:7E:9A;
fixed-address 192.168.7.121;
}
# 78:E4:00:43:1C:03 192.168.7.122
host holly.lan {
hardware ethernet 78:E4:00:43:1C:03;
fixed-address 192.168.7.122;
}
# 52:54:00:FE:82:8B 192.168.7.123
host mate-desktop.lan {
hardware ethernet 52:54:00:FE:82:8B;
fixed-address 192.168.7.123;
}
# 5A:EA:2D:EE:C1:6A 192.168.7.131
host cell-r.lan {
hardware ethernet 5A:EA:2D:EE:C1:6A;
fixed-address 192.168.7.131;
}
# 46:BB:04:68:46:53 192.168.7.132
host cell-d.lan {
hardware ethernet 46:BB:04:68:46:53;
fixed-address 192.168.7.132;
}
# D0:AB:D5:C1:98:19 192.168.7.133
host d-laptop.lan {
hardware ethernet D0:AB:D5:C1:98:19;
fixed-address 192.168.7.133;
}
# A0:CE:C8:DB:BF:16 192.168.7.135
host chromecase-fr.lan {
hardware ethernet A0:CE:C8:DB:BF:16;
fixed-address 192.168.7.135;
}
# 6C:AD:F8:AA:59:A6 192.168.7.136
host chromecast-ba.lan {
hardware ethernet 6C:AD:F8:AA:59:A6;
fixed-address 192.168.7.136;
}
# C4:4F:33:CA:A3:CC 192.168.7.137
host tas_wkshp_light.cam {
hardware ethernet C4:4F:33:CA:A3:CC;
fixed-address 192.168.7.137;
}
# 2C:AA:8E:A1:A1:9A 192.168.7.138
host garage-cam.lan {
hardware ethernet 2C:AA:8E:A1:A1:9A;
fixed-address 192.168.7.138;
}
# 00:18:DD:03:97:4C 192.168.7.139
host hdhomerun.lan {
hardware ethernet 00:18:DD:03:97:4C;
fixed-address 192.168.7.139;
}
# C0:C9:E3:74:F9:B8 192.168.7.151
host deco-lr.lan {
hardware ethernet C0:C9:E3:74:F9:B8;
fixed-address 192.168.7.151;
}
# C0:C9:E3:74:F9:B0 192.168.7.152
host deco-fr.lan {
hardware ethernet C0:C9:E3:74:F9:B0;
fixed-address 192.168.7.152;
}
# C0:C9:E3:74:F8:14 192.168.7.153
host deco-off.lan {
hardware ethernet C0:C9:E3:74:F8:14;
fixed-address 192.168.7.153;
}
# EOF

17
docker-compose.yml Normal file
View File

@ -0,0 +1,17 @@
version: '3.2'
services:
dhcpd:
container_name: dhcpd
network_mode: host
image: networkboot/dhcpd
volumes:
- /home/rmorrow/docker/dhcpd/dhcpd_data:/data
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=America/Toronto
# EOF