Statistics
| Branch: | Tag: | Revision:

root / nfdhcpd.conf @ 7b0ebdd0

History | View | Annotate | Download (1.2 kB)

1
## nfdhcpd sample configuration file
2
## General options
3
[general]
4
pidfile = /var/run/nfdhcpd/nfdhcpd.pid
5
datapath = /var/lib/nfdhcpd # Where the client configuration will be read from
6
logdir = /var/log/nfdhcpd   # Where to write our logs
7
user = nobody # An unprivileged user to run as
8

    
9
## DHCP options
10
[dhcp]
11
enable_dhcp = yes
12
lease_lifetime = 604800 # 1 week
13
lease_renewal = 3600 	# 1 hour
14
server_ip = 192.0.2.1
15
dhcp_queue = 42 # NFQUEUE number to listen on for DHCP requests
16
# IPv4 nameservers to include in DHCP responses
17
nameservers = 192.0.2.2, 192.0.2.3
18
# Optional domain to serve with the replies
19
domain = example.com
20

    
21
## IPv6-related functionality
22
[ipv6]
23
enable_ipv6 = yes
24
ra_period = 300 # seconds
25
rs_queue = 43 # NFQUEUE number to listen on for router solicitations
26
ns_queue = 44 # NFQUEUE number to listen on for neighbor solicitations
27
dhcp_queue = 45 # NFQUEUE number to listen on for neighbor solicitations
28
# IPv6 nameservers to send using the ICMPv6 RA RDNSS option (RFC 5006)
29
# since it is not supported by several OS we serve them to DHCPv6 replies
30
nameservers = 2001:db8:100::1, 2001:db8:200::2
31
# Optional list of search domains to serve with DHCPv6 replies
32
domains = example.com, synnefo.live