Skip to content

Instantly share code, notes, and snippets.

@shyshkov
Created June 24, 2022 04:47
Show Gist options
  • Save shyshkov/bfc07fc0716c93e6d9b5b8da84479f9d to your computer and use it in GitHub Desktop.
Save shyshkov/bfc07fc0716c93e6d9b5b8da84479f9d to your computer and use it in GitHub Desktop.
dhcpd.conf
apiVersion: v1
kind: ConfigMap
metadata:
name: dhcpd
namespace: default
data:
dhcpd.conf: |
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "dhcpd-0";
subnet 192.168.122.0 netmask 255.255.255.0 {
range 192.168.122.10 192.168.122.100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment