aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp/files/dhcrelay.conf
blob: 8d3ddfe1c8250699d38806efd050dbb7b1a72054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
config dhcrelay ipv4
	option 'enabled' '0'

	# IP address of the server
	option 'dhcpserver' '192.0.2.10'

	# network interfaces to listen on (e.g. lan or wan)
	option 'interfaces' ''
	option 'upstream_interfaces' ''
	option 'downstream_interfaces' ''

	# What to do about packets that already have a relay option:
	# 'append': Forward and append our own relay option
	# 'replace': Forward, but replace theirs with ours (default)
	# 'forward': Forward without changes
	# 'discard': Don't forward
	option 'relay_mode' ''

	# enable RFC3527 link selection sub-option and use the IP address of
	# the specified network interface as "uplink" IP address (e.g. wan)
	option 'link_selection' ''

config dhcrelay ipv6
#	option dhcpserver '2001:db8:1::1'
	option upper 'eth1'
	list lower 'eth0.2'
	list lower 'eth0.3'