isc-dhcp-with-docker/v6/dhcpd.conf

33 lines
836 B
Plaintext
Raw Normal View History

2022-10-23 19:16:35 +09:00
#-------------------------------
# Global options
#-------------------------------
authoritative;
2022-10-23 19:16:35 +09:00
option dhcp6.domain-search "hogeserver.hogeddns.jp";
option dhcp6.name-servers fdaa:aaaa:aaaa:aaaa::10;
default-lease-time 86400; # 24 hours.
max-lease-time 604800; # 7 days.
lease-file-name "/var/lib/dhcp/dhcpd.leases";
#-------------------------------
# Subnet
#-------------------------------
subnet6 fdaa:aaaa:aaaa:aaaa::/64 {
range6 fdaa:aaaa:aaaa:aaaa::1:0100 fdaa:aaaa:aaaa:aaaa::1:0199;
}
#-------------------------------
# Fixed address
#-------------------------------
host party {
host-identifier option dhcp6.client-id 00:03:00:01:00:0c:29:14:6e:24;
fixed-address6 fdaa:aaaa:aaaa:aaaa::12;
}
host work {
host-identifier option dhcp6.client-id 00:03:00:01:00:0c:29:0a:83:af;
fixed-address6 fdaa:aaaa:aaaa:aaaa::3;
}