Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
doc:uci:dhcp6c [2015/05/31 12:09] – old revision restored (2015/05/30 20:56) jowdocs:guide-user:network:ipv6:dhcp6c [2019/08/26 10:00] (current) – tag optimization, formatting optimization vgaetera
Line 1: Line 1:
 ====== WIDE-DHCPv6 client configuration ====== ====== WIDE-DHCPv6 client configuration ======
- 
 The ''/etc/config/dhcp6c'' file controls the WIDE-DHCPv6 client package //wide-dhcpv6-client// configuration. The ''/etc/config/dhcp6c'' file controls the WIDE-DHCPv6 client package //wide-dhcpv6-client// configuration.
 It defines //basic properties// and //interface settings//. It defines //basic properties// and //interface settings//.
  
 ===== Sections ===== ===== Sections =====
- +A typical default configuration consists of one ''dhcp6c'' section with common settings and one or more ''interface'' sections, usually covering the //lan// and //loopback// networks.
-A typical default configuration consists of one ''dhcp6c'' section with common settings and one or more +
-''interface'' sections, usually covering the //lan// and //loopback// networks.+
  
 ==== Basic Properties ==== ==== Basic Properties ====
- 
 The section of type ''dhcp6c'' named ''basic'' defines common client settings. The section of type ''dhcp6c'' named ''basic'' defines common client settings.
  
 Example: Example:
  
-| ''config 'dhcp6c' 'basic'+<code bash> 
 +config 'dhcp6c' 'basic'
         option 'enabled'              '1'         option 'enabled'              '1'
         option 'interface'            'wan'         option 'interface'            'wan'
         option 'pd'                   '1'         option 'pd'                   '1'
         option 'domain_name_servers'  '1'         option 'domain_name_servers'  '1'
-        option 'script'               '/usr/bin/dhcp6c-state''' |+        option 'script'               '/usr/bin/dhcp6c-state' 
 +</code>
  
 All defined options of this section are listed below. All defined options of this section are listed below.
Line 47: Line 45:
  
 ==== Interface Settings ==== ==== Interface Settings ====
- 
 Sections of type ''interface'' define on which interfaces delegated prefixes are added and how they're aggregated. Sections of type ''interface'' define on which interfaces delegated prefixes are added and how they're aggregated.
 This sections are //named//, the section name corresponds to the covered //logical interface//. This sections are //named//, the section name corresponds to the covered //logical interface//.
Line 53: Line 50:
 Example: Example:
  
-| ''config 'interface' 'lan'+<code bash> 
 +config 'interface' 'lan'
         option 'enabled' '1'         option 'enabled' '1'
         option 'sla_id'  '0'         option 'sla_id'  '0'
-        option 'sla_len' '8''' |+        option 'sla_len' '8' 
 +</code>
  
   * ''lan'' specifies that this section belongs to the LAN interface   * ''lan'' specifies that this section belongs to the LAN interface
Line 70: Line 69:
  
 ===== Example ===== ===== Example =====
- 
 This example requests a ''/56'' sized prefix and DNS servers on ''wan'' and configures two ''/64'' subnets out of the prefix on ''lan'' and ''loopback''. This example requests a ''/56'' sized prefix and DNS servers on ''wan'' and configures two ''/64'' subnets out of the prefix on ''lan'' and ''loopback''.
 The ''loopback'' interface gets the first subnet assigned, ''lan'' the second. The ''loopback'' interface gets the first subnet assigned, ''lan'' the second.
  
-| ''config 'dhcp6c' 'basic'+<code bash> 
 +config 'dhcp6c' 'basic'
         option 'enabled'              '1'         option 'enabled'              '1'
         option 'interface'            'wan'         option 'interface'            'wan'
Line 89: Line 88:
         option 'enabled' '1'         option 'enabled' '1'
         option 'sla_id'  '1'         option 'sla_id'  '1'
-        option 'sla_len' '8''' |+        option 'sla_len' '8' 
 +</code> 
  • Last modified: 2019/08/26 10:00
  • by vgaetera