summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/ipv4.tmpl
blob: 43f2730770c75c5c73d586d80a479e2c339a17f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# generated by ifconfig.py
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
timeout 60;
retry 300;

interface "{{ ifname }}" {
	send host-name "{{ hostname }}";
	{% if client_id -%}
	send dhcp-client-identifier "{{ client_id }}";
	{% endif -%}
	{% if vendor_class_id -%}
	send vendor-class-identifier "{{ vendor_class_id }}";
	{% endif -%}
	request subnet-mask, broadcast-address, routers, domain-name-servers,
		rfc3442-classless-static-routes, domain-name, interface-mtu;
	require subnet-mask;
}