Statistics
| Branch: | Tag: | Revision:

root / nfdhcpd / nfdhcpd.conf @ ed7f0f2a

History | View | Annotate | Download (911 Bytes)

1 cf51ea5b Dimitris Aragiorgis
## nfdhcpd sample configuration file
2 cf51ea5b Dimitris Aragiorgis
## General options
3 cf51ea5b Dimitris Aragiorgis
[general]
4 ed7f0f2a Dimitris Aragiorgis
pidfile = /var/run/nfdhcpd/nfdhcpd.pid
5 cf51ea5b Dimitris Aragiorgis
datapath = /var/lib/nfdhcpd # Where the client configuration will be read from
6 cf51ea5b Dimitris Aragiorgis
logdir = /var/log/nfdhcpd   # Where to write our logs
7 cf51ea5b Dimitris Aragiorgis
user = nobody # An unprivileged user to run as
8 cf51ea5b Dimitris Aragiorgis
9 cf51ea5b Dimitris Aragiorgis
## DHCP options
10 cf51ea5b Dimitris Aragiorgis
[dhcp]
11 cf51ea5b Dimitris Aragiorgis
enable_dhcp = yes
12 cf51ea5b Dimitris Aragiorgis
lease_lifetime = 604800 # 1 week
13 cf51ea5b Dimitris Aragiorgis
lease_renewal = 3600 	# 1 hour
14 cf51ea5b Dimitris Aragiorgis
server_ip = 192.0.2.1
15 cf51ea5b Dimitris Aragiorgis
dhcp_queue = 42 # NFQUEUE number to listen on for DHCP requests
16 cf51ea5b Dimitris Aragiorgis
# IPv4 nameservers to include in DHCP responses
17 ed7f0f2a Dimitris Aragiorgis
nameservers = 194.177.210.210, 194.177.210.10
18 cf51ea5b Dimitris Aragiorgis
19 cf51ea5b Dimitris Aragiorgis
## IPv6-related functionality
20 cf51ea5b Dimitris Aragiorgis
[ipv6]
21 cf51ea5b Dimitris Aragiorgis
enable_ipv6 = yes
22 cf51ea5b Dimitris Aragiorgis
ra_period = 300 # seconds
23 cf51ea5b Dimitris Aragiorgis
rs_queue = 43 # NFQUEUE number to listen on for router solicitations
24 cf51ea5b Dimitris Aragiorgis
ns_queue = 44 # NFQUEUE number to listen on for neighbor solicitations
25 cf51ea5b Dimitris Aragiorgis
# IPv6 nameservers to send using the ICMPv6 RA RDNSS option (RFC 5006)
26 cf51ea5b Dimitris Aragiorgis
nameservers = 2001:db8:100::1, 2001:db8:200::2