source: packages/ipv6/wide-dhcpv6/files/dhcp6c.config @ 29222

Last change on this file since 29222 was 29222, checked in by nico, 5 years ago

packages/wide-dhcpv6: rename uci config files

File size: 1.6 KB
Line 
1config 'dhcp6c' 'basic'
2        option 'enabled' '0'                            # 1 = enabled; 0 = disabled
3        option 'interface' 'wan'                        # This is the interface the DHCPv6 client will run on
4        option 'dns' 'dnsmasq'                          # Which DNS server you run (only dnsmasq currently supported)
5        option 'debug' '0'                              # 1 = enable debugging; 0 = disable debugging
6       
7        # Send options (1 = send; 0 = do not send)
8        option 'pd' '1'                                 # Prefix Delegation
9        option 'na' '0'                                 # Non-Temporary Address
10        option 'rapid_commit' '1'                       # Rapid Commit
11       
12        # Request options (1 = request; 0 = do not request)
13        option 'domain_name_servers' '1'
14        option 'domain_name' '0'
15        option 'ntp_servers' '0'
16        option 'sip_server_address' '0'
17        option 'sip_server_domain_name' '0'
18        option 'nis_server_address' '0'
19        option 'nis_domain_name' '0'
20        option 'nisp_server_address' '0'
21        option 'nisp_domain_name' '0'
22        option 'bcmcs_server_address' '0'
23        option 'bcmcs_server_domain_name' '0'
24       
25        # Override the used DUID, by default it is derived from the interface MAC
26        # The given value must be uppercase and globally unique!
27        #option 'duid' '00:03:00:06:D8:5D:4C:A5:03:F2'
28
29        # Script to run when a reply is received
30        option 'script' '/usr/bin/dhcp6c-state'
31
32# Define one or more interfaces on which prefixes should be assigned
33config 'interface' 'loopback'
34        option 'enabled' '1'                            # 1 = enabled; 0 = disabled
35        option 'sla_id' '0'                             # Site level aggregator identifier specified in decimal (subnet)
36        option 'sla_len' '4'                            # Site level aggregator length (64 - size of prefix being delegated)
37                                                        # e.g. /60 from ISP -> 64 - 60 = 4
38
39config 'interface' 'lan'
40        option 'enabled' '1'
41        option 'sla_id' '1'
42        option 'sla_len' '4'
Note: See TracBrowser for help on using the repository browser.