-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.yaml
22 lines (20 loc) · 1.26 KB
/
conf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
server:
ip_start: "192.168.1.40" # Starting IP address in the pool
ip_end: "192.168.1.255" # Ending IP address in the pool
subnet_mask: "255.255.255.0" # Subnet mask to distribute to clients
lease_time: 600 # Lease duration in seconds (e.g., 600 = 10 minutes)
gateway: "192.168.1.40" # Default gateway IP address
server_ip: "192.168.1.40" # IP address of the DHCP server
port: 67 # UDP port for DHCP (default is 67)
dns_servers:
- "8.8.8.8" # Primary DNS server
- "8.8.4.4" # Secondary DNS server
interface: "en0" # Network interface to bind the DHCP server to
lease_db_path: "leases.db" # Path to the db file for lease persistence
cleanup_expired_interval: 120 # Interval in seconds for cleaning up expired leases
arp_check: true # Enable or disable server ARP check for ip conflicts
logging:
level: "info" # Log level (debug, info, warn, error)
metrics:
enabled: true # Enable Prometheus metrics
listen_address: "0.0.0.0:9100" # Address and port for the metrics endpoint