summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/ipv4.tmpl
blob: 8a44a97614d83c2f620700673371b7f96d7222c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
### Autogenerated by interface.py ###

option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
timeout 60;
retry 300;

interface "{{ ifname }}" {
    send host-name "{{ dhcp_options.host_name }}";
{% if dhcp_options.client_id is defined and dhcp_options.client_id is not none %}
    send dhcp-client-identifier "{{ dhcp_options.client_id }}";
{% endif %}
{% if dhcp_options.vendor_class_id is defined and dhcp_options.vendor_class_id is not none %}
    send vendor-class-identifier "{{ dhcp_options.vendor_class_id }}";
{% endif %}
    request subnet-mask, broadcast-address, routers, domain-name-servers,
        rfc3442-classless-static-routes, domain-name, interface-mtu;
    require subnet-mask;
}