cleanup network uci docs
authorJohn Crispin <blogic@openwrt.org>
Thu, 14 Apr 2016 15:57:32 +0000 (17:57 +0200)
committerJohn Crispin <blogic@openwrt.org>
Thu, 14 Apr 2016 15:58:09 +0000 (17:58 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
docs/uci_net.txt

index 4fc42285f19cd040a38aea875f8ddc61b5c566d8..4a2b32a49d1f663fe781b56d060ffc441d476913 100644 (file)
@@ -5,32 +5,27 @@ The central network configuration is located in the file '/etc/config/network'.
 
 After editing and saving '/etc/config/network' you need to execute '/etc/init.d/network reload' to stop and restart the network before any changes take effect. Rebooting the router is not necessary.
 
- * https://dev.openwrt.org/browser/branches/attitude_adjustment/package/base-files/files/etc/config/network
- * https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/config/network
-
-Feel free to inform yourself about [[doc/techref/netifd|netifd]] (Network Interface Daemon).
+Feel free to inform yourself about link:https://www.lede-project.org/docs/procd.html[netifd] (Network Interface Daemon).
 
 == Sections
 
-Below is an overview of the section types that may be defined in the network configuration.
-A minimal network configuration for a router usually consists of at least two _interfaces_ ('lan' and 'wan') and a _switch_ section if applicable.
+Below is an overview of the section types that may be defined in the network configuration. A minimal network configuration for a router usually consists of at least two _interfaces_ ('lan' and 'wan') and a _switch_ section if applicable.
 
 === Global Settings
-CAUTION: The globals section is available in Barrier Breaker and later releases.
 
 The 'globals' section contains interface-independent options affecting the network configuration in general.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ula_prefix' | IPv6-prefix | no | _(none)_ | IPv6 [[wp>Unique local address|ULA]]-Prefix for this device 
+| Name | Type | Required | Default | Description
+| 'ula_prefix' | IPv6-prefix | no | _(none)_ | IPv6 ULA-Prefix for this device
 |====
 
 === Switch
 
 The 'switch' section is responsible for partitioning the switch into several _VLANs_ which appear as independent interfaces in the system although they share the same hardware. **Not every OpenWrt supported device (or architecture, like x86) has a programmable switch**, therefore this section might not be present on some platforms. Please also note, that some switches only support 4Bit-VLANs.
 
-There are currently two different configuration formats in use, one for the legacy '/proc/switch/' API and one for the newer '[[doc/techref/swconfig|swconfig]]'-based switch configuration.
+There are currently two different configuration formats in use, one for the legacy '/proc/switch/' API and one for the newer swconfig-based switch configuration.
 
 === /proc/switch ===
 
@@ -46,11 +41,10 @@ config 'switch' 'eth0'
 
 The 'eth0' identifier specifies the switch the section is belonging to.
 VLANs are defined by 'vlan#' options with '#' being the VLAN number.
-For further information refer to the [[doc:uci:network::switch|switch documentation]].
 
 === swconfig ===
 
-The newer '[[doc/techref/swconfig|swconfig]]'-framework is intended to replace the legacy switch configuration.
+The newer swconfig framework is intended to replace the legacy switch configuration.
 
 Configuration for swconfig have a slightly different structure with one extra section per VLAN.
 The example below shows a typical configuration:
@@ -72,12 +66,10 @@ config 'switch_vlan' 'eth0_2'
 ----
 
 Common properties are defined within the 'switch' section; vlan specific properties are located in additional 'switch_vlan' sections linked to the 'switch' section through the 'device' option.
-The complete layout is explained in the [[doc:uci:network::switch|switch documentation]].
-
 
 === Interfaces
 
-Sections of the type 'interface' declare logical networks serving as containers for IP address settings, [[doc:uci:network#aliases|aliases]], [[doc:uci:network#ipv4.routes|routes]], physical interface names and [[doc:uci:firewall#zones|firewall rules]] - they play a central role within the OpenWrt configuration concept.
+Sections of the type 'interface' declare logical networks serving as containers for IP address settings, aliases, routes, physical interface names and firewall rules - they play a central role within the OpenWrt configuration concept.
 
 A minimal interface declaration consists of the following lines:
 
@@ -91,195 +83,152 @@ config 'interface' 'wan'
 * 'dhcp' specifies the _interface protocol_, DHCP in this example
 * 'eth0.1' is the _physical interface_ associated with this section
 
-CAUTION: The system limits the interface name length to 15 characters including the automatically added prefix that is added for some protocols (e.g. "6in4-", "pppoa-", "pppoe-") or due to bridge status ("br-"). Depending on the protocol type, the _logical interface name_ may thus be limited to only 9 characters. E.g. 'abcde67890' is a valid interface name for a normal interface using dhcp, but not for a pppoe interface where the final name would be 'pppoe-abcde67890', which is >15 chars. Using a too long name may lead into errors, as some of the settings in network, firewall or dhcp config may be left unapplied.
+*CAUTION*: The system limits the interface name length to 15 characters including the automatically added prefix that is added for some protocols (e.g. "6in4-", "pppoa-", "pppoe-") or due to bridge status ("br-"). Depending on the protocol type, the _logical interface name_ may thus be limited to only 9 characters. E.g. 'abcde67890' is a valid interface name for a normal interface using dhcp, but not for a pppoe interface where the final name would be 'pppoe-abcde67890', which is >15 chars. Using a too long name may lead into errors, as some of the settings in network, firewall or dhcp config may be left unapplied.
 
 The _interface protocol_ may be one of the following:
 
 [cols="1,4,2",options="header"]
 |====
-| Protocol | Description | Program 
-| 'static' | Static configuration with fixed address and netmask |  'ip'/'ifconfig'  
-| 'dhcp' | Address and netmask are assigned by DHCP |  'udhcpc' (Busybox)  
-| 'dhcpv6' | Address and netmask are assigned by DHCPv6 |  'odhcpc6c'  
-| 'ppp' | PPP protocol - dialup modem connections |  'pppd'  
-| 'pppoe' | PPP over Ethernet - DSL broadband connection |  'pppd' + 'plugin rp-pppoe.so'  
-| 'pppoa' | PPP over ATM - DSL connection using a builtin modem |  'pppd' + plugin ...  
-| '3g' | CDMA, UMTS or GPRS connection using an AT-style 3G modem |  'comgt'  
-| 'qmi' | USB modems using QMI protocol |  'uqmi'  
-| 'ncm' | USB modems using NCM protocol |  'comgt-ncm' + ?  
-| 'wwan' | USB modems with protocol autodetection |  'wwan'  
-| 'hnet' | Self-managing home network (HNCP) |  'hnet-full'  
-| 'pptp' | Connection via PPtP VPN |  ?  
-| '6in4' | IPv6-in-IPv4 tunnel for use with Tunnel Brokers like HE.net |  ?  
-| 'aiccu' | Anything-in-anything tunnel  |  'aiccu'  
-| '6to4' | Stateless IPv6 over IPv4 transport |  ?  
-| '6rd' | IPv6 rapid deployment |  '6rd'  
-| 'dslite' | Dual-Stack Lite |  'ds-lite'  
-| 'l2tp' | PPP over L2TP Pseudowire Tunnel |  'xl2tpd'  
-| 'relay' | relayd pseudo-bridge |  'relayd'  
-| 'gre', 'gretap' | GRE over IPv4 |  'gre' + 'kmod-gre'  
-| 'grev6', 'grev6tap' | GRE over IPv6 |  'gre' + 'kmod-gre6'  
-| 'vti' | VTI over IPv4 |  'vti' + 'kmod-ip_vti'  
-| 'vtiv6' | VTI over IPv6 |  'vti' + 'kmod-ip6_vti'  
-| 'none' | Unspecified protocol, therefore all the other interface settings will be ignored (like disabling the configuration) |  -  
-|====
-
-Depending on the used _interface protocol_ several other options may be required for a complete interface declaration.
-The corresponding options for each protocol are listed below. Options marked as "yes" in the "Required" column _must_ be defined in the interface section if the corresponding protocol is used, options marked as "no" _may_ be defined but can be omitted as well.
-
-CAUTION: In openwrt 12.09, if an interface section has no protocol defined (not even 'none' ), the other settings are completely ignored. The result is that, if the interface section is mentioning a physical network interface (i.e. eth0), this will be down even if a cable is connected (with proto 'none' the interface is up). (could be that more testing is needed) 
+| Protocol | Description | Program
+| 'static' | Static configuration with fixed address and netmask |  'ip'/'ifconfig'
+| 'dhcp' | Address and netmask are assigned by DHCP |  'udhcpc' (Busybox)
+| 'dhcpv6' | Address and netmask are assigned by DHCPv6 |  'odhcpc6c'
+| 'ppp' | PPP protocol - dialup modem connections |  'pppd'
+| 'pppoe' | PPP over Ethernet - DSL broadband connection |  'pppd' + 'plugin rp-pppoe.so'
+| 'pppoa' | PPP over ATM - DSL connection using a builtin modem |  'pppd' + plugin ...
+| '3g' | CDMA, UMTS or GPRS connection using an AT-style 3G modem |  'comgt'
+| 'qmi' | USB modems using QMI protocol |  'uqmi'
+| 'ncm' | USB modems using NCM protocol |  'comgt-ncm' + ?
+| 'wwan' | USB modems with protocol autodetection |  'wwan'
+| 'hnet' | Self-managing home network (HNCP) |  'hnet-full'
+| 'pptp' | Connection via PPtP VPN |  ?
+| '6in4' | IPv6-in-IPv4 tunnel for use with Tunnel Brokers like HE.net |  ?
+| 'aiccu' | Anything-in-anything tunnel  |  'aiccu'
+| '6to4' | Stateless IPv6 over IPv4 transport |  ?
+| '6rd' | IPv6 rapid deployment |  '6rd'
+| 'dslite' | Dual-Stack Lite |  'ds-lite'
+| 'l2tp' | PPP over L2TP Pseudowire Tunnel |  'xl2tpd'
+| 'relay' | relayd pseudo-bridge |  'relayd'
+| 'gre', 'gretap' | GRE over IPv4 |  'gre' + 'kmod-gre'
+| 'grev6', 'grev6tap' | GRE over IPv6 |  'gre' + 'kmod-gre6'
+| 'vti' | VTI over IPv4 |  'vti' + 'kmod-ip_vti'
+| 'vtiv6' | VTI over IPv6 |  'vti' + 'kmod-ip6_vti'
+| 'none' | Unspecified protocol, therefore all the other interface settings will be ignored (like disabling the configuration) |  -
+|====
+
+Depending on the used _interface protocol_ several other options may be required for a complete interface declaration. The corresponding options for each protocol are listed below. Options marked as "yes" in the "Required" column _must_ be defined in the interface section if the corresponding protocol is used, options marked as "no" _may_ be defined but can be omitted as well.
 
 === Options valid for all protocol types ===
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ifname' | interface name(s) | yes(*) | _(none)_ | Physical interface name to assign to this section, list of interfaces if type bridge is set. _(*) This option may be empty or missing if only a wireless interface references this network or if the protocol type is 'pptp', 'pppoa' or '6in4'_ 
-| 'type' | string | no | _(none)_ | If set to "bridge", a bridge containing the given _ifnames_ is created Wlan interface names are not predictable, therfore you cannot reference them directly in the network config 
-| 'stp' | boolean | no | '0' | Only valid for type "bridge", enables the Spanning Tree Protocol 
-| 'bridge_empty' | boolean | no | '0' | Only valid for type "bridge", enables creating empty bridges 
-| 'igmp_snooping' | boolean | no | '1' | Only valid for type "bridge", sets the multicast_snooping kernel setting for a bridge 
-| 'macaddr' | mac address | no | _(none)_ | Override MAC address of this interface 
-| 'mtu' | number | no | _(none)_ | Override the default MTU on this interface 
-| 'auto' | boolean | no | '0' for proto 'none', else '1' | Specifies whether to bring up interface on boot 
-| 'ipv6' | boolean | no | '1' | Specifies whether to enable (1) or disable (0) IPv6 on this interface (Barrier Breaker and later only) 
-| 'accept_ra' | boolean | no | '1' for protocol 'dhcp', else '0' | **deprecated:** Specifies whether to accept IPv6 Router Advertisements on this interface (On Attitude Adjustment 12.09 and earlier versions) 
-| 'send_rs' | boolean | no | '1' for protocol 'static', else '0' | **deprecated:** Specifies whether to send Router Solicitations on this interface (On Attitude Adjustment 12.09 and earlier versions) 
-| 'force_link' | boolean | no | '1' for protocol 'static', else '0' | Specifies whether ip address, route, and optionally gateway are assigned to the interface regardless of the link being active ('1') or only after the link has become active ('0'); when set to '1', carrier sense events do not invoke hotplug handlers 
-| 'enabled' | boolean | no | '1'  | enable or disable the interface section 
-| 'ip4table' | string | no | _(none)_  | (ipv4) routing table for routes of this interface. E.g., when proto = dhcp, the dhcp client will add routes to that table 
-| 'ip6table' | string | no | _(none)_  | (ipv6) routing table for routes of this interface. E.g., when proto = dhcp6, the dhcp6 client will add routes to that table 
+| Name | Type | Required | Default | Description
+| 'ifname' | interface name(s) | yes(*) | _(none)_ | Physical interface name to assign to this section, list of interfaces if type bridge is set. _(*) This option may be empty or missing if only a wireless interface references this network or if the protocol type is 'pptp', 'pppoa' or '6in4'_
+| 'type' | string | no | _(none)_ | If set to "bridge", a bridge containing the given _ifnames_ is created
+| 'stp' | boolean | no | '0' | Only valid for type "bridge", enables the Spanning Tree Protocol
+| 'bridge_empty' | boolean | no | '0' | Only valid for type "bridge", enables creating empty bridges
+| 'igmp_snooping' | boolean | no | '1' | Only valid for type "bridge", sets the multicast_snooping kernel setting for a bridge
+| 'macaddr' | mac address | no | _(none)_ | Override MAC address of this interface
+| 'mtu' | number | no | _(none)_ | Override the default MTU on this interface
+| 'auto' | boolean | no | '0' for proto 'none', else '1' | Specifies whether to bring up interface on boot
+| 'ipv6' | boolean | no | '1' | Specifies whether to enable (1) or disable (0) IPv6 on this interface
+| 'force_link' | boolean | no | '1' for protocol 'static', else '0' | Specifies whether ip address, route, and optionally gateway are assigned to the interface regardless of the link being active ('1') or only after the link has become active ('0'); when set to '1', carrier sense events do not invoke hotplug handlers
+| 'enabled' | boolean | no | '1'  | enable or disable the interface section
+| 'ip4table' | string | no | _(none)_  | (ipv4) routing table for routes of this interface. E.g., when proto = dhcp, the dhcp client will add routes to that table
+| 'ip6table' | string | no | _(none)_  | (ipv6) routing table for routes of this interface. E.g., when proto = dhcp6, the dhcp6 client will add routes to that table
 |====
 
 === Protocol "static" ===
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | ip address | yes, if no 'ip6addr' is set. | _(none)_ | IP address. [openwrt 12.09] It could be a list of ipaddr , that is: several ipaddresses will be assigned to the interface. If, instead of a list, several ipaddr are specified as options, only the last is applied. 
-| 'netmask' | netmask | yes, if no 'ip6addr' is set | _(none)_ | Netmask 
-| 'gateway' | ip address | no | _(none)_ | Default gateway 
-| 'broadcast' | ip address | no | _(none)_ | Broadcast address (autogenerated if not set) 
-| 'ip6addr' | ipv6 address | yes, if no 'ipaddr' is set | _(none)_ | Assign given IPv6 address to this interface (CIDR notation) 
-| 'ip6ifaceid' | ipv6 suffix | no | ::1 | Allowed values: 'eui64', 'random', fixed value like '::1:2'. When IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, use the suffix (like '::1') to form the IPv6 address ('a:b:c:d::1') for this interface. Useful with several routers in LAN. 
-| 'ip6gw' | ipv6 address | no | _(none)_ | Assign given IPv6 default gateway to this interface 
-| 'ip6assign' | prefix length | no | _(none)_ | Delegate a prefix of given length to this interface (Barrier Breaker and later only) 
-| 'ip6hint' | prefix hint (hex) | no | _(none)_ | Hint the subprefix-ID that should be delegated as hexadecimal number (Barrier Breaker and later only) 
-| 'ip6prefix' | ipv6 prefix | no | _(none)_ | IPv6 prefix routed here for use on other interfaces (Barrier Breaker and later only) 
-| 'ip6class' | list of strings | no | _(none)_ | Define the IPv6 prefix-classes this interface will accept 
-| 'dns' | list of ip addresses | no | _(none)_ | DNS server(s) 
-| 'dns_search' | list of domain names | no | _(none)_ | Search list for host-name lookup 
-| 'metric' | integer | no | '0' | Specifies the default route metric to use 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | ip address | yes, if no 'ip6addr' is set. | _(none)_ | IP address.
+| 'netmask' | netmask | yes, if no 'ip6addr' is set | _(none)_ | Netmask
+| 'gateway' | ip address | no | _(none)_ | Default gateway
+| 'broadcast' | ip address | no | _(none)_ | Broadcast address (autogenerated if not set)
+| 'ip6addr' | ipv6 address | yes, if no 'ipaddr' is set | _(none)_ | Assign given IPv6 address to this interface (CIDR notation)
+| 'ip6ifaceid' | ipv6 suffix | no | ::1 | Allowed values: 'eui64', 'random', fixed value like '::1:2'. When IPv6 prefix (like 'a:b:c:d::') is received from a delegating server, use the suffix (like '::1') to form the IPv6 address ('a:b:c:d::1') for this interface. Useful with several routers in LAN.
+| 'ip6gw' | ipv6 address | no | _(none)_ | Assign given IPv6 default gateway to this interface
+| 'ip6assign' | prefix length | no | _(none)_ | Delegate a prefix of given length to this interface
+| 'ip6hint' | prefix hint (hex) | no | _(none)_ | Hint the subprefix-ID that should be delegated as hexadecimal number
+| 'ip6prefix' | ipv6 prefix | no | _(none)_ | IPv6 prefix routed here for use on other interfaces
+| 'ip6class' | list of strings | no | _(none)_ | Define the IPv6 prefix-classes this interface will accept
+| 'dns' | list of ip addresses | no | _(none)_ | DNS server(s)
+| 'dns_search' | list of domain names | no | _(none)_ | Search list for host-name lookup
+| 'metric' | integer | no | '0' | Specifies the default route metric to use
 |====
 
 === Protocol "dhcp" ===
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| '[line-through]*gateway*' | [line-through]*string* | [line-through]*no* | [line-through]*_(none)_* | [line-through]*Suppresses DHCP-assigned default gateway if set to 0.0.0.0* 
-| 'broadcast' | boolean | no | '0' | Enable the broadcast flag in DHCP requests, required for certain ISPs, e.g. Charter with DOCSIS 3 
-| 'ipaddr' | IP address | no | _(none)_ | IP address to request from the DHCP server 
-| 'hostname' | string | no | _(none)_ | Hostname to include in DHCP requests 
-| 'clientid' | string | no | _system default_ | Override client identifier in DHCP requests 
-| 'vendorid' | string | no | _system default_ | Override the vendor class in DHCP requests 
-| 'dns' | list of ip addresses | no | _(none)_ | Supplement DHCP-assigned DNS server(s), or use only these if peerdns is 0 
-| 'peerdns' | boolean | no | '1' | Use DHCP-provided DNS server(s) 
-| 'defaultroute' | boolean | no | '1' | Whether to create a default route via the received gateway 
-| 'customroutes' | string | no | _(none)_ | Space-separated list of additional routes to insert via the received gateway 
-| 'metric' | integer | no | '0' | Specifies the route metric to use for both default route and custom routes 
-| 'reqopts' | string | no | _(none)_ | Space-separated list of additional DHCP options to request from the server 
-| 'sendopts' | string | no | _(none)_ | Space-separated list of additional DHCP options to send to the server. Syntax: 'option:value' where 'option' is either an integer code or a symbolic name such as 'hostname'. 
-| 'zone' | firewall zone | no | _(none)_ | Firewall zone to which this interface should be added 
-| 'iface6rd' | logical interface | no | _(none)_ | Logical interface template for auto-configuration of 6rd 
-| 'mtu6rd' | integer | no | _system default_ | MTU of the 6rd interface 
-| 'zone6rd' | firewall zone | no | _system default_ | Firewall zone to which the 6rd interface should be added 
+| Name | Type | Required | Default | Description
+| 'broadcast' | boolean | no | '0' | Enable the broadcast flag in DHCP requests, required for certain ISPs, e.g. Charter with DOCSIS 3
+| 'ipaddr' | IP address | no | _(none)_ | IP address to request from the DHCP server
+| 'hostname' | string | no | _(none)_ | Hostname to include in DHCP requests
+| 'clientid' | string | no | _system default_ | Override client identifier in DHCP requests
+| 'vendorid' | string | no | _system default_ | Override the vendor class in DHCP requests
+| 'dns' | list of ip addresses | no | _(none)_ | Supplement DHCP-assigned DNS server(s), or use only these if peerdns is 0
+| 'peerdns' | boolean | no | '1' | Use DHCP-provided DNS server(s)
+| 'defaultroute' | boolean | no | '1' | Whether to create a default route via the received gateway
+| 'customroutes' | string | no | _(none)_ | Space-separated list of additional routes to insert via the received gateway
+| 'metric' | integer | no | '0' | Specifies the route metric to use for both default route and custom routes
+| 'reqopts' | string | no | _(none)_ | Space-separated list of additional DHCP options to request from the server
+| 'sendopts' | string | no | _(none)_ | Space-separated list of additional DHCP options to send to the server. Syntax: 'option:value' where 'option' is either an integer code or a symbolic name such as 'hostname'.
+| 'zone' | firewall zone | no | _(none)_ | Firewall zone to which this interface should be added
+| 'iface6rd' | logical interface | no | _(none)_ | Logical interface template for auto-configuration of 6rd
+| 'mtu6rd' | integer | no | _system default_ | MTU of the 6rd interface
+| 'zone6rd' | firewall zone | no | _system default_ | Firewall zone to which the 6rd interface should be added
 |====
 
 **Note:** To automatically configure 6rd from dhcp you need to create an interface with 'option auto 0' and put its name as the 'iface6rd' parameter. In addition you also need to add its name to a suitable firewall zone in /etc/config/firewall.
 
-CAUTION: These parameters are handled partially by netifd (in 'interface.c') and partially by a shell script in 'lib/netifd/proto/dhcp.sh'.
-
-CAUTION: It seems that if an interface is configured as dhcp client, at least on OpenWrt 10.03, the default route received by dhcp 
-will be the only one listed and will remove other default route/metrics defined for other interfaces if those interfaces comes "before" the interface with dhcp in terms of "ifname" values. For example:
-
-----
-config interface wan
-       option ifname eth0
-       option proto static
-..other options..
-
-config interface wan2
-       option ifname eth1
-       option proto dhcp
-..other options..
-----
-
-The interface with dhcp comes after (because eth1 comes after eth0 in a lexicografical order)
-and will overwrite the default routes set up by the interface "wan". While is not true the contrary.
-If we have:
-
-----
-config interface wan
-       option ifname eth0
-       option proto dhcp
-..other options..
-
-config interface wan2
-       option ifname eth1
-       option proto static
-..other options..
-----
-
-Both default routes set up by wan and wan2 will appear in the routing table.
-
 === Protocol "dhcpv6" ===
 
-CAUTION: The package 'odhcp6c' must be installed to use dhcpv6.
-
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'reqaddress' | [try,force,none] | no | try | Behaviour for requesting addresses 
-| 'reqprefix' | [auto,no,0-64] | no | auto | Behaviour for requesting prefixes (numbers denote hinted prefix length).  Use 'no' if you only want a single IPv6 address for the AP itself without a subnet for routing 
-| 'clientid' | hexstring | no | _system default_ | Override client identifier in DHCP requests 
-| 'ifaceid' | ipv6 addr | no | _link-local identifier_ | Override the interface identifier for adresses received via RA 
-| 'dns' | list of ip addresses | no | _(none)_ | Supplement DHCP-assigned DNS server(s), or use only these if peerdns is 0 
-| 'peerdns' | boolean | no | '1' | Use DHCP-provided DNS server(s) 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route via the received gateway 
-| 'reqopts' | list of numbers | no | _(none)_ | Specifies a list of additional DHCP options to request 
-| 'noslaaconly' | boolean | no | '0' | Don't allow configuration via SLAAC (RAs) only (implied by reqprefix != no) 
-| 'norelease' | boolean | no | '0' | Don't send a RELEASE when the interface is brought down 
-| 'ip6prefix' | ipv6 prefix | no | _(none)_ | Use an (additional) user-provided IPv6 prefix for distribution to clients 
-| 'iface_dslite' | logical interface | no | _(none)_ | Logical interface template for auto-configuration of DS-Lite 
+| Name | Type | Required | Default | Description
+| 'reqaddress' | [try,force,none] | no | try | Behaviour for requesting addresses
+| 'reqprefix' | [auto,no,0-64] | no | auto | Behaviour for requesting prefixes (numbers denote hinted prefix length).  Use 'no' if you only want a single IPv6 address for the AP itself without a subnet for routing
+| 'clientid' | hexstring | no | _system default_ | Override client identifier in DHCP requests
+| 'ifaceid' | ipv6 addr | no | _link-local identifier_ | Override the interface identifier for adresses received via RA
+| 'dns' | list of ip addresses | no | _(none)_ | Supplement DHCP-assigned DNS server(s), or use only these if peerdns is 0
+| 'peerdns' | boolean | no | '1' | Use DHCP-provided DNS server(s)
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route via the received gateway
+| 'reqopts' | list of numbers | no | _(none)_ | Specifies a list of additional DHCP options to request
+| 'noslaaconly' | boolean | no | '0' | Don't allow configuration via SLAAC (RAs) only (implied by reqprefix != no)
+| 'norelease' | boolean | no | '0' | Don't send a RELEASE when the interface is brought down
+| 'ip6prefix' | ipv6 prefix | no | _(none)_ | Use an (additional) user-provided IPv6 prefix for distribution to clients
+| 'iface_dslite' | logical interface | no | _(none)_ | Logical interface template for auto-configuration of DS-Lite
 |====
 
 **Note:** To automatically configure ds-lite from dhcpv6 you need to create an interface with 'option auto 0' and put its name as the 'iface_dslite' parameter. In addition you also need to add its name to a suitable firewall zone in /etc/config/firewall.
 
 === Protocol "ppp" (PPP over Modem) ===
 
-CAUTION: The package 'ppp' must be installed to use PPP.
+*CAUTION*: The package 'ppp' must be installed to use PPP.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'device' | file path | yes | _(none)_ | Modem device node 
-| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication 
-| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script 
-| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script 
-| 'keepalive' | number | no | _(none)_ | Number of unanswered echo requests before considering the peer dead. The interval between echo requests is 5 seconds. 
-| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity 
-| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect 
-| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s) 
-| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s) 
-| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link 
-| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon 
+| Name | Type | Required | Default | Description
+| 'device' | file path | yes | _(none)_ | Modem device node
+| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication
+| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script
+| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script
+| 'keepalive' | number | no | _(none)_ | Number of unanswered echo requests before considering the peer dead. The interval between echo requests is 5 seconds.
+| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity
+| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect
+| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s)
+| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s)
+| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link
+| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon
 |====
 
 === Protocol "pppoe" (PPP over Ethernet) ===
 
-CAUTION: The packages 'ppp', 'kmod-pppoe' and 'ppp-mod-pppoe' must be installed to use PPPoE.
+*CAUTION*: The packages 'ppp', 'kmod-pppoe' and 'ppp-mod-pppoe' must be installed to use PPPoE.
 
 ----
 opkg update
@@ -288,209 +237,202 @@ opkg install ppp kmod-pppoe ppp-mod-pppoe
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication 
-| 'ac' | string | no | _(none)_ | Specifies the Access Concentrator to connect to. If unset, 'pppd' uses the first discovered one 
-| 'service' | string | no | _(none)_ | Specifies the Service Name to connect to, If unset, 'pppd' uses the first discovered one 
-| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script 
-| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script 
-| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect 
-| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity 
-| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect 
-| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s) 
-| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s) 
-| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link 
-| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon, e.g. **debug** 
+| Name | Type | Required | Default | Description
+| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication
+| 'ac' | string | no | _(none)_ | Specifies the Access Concentrator to connect to. If unset, 'pppd' uses the first discovered one
+| 'service' | string | no | _(none)_ | Specifies the Service Name to connect to, If unset, 'pppd' uses the first discovered one
+| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script
+| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script
+| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect
+| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity
+| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect
+| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s)
+| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s)
+| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link
+| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon, e.g. **debug**
 |====
 
 === Protocol "pppoa" (PPP over ATM AAL5) ===
 
-CAUTION: The package 'ppp-mod-pppoa' must be installed to use PPPoA.
+*CAUTION*: The package 'ppp-mod-pppoa' must be installed to use PPPoA.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'vci' | number | no | '35' | PPPoA VCI 
-| 'vpi' | number | no | '8' | PPPoA VPI 
-| 'atmdev' | number | no | '0' | Specifies the ATM adapter number starting with 0. Most systems only have one ATM device and do not need this option 
-| 'encaps' | string | no | 'llc' | PPPoA encapsulation mode: 'llc' (LLC) or 'vc' (VC) 
-| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication 
-| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script 
-| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script 
-| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect 
-| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity 
-| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect 
-| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s) 
-| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s) 
-| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link 
-| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon 
+| Name | Type | Required | Default | Description
+| 'vci' | number | no | '35' | PPPoA VCI
+| 'vpi' | number | no | '8' | PPPoA VPI
+| 'atmdev' | number | no | '0' | Specifies the ATM adapter number starting with 0. Most systems only have one ATM device and do not need this option
+| 'encaps' | string | no | 'llc' | PPPoA encapsulation mode: 'llc' (LLC) or 'vc' (VC)
+| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication
+| 'connect' | file path | no | _(none)_ | Path to custom PPP connect script
+| 'disconnect' | file path | no | _(none)_ | Path to custom PPP disconnect script
+| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect
+| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity
+| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect
+| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s)
+| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s)
+| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link
+| 'pppd_options' | string | no | _(none)_ | Additional command line arguments to pass to the pppd daemon
 |====
 
 
 === Protocol "3g" (PPP over EV-DO, CDMA, UMTS or GPRS) ===
 
-CAUTION: The package 'comgt' must be installed to use 3G. Check [[doc:recipes:3gdongle]] for further help with that.
+*CAUTION*: The package 'comgt' must be installed to use 3G.
 
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'device' | file path | yes | _(none)_ | Modem device node 
-| 'service' | string | yes | 'umts' | 3G service type: 'cdma'/'evdo', 'umts'/'umts_only'/'gprs_only' (...._only options limited to Novatel & Option cards and dongles) 
-| 'apn' | string | yes | _(none)_ | Used APN 
-| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card 
-| 'dialnumber' | string | no | %%*99***1#%% | Modem dial string e.g. *99# 
-| 'maxwait' | number | no | '20' | Number of seconds to wait for modem to become ready 
-| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication 
-| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect 
-| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity 
-| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect 
-| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s) 
-| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s) 
-| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link 
+| Name | Type | Required | Default | Description
+| 'device' | file path | yes | _(none)_ | Modem device node
+| 'service' | string | yes | 'umts' | 3G service type: 'cdma'/'evdo', 'umts'/'umts_only'/'gprs_only' (...._only options limited to Novatel & Option cards and dongles)
+| 'apn' | string | yes | _(none)_ | Used APN
+| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card
+| 'dialnumber' | string | no | %%*99***1#%% | Modem dial string e.g. *99#
+| 'maxwait' | number | no | '20' | Number of seconds to wait for modem to become ready
+| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication
+| 'keepalive' | number | no | _(none)_ | Number of connection failures before reconnect
+| 'demand' | number | no | _(none)_ | Number of seconds to wait before closing the connection due to inactivity
+| 'defaultroute' | boolean | no | '1' | Replace existing default route on PPP connect
+| 'peerdns' | boolean | no | '1' | Use peer-assigned DNS server(s)
+| 'dns' | list of ip addresses | no | _(none)_ | Override peer-assigned DNS server(s)
+| 'ipv6' | boolean | no | '0' | Enable IPv6 on the PPP link
 |====
 
 
 === Protocol "qmi" (USB modems using QMI protocol) ===
 
-CAUTION: The package 'uqmi' must be installed to use QMI.
+*CAUTION*: The package 'uqmi' must be installed to use QMI.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'device' | file path | yes | _(none)_ | QMI device node, typically /dev/cdc-wdm0 
-| 'apn' | string | yes | _(none)_ | Used APN 
-| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card 
-| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication 
+| Name | Type | Required | Default | Description
+| 'device' | file path | yes | _(none)_ | QMI device node, typically /dev/cdc-wdm0
+| 'apn' | string | yes | _(none)_ | Used APN
+| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card
+| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication
 | 'auth' | string | no | _(none)_ | Authentication type: pap, chap, both, none
-| 'modes' | string | no | _(modem default)_ | Allowed network modes, comma separated list of: all, lte, umts, gsm, cdma, td-scdma 
+| 'modes' | string | no | _(modem default)_ | Allowed network modes, comma separated list of: all, lte, umts, gsm, cdma, td-scdma
 | 'delay' | number | no | 0 | Seconds to wait before trying to interact with the modem (some ZTE modems require up to 30 s.)
 |====
 
 === Protocol "ncm" (USB modems using NCM protocol) ===
 
-CAUTION: The package 'comgt-ncm' + modem specific driver must be installed to use NCM.
+*CAUTION*: The package 'comgt-ncm' + modem specific driver must be installed to use NCM.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'device' | file path | yes | _(none)_ | NCM device node, typically /dev/cdc-wdm0 or /dev/ttyUSB# 
-| 'apn' | string | yes | _(none)_ | Used APN 
-| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card 
-| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication 
+| Name | Type | Required | Default | Description
+| 'device' | file path | yes | _(none)_ | NCM device node, typically /dev/cdc-wdm0 or /dev/ttyUSB#
+| 'apn' | string | yes | _(none)_ | Used APN
+| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card
+| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication
 | 'auth' | string | no | _(none)_ | Authentication type: pap, chap, both, none
-| 'mode' | string | no | _(modem default)_ | Used network mode, not every device support every mode: preferlte, preferumts, lte, umts, gsm, auto 
+| 'mode' | string | no | _(modem default)_ | Used network mode, not every device support every mode: preferlte, preferumts, lte, umts, gsm, auto
 | 'pdptype' | string | no | 'IPV4V6' | Used IP-stack mode, 'IP' (for IPv4), 'IPV6' (for IPv6) or 'IPV4V6' (for dual-stack) (Designated Driver #46844 and later)
 | 'delay' | number | no | 0 | Seconds to wait before trying to interact with the modem (some modems require up to 30 s.)
 |====
 
-=== Protocol "wwan" (USB modems autodetecting above protocols) ===
+=== Protocol "wwan" (USB modems autodetecting the above 3G/4G protocols) ===
 
-CAUTION: The package 'wwan' must be installed to use this feature. The "wwan" protocol detects the right protocol (3G/QMI/NCM/MBIM) for the USB Modem model and passes the configuration to the protocol.
+*CAUTION*: The package 'wwan' must be installed to use this feature. The "wwan" protocol detects the right protocol (3G/QMI/NCM/MBIM) for the USB Modem model and passes the configuration to the protocol.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'apn' | string | yes | _(none)_ | Used APN 
+| Name | Type | Required | Default | Description
+| 'apn' | string | yes | _(none)_ | Used APN
 | 'auth' | string | no | _(none)_ | Authentication type: pap, chap, both, none
-| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication 
-| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card 
-| 'modes' | string | no | _(modem default)_ | Allowed network modes, comma separated list of: all, lte, umts, gsm, cdma, td-scdma 
+| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no | _(none)_ | Password for PAP/CHAP authentication
+| 'pincode' | number | no | _(none)_ | PIN code to unlock SIM card
+| 'modes' | string | no | _(modem default)_ | Allowed network modes, comma separated list of: all, lte, umts, gsm, cdma, td-scdma
 | 'delay' | number | no | 0 | Seconds to wait before trying to interact with the modem (some ZTE modems require up to 30 s.)
 |====
 
 === Protocol "hnet" (Self-managing home network (HNCP)) ===
 
-CAUTION: The package 'hnet-full' must be installed to use hnet.
-CAUTION: See http:_tools.ietf.org/html/draft-ietf-homenet-hncp for details.
+*CAUTION*: The package 'hnet-full' must be installed to use hnet.
+*CAUTION*: See link:http://tools.ietf.org/html/draft-ietf-homenet-hncp[here] for details.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'mode' | string | no | auto | Interface mode. One of external, guest, adhoc or hybrid. 
-| 'ip6assign' | integer | no | 64 | IPv6-prefix size to assign to this interface if internal. 
-| 'ip4assign' | integer | no | 24 | IPv4-prefix size to assign to this interface if internal. 
-| 'dnsname' | string | no | <device-name> | DNS-Label to assign to interface. 
+| Name | Type | Required | Default | Description
+| 'mode' | string | no | auto | Interface mode. One of external, guest, adhoc or hybrid.
+| 'ip6assign' | integer | no | 64 | IPv6-prefix size to assign to this interface if internal.
+| 'ip4assign' | integer | no | 24 | IPv4-prefix size to assign to this interface if internal.
+| 'dnsname' | string | no | <device-name> | DNS-Label to assign to interface.
 |====
 
 === Protocol "pptp" (Point-to-Point Tunneling Protocol) ===
 
-CAUTION: The package 'pptp' must be installed to use PPtP. There is a separate Howto for this: [[doc:howto:vpn.client.pptp]]. You need to have another section to configure the "parent" device, and you might need to add "<vpn>" to your "wan" zone in the firewall (<vpn> being the "logical interface name" of this section).
+*CAUTION*: The package 'pptp' must be installed to use PPtP. You need to have another section to configure the "parent" device, and you might need to add "<vpn>" to your "wan" zone in the firewall (<vpn> being the "logical interface name" of this section).
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'server' | ip address | yes | _(none)_ | Remote PPtP server 
-| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication 
-| 'buffering' | boolean | no | '1' | [line-through]*Enables buffering and reordering of packets, '0' disables it ('--nobuffer')* pptp buffering option removed in r32482 
-| 'keepalive' | integer | no | ? | Number of attempts to reconnect 
-| 'defaultroute' | boolean | no | '1' | Whether to create a default route over the tunnel  
-| 'peerdns' | boolean | no | '1' |Use PPTP-provided DNS server(s) 
-| 'delegate' | boolean | no | ?  |Use builtin IPv6-management 
-| 'iface' | string | no(?) | 'pptp-<vpn>' | Name of the physical interface. Defaults to 'pptp-<vpn>' no matter what you use 
+| Name | Type | Required | Default | Description
+| 'server' | ip address | yes | _(none)_ | Remote PPtP server
+| 'username' | string | no(?) | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | no(?) | _(none)_ | Password for PAP/CHAP authentication
+| 'keepalive' | integer | no | ? | Number of attempts to reconnect
+| 'defaultroute' | boolean | no | '1' | Whether to create a default route over the tunnel
+| 'peerdns' | boolean | no | '1' |Use PPTP-provided DNS server(s)
+| 'delegate' | boolean | no | ?  |Use builtin IPv6-management
+| 'iface' | string | no(?) | 'pptp-<vpn>' | Name of the physical interface. Defaults to 'pptp-<vpn>' no matter what you use
 |====
 
 === Protocol "6in4" (IPv6-in-IPv4 Tunnel) ===
 
-CAUTION: The package '6in4' must be installed to use this protocol.
+*CAUTION*: The package '6in4' must be installed to use this protocol.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address 
-| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote IPv4 endpoint address 
-| 'ip6addr' | IPv6 address (CIDR) | yes | _(none)_ | Local IPv6 address delegated to the tunnel endpoint 
-| 'ip6prefix' | IPv6 prefix | no | _(none)_ | Routed IPv6 prefix for downstream interfaces (Barrier Breaker and later only) 
-| 'sourcerouting' | boolean | no | '1' | Whether to route only packets from delegated prefixes (Barrier Breaker and later only) 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel 
-| 'ttl' | integer | no | '64' | TTL used for the tunnel interface 
-| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value. Also known as DSCP. (Chaos Calmer and later only) 
-| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface 
-| 'tunnelid' | integer | no | _(none)_ | HE.net global tunnel ID (used for endpoint update) 
-| 'username' | string | no | _(none)_ | HE.net username which you use to login into tunnelbroker, not the User ID shows after you have login int  (used for endpoint update) 
-| 'password' | string | no | _(none)_ | [line-through]*md5sum of* HE.net password (used for endpoint update) 
-| 'updatekey' | string | no | _(none)_ | HE.net updatekey, overrides password (used for endpoint update) 
-| 'metric' | integer | no | '0' | Specifies the default route metric to use 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address
+| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote IPv4 endpoint address
+| 'ip6addr' | IPv6 address (CIDR) | yes | _(none)_ | Local IPv6 address delegated to the tunnel endpoint
+| 'ip6prefix' | IPv6 prefix | no | _(none)_ | Routed IPv6 prefix for downstream interfaces
+| 'sourcerouting' | boolean | no | '1' | Whether to route only packets from delegated prefixes
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel
+| 'ttl' | integer | no | '64' | TTL used for the tunnel interface
+| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value. Also known as DSCP.
+| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface
+| 'tunnelid' | integer | no | _(none)_ | HE.net global tunnel ID (used for endpoint update)
+| 'username' | string | no | _(none)_ | HE.net username which you use to login into tunnelbroker, not the User ID shows after you have login int  (used for endpoint update)
+| 'password' | string | no | _(none)_ | HE.net password (used for endpoint update)
+| 'updatekey' | string | no | _(none)_ | HE.net updatekey, overrides password (used for endpoint update)
+| 'metric' | integer | no | '0' | Specifies the default route metric to use
 |====
 
 **Note:** This protocol type does not need an 'ifname' option set in the interface section. The interface name is derived from the section name, e.g. 'config interface sixbone' would result in an interface named '6in4-sixbone'.
 
-**Note:** HE.net has introduced updatekey as default for new tunnels in February 2014. Support added to Openwrt trunk by r39646.
-
-**Note:** as of r41358 **username**, **password** and **updatekey** are all plaintext entries.
-
 **Note:** although ip6prefix isn't required, sourcerouting, enabled by default, will prevent forwarding of packets unless ip6prefix is specified.
 
 === Protocol "aiccu" (Automatic IPv6 Connectivity Client Utility) ===
 
-CAUTION: The package 'aiccu' must be installed to use this protocol. This utility is not meant to be operated in a headless mode. Do not use it if you have some other option. Only AYIYA tunnel type has been tested. For static or heartbeat tunnels, use native 6in4 tunnel instead, perhaps with the he.net Tunnel Broker.
-
-CAUTION: This protocol is available for Barrier Breaker and newer versions only.
+*CAUTION*: The package 'aiccu' must be installed to use this protocol. This utility is not meant to be operated in a headless mode. Do not use it if you have some other option. Only AYIYA tunnel type has been tested. For static or heartbeat tunnels, use native 6in4 tunnel instead, perhaps with the he.net Tunnel Broker.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'username' | string | yes | _(none)_ | Server username 
-| 'password' | string | yes | _(none)_ | Server password 
-| 'protocol' | string | no | _(none)_ | Tunnel setup protocol to use ('tic', 'tsp', 'l2tp')  
-| 'server' | string | no | 'tic.sixxs.net' | Tunnel setup server to use 
-| 'ip6addr' | IPv6 address (CIDR) | no | _(none)_ | Local IPv6 address delegated to the tunnel endpoint (not necessary) 
-| 'ntpsynctimeout' | integer | no | '90' | Wait for NTP sync that many seconds 
-| 'tunnelid' | integer | no | _(none)_ | TIC server tunnel ID 
-| 'ip6prefix' | IPv6 prefix | no | _(none)_ | Routed IPv6 prefix for downstream interfaces 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel 
-| 'sourcerouting' | boolean | no | '1' | Whether to route only packets from delegated prefixes 
-| 'tunnelid' | integer | no | _(none)_ | TIC server tunnel ID 
+| Name | Type | Required | Default | Description
+| 'username' | string | yes | _(none)_ | Server username
+| 'password' | string | yes | _(none)_ | Server password
+| 'protocol' | string | no | _(none)_ | Tunnel setup protocol to use ('tic', 'tsp', 'l2tp')
+| 'server' | string | no | 'tic.sixxs.net' | Tunnel setup server to use
+| 'ip6addr' | IPv6 address (CIDR) | no | _(none)_ | Local IPv6 address delegated to the tunnel endpoint (not necessary)
+| 'ntpsynctimeout' | integer | no | '90' | Wait for NTP sync that many seconds
+| 'tunnelid' | integer | no | _(none)_ | TIC server tunnel ID
+| 'ip6prefix' | IPv6 prefix | no | _(none)_ | Routed IPv6 prefix for downstream interfaces
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel
+| 'sourcerouting' | boolean | no | '1' | Whether to route only packets from delegated prefixes
+| 'tunnelid' | integer | no | _(none)_ | TIC server tunnel ID
 | 'requiretls' | boolean | no | '0' | Require TLS connection to TIC server
 | 'nat' | boolean | no | '1' | Notify the user that a NAT-kind network is detected
-| 'heartbeat' | boolean | no | '1' | Make heartbeats 
+| 'heartbeat' | boolean | no | '1' | Make heartbeats
 | 'verbose' | boolean | no | '0' | Verbose logging to system log
 |====
 
@@ -498,45 +440,45 @@ CAUTION: This protocol is available for Barrier Breaker and newer versions only.
 
 === Protocol "6to4" (IPv6-in-IPv4 Tunnel) ===
 
-CAUTION: The package '6to4' must be installed to use this protocol.
+*CAUTION*: The package '6to4' must be installed to use this protocol.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel 
-| 'ttl' | integer | no | '64' | TTL used for the tunnel interface 
-| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value (Chaos Calmer and later only) 
-| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface 
-| 'metric' | integer | no | '0' | Specifies the default route metric to use 
-| 'adv_interface' | string | no | 'lan' | (deprecated) The _logical interface name_ of the network the subnet should be advertised on. Multiple interface names can be given. 
-| 'adv_subnet' | hex number | no | '1' | (deprecated) A subnet ID between '1' and 'FFFF' which selects the advertised /64 prefix from the mapped 6to4 space. The subnet ID is incremented by 1 for every interface specified in 'adv_interface'.  
-| 'adv_valid_lifetime' | integer | no | '300' | (deprecated) Overrides the advertised valid prefix lifetime, in seconds 
-| 'adv_preferred_lifetime' | integer | no | '120' | (deprecated) Overrides the advertised preferred prefix lifetime, in seconds (see also [[doc:uci:radvd#prefix|radvd prefix options]]) 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel
+| 'ttl' | integer | no | '64' | TTL used for the tunnel interface
+| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value
+| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface
+| 'metric' | integer | no | '0' | Specifies the default route metric to use
+| 'adv_interface' | string | no | 'lan' | (deprecated) The _logical interface name_ of the network the subnet should be advertised on. Multiple interface names can be given.
+| 'adv_subnet' | hex number | no | '1' | (deprecated) A subnet ID between '1' and 'FFFF' which selects the advertised /64 prefix from the mapped 6to4 space. The subnet ID is incremented by 1 for every interface specified in 'adv_interface'.
+| 'adv_valid_lifetime' | integer | no | '300' | (deprecated) Overrides the advertised valid prefix lifetime, in seconds
+| 'adv_preferred_lifetime' | integer | no | '120' | (deprecated) Overrides the advertised preferred prefix lifetime, in seconds
 |====
 
 **Note:** This protocol type does not need an 'ifname' option set in the interface section. The interface name is derived from the section name, e.g. 'config interface wan6' would result in an interface named '6to4-wan6'
 
-**Note:** If [[doc:uci:radvd|radvd]] is installed and enabled, the 6to4 scripts will add a temporary prefix and interface declaration to the _radvd_ uci configuration and perform a daemon restart if required. (deprecated)
+**Note:** If radvd is installed and enabled, the 6to4 scripts will add a temporary prefix and interface declaration to the _radvd_ uci configuration and perform a daemon restart if required. (deprecated)
 
 === Protocol "6rd" (IPv6 rapid deployment) ===
 
-CAUTION: The package '6rd' must be installed to use this protocol.
+*CAUTION*: The package '6rd' must be installed to use this protocol.
 
-CAUTION: The needed tunnel values are usually obtained via the DHCPv4 request for the WAN interface. Try that [[doc/uci/network6#rd_tunnel_isp-provided_ipv6_transition|first]]. Below is only needed for hardcoding the tunnel.
+*CAUTION*: The needed tunnel values are usually obtained via the DHCPv4 request for the WAN interface. Try that first. Below is only needed for hardcoding the tunnel.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'peeraddr' | IPv4 address | yes | no | 6rd - Gateway  
-| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address 
-| 'ip6prefix' | IPv6 prefix (without length) | yes | no | 6rd-IPv6 Prefix 
-| 'ip6prefixlen' | IPv6 prefix length | yes | no | 6rd-IPv6 Prefix length 
-| 'ip4prefixlen' | IPv6 prefix length | no | 0 | IPv4 common prefix 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel 
-| 'ttl' | integer | no | '64' | TTL used for the tunnel interface 
-| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value (Chaos Calmer and later only) 
-| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface 
+| Name | Type | Required | Default | Description
+| 'peeraddr' | IPv4 address | yes | no | 6rd - Gateway
+| 'ipaddr' | IPv4 address | no | Current WAN IPv4 address | Local IPv4 endpoint address
+| 'ip6prefix' | IPv6 prefix (without length) | yes | no | 6rd-IPv6 Prefix
+| 'ip6prefixlen' | IPv6 prefix length | yes | no | 6rd-IPv6 Prefix length
+| 'ip4prefixlen' | IPv6 prefix length | no | 0 | IPv4 common prefix
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel
+| 'ttl' | integer | no | '64' | TTL used for the tunnel interface
+| 'tos' | string | no | _(none)_ | Type Of Service : either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value
+| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface
 |====
 
 **Note:** This protocol type does not need an 'ifname' option set in the interface section. The interface name is derived from the section name, e.g. 'config interface wan6' would result in an interface named '6rd-wan6'.
@@ -546,85 +488,84 @@ CAUTION: The needed tunnel values are usually obtained via the DHCPv4 request fo
 
 === Protocol "dslite" (Dual-Stack Lite) ===
 
-CAUTION: The package 'ds-lite' must be installed to use this protocol.
+*CAUTION*: The package 'ds-lite' must be installed to use this protocol.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'peeraddr' | IPv6 address | yes | no | DS-Lite AFTR address  
-| 'ip6addr' | IPv6 address | no | Current WAN IPv6 address | Local IPv6 endpoint address 
-| 'tunlink' | Logical Interface | no | Current WAN interface | Tunnel base interface 
-| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel 
-| 'ttl' | integer | no | '64' | TTL used for the tunnel interface 
-| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface 
+| Name | Type | Required | Default | Description
+| 'peeraddr' | IPv6 address | yes | no | DS-Lite AFTR address
+| 'ip6addr' | IPv6 address | no | Current WAN IPv6 address | Local IPv6 endpoint address
+| 'tunlink' | Logical Interface | no | Current WAN interface | Tunnel base interface
+| 'defaultroute' | boolean | no | '1' | Whether to create an IPv6 default route over the tunnel
+| 'ttl' | integer | no | '64' | TTL used for the tunnel interface
+| 'mtu' | integer | no | '1280' | MTU used for the tunnel interface
 |====
 
-CAUTION: ds-lite operation requires that IPv4 NAT is disabled. You should adjust your settings in /etc/config/firewall accordingly.
+*CAUTION*: ds-lite operation requires that IPv4 NAT is disabled. You should adjust your settings in /etc/config/firewall accordingly.
 
 **Note:** This protocol type does not need an 'ifname' option set in the interface section. The interface name is derived from the section name, e.g. 'config interface wan' would result in an interface named 'dslite-wan'.
 
 
 === Protocol "l2tp" (PPP over L2TP Pseudowire Tunnel) ===
 
-CAUTION: The package 'xl2tpd' must be installed to use this protocol.
+*CAUTION*: The package 'xl2tpd' must be installed to use this protocol.
 
 Most options are similar to protocol "ppp".
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'server' | string | yes | _(none)_ | L2TP server to connect to.  Acceptable datatypes are hostname or IP address, with optional port separated by colon ':'.  Note that specifying port is only supported recently and should appear in DD release 
-| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication 
-| 'password' | string | yes if 'username' is provided | _(none)_ | Password for PAP/CHAP authentication 
-| 'ipv6' | bool | no | 0 | Enable IPv6 on the PPP link (IPv6CP) 
-| 'mtu' | int | no | 'pppd' default | Maximum Transmit/Receive Unit, in bytes 
-| 'keepalive' | string | no | _(none)_ | Number of unanswered echo requests before considering the peer dead. The interval between echo requests is 5 seconds. 
-| 'checkup_interval' | int | no | _(none)_ | Number of seconds to pass before checking if the interface is not up since the last setup attempt and retry the connection otherwise.  Set it to a value sufficient for a successful L2TP connection for you.  It's mainly for the case that netifd sent the connect request yet xl2tpd failed to complete it without the notice of netifd 
-| 'pppd_options' | string | no | _(none)_ | Additional options to pass to 'pppd' 
+| Name | Type | Required | Default | Description
+| 'server' | string | yes | _(none)_ | L2TP server to connect to.  Acceptable datatypes are hostname or IP address, with optional port separated by colon ':'.  Note that specifying port is only supported recently and should appear in DD release
+| 'username' | string | no | _(none)_ | Username for PAP/CHAP authentication
+| 'password' | string | yes if 'username' is provided | _(none)_ | Password for PAP/CHAP authentication
+| 'ipv6' | bool | no | 0 | Enable IPv6 on the PPP link (IPv6CP)
+| 'mtu' | int | no | 'pppd' default | Maximum Transmit/Receive Unit, in bytes
+| 'keepalive' | string | no | _(none)_ | Number of unanswered echo requests before considering the peer dead. The interval between echo requests is 5 seconds.
+| 'checkup_interval' | int | no | _(none)_ | Number of seconds to pass before checking if the interface is not up since the last setup attempt and retry the connection otherwise.  Set it to a value sufficient for a successful L2TP connection for you.  It's mainly for the case that netifd sent the connect request yet xl2tpd failed to complete it without the notice of netifd
+| 'pppd_options' | string | no | _(none)_ | Additional options to pass to 'pppd'
 |====
 
 The name of the physical interface will be "l2tp-<logical interface name>".
 
 === Protocol "relay" (Relayd Pseudo Bridge) ===
 
-CAUTION: The package 'relayd' must be installed to use this protocol.
+*CAUTION*: The package 'relayd' must be installed to use this protocol.
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'network' | list of _logical interface names_ | yes | _(none)_ | Specifies the networks between which traffic is relayed 
-| 'gateway' | IPv4 address | no | _(network default)_ | Override the gateway address sent to clients within DHCP responses 
-| 'expiry' | integer | no | '30' | Host expiry timeout in seconds 
-| 'retry' | integer | no | '5' | Number of ARP ping retries before a host is considered dead 
-| 'table' | integer | no | '16800' | Table ID for automatically added routes 
-| 'forward_bcast' | boolean | no | '1' | Enables forwarding of broadcast traffic, '0' disables it 
-| 'forward_dhcp' | boolean | no | '1' | Enables forwarding of DHCP requests and responses, '0' disables it 
+| Name | Type | Required | Default | Description
+| 'network' | list of _logical interface names_ | yes | _(none)_ | Specifies the networks between which traffic is relayed
+| 'gateway' | IPv4 address | no | _(network default)_ | Override the gateway address sent to clients within DHCP responses
+| 'expiry' | integer | no | '30' | Host expiry timeout in seconds
+| 'retry' | integer | no | '5' | Number of ARP ping retries before a host is considered dead
+| 'table' | integer | no | '16800' | Table ID for automatically added routes
+| 'forward_bcast' | boolean | no | '1' | Enables forwarding of broadcast traffic, '0' disables it
+| 'forward_dhcp' | boolean | no | '1' | Enables forwarding of DHCP requests and responses, '0' disables it
 |====
 
 
 === Common options for GRE protocols ===
 
-CAUTION: The package 'gre' must be installed to use GRE. Additionally, you need 'kmod-gre' and/or 'kmod-gre6'.
+*CAUTION*: The package 'gre' must be installed to use GRE. Additionally, you need 'kmod-gre' and/or 'kmod-gre6'.
 
-GRE support has been introduced in Barrier Breaker.  Four protocols are defined: "gre", "gretap", "grev6", and "grev6tap".
-The name of the GRE interface will be 'gre-<logical interface name>' for "gre" and "gretap", and 'grev6-<logical interface name>' for "grev6" and "grev6tap".
+Four protocols are defined: "gre", "gretap", "grev6", and "grev6tap". The name of the GRE interface will be 'gre-<logical interface name>' for "gre" and "gretap", and 'grev6-<logical interface name>' for "grev6" and "grev6tap".
 
 All four protocols accept the following common options:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'mtu' | integer | no | 1280 | MTU 
-| 'ttl' | integer | no | 64 | TTL of the encapsulating packets 
-| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel") 
-| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added 
-| 'tos' | string | no | _(none)_ | Type of Service (IPv4), Traffic Class (IPv6): either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value (Chaos Calmer and later only) | 
-| 'ikey' | integer | no | 0 | key for incoming packets 
-| 'okey' | integer | no | 0 | key for outgoing packets 
-| 'icsum' | boolean | no | false | require incoming checksum 
-| 'ocsum' | boolean | no | false | compute outgoing checksum 
-| 'iseqno' | boolean | no | false | require incoming packets serialisation 
-| 'oseqno' | boolean | no | false | perform outgoing packets serialisation 
+| Name | Type | Required | Default | Description
+| 'mtu' | integer | no | 1280 | MTU
+| 'ttl' | integer | no | 64 | TTL of the encapsulating packets
+| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel")
+| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added
+| 'tos' | string | no | _(none)_ | Type of Service (IPv4), Traffic Class (IPv6): either "inherit" (the outer header inherits the value of the inner header) or an hexadecimal value
+| 'ikey' | integer | no | 0 | key for incoming packets
+| 'okey' | integer | no | 0 | key for outgoing packets
+| 'icsum' | boolean | no | false | require incoming checksum
+| 'ocsum' | boolean | no | false | compute outgoing checksum
+| 'iseqno' | boolean | no | false | require incoming packets serialisation
+| 'oseqno' | boolean | no | false | perform outgoing packets serialisation
 |====
 
 === Protocol "gre" (GRE tunnel over IPv4) ===
@@ -633,10 +574,10 @@ The following options are supported, in addition to all common options above:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint 
-| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint 
-| 'df' | boolean | no | true | Set "Don't Fragment" flag on encapsulating packets 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint
+| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint
+| 'df' | boolean | no | true | Set "Don't Fragment" flag on encapsulating packets
 |====
 
 === Protocol "gretap" (Ethernet GRE tunnel over IPv4) ===
@@ -645,11 +586,11 @@ The following options are supported, in addition to all common options above:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint 
-| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint 
-| 'df' | boolean | no | true | Set "Don't Fragment" flag on encapsulating packets 
-| 'network' | logical interface name | no | _(none)_ | Logical network to which the tunnel will be added (bridged) 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint
+| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint
+| 'df' | boolean | no | true | Set "Don't Fragment" flag on encapsulating packets
+| 'network' | logical interface name | no | _(none)_ | Logical network to which the tunnel will be added (bridged)
 |====
 
 === Protocol "grev6" (GRE tunnel over IPv6) ===
@@ -658,10 +599,10 @@ The following options are supported, in addition to all common options above:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint 
-| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint 
-| 'weakif' | logical interface name | no | 'lan' | Logical network from which to select the local endpoint if ip6addr parameter is empty and no WAN IP is available 
+| Name | Type | Required | Default | Description
+| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint
+| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint
+| 'weakif' | logical interface name | no | 'lan' | Logical network from which to select the local endpoint if ip6addr parameter is empty and no WAN IP is available
 |====
 
 === Protocol "grev6tap" (Ethernet GRE tunnel over IPv6) ===
@@ -670,11 +611,11 @@ The following options are supported, in addition to all common options above:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint 
-| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint 
-| 'weakif' | logical interface name | no | 'lan' | Logical network from which to select the local endpoint if ip6addr is empty and no WAN IP is available 
-| 'network' | logical interface name | no | _(none)_ | Logical network to which the tunnel will be added (bridged) 
+| Name | Type | Required | Default | Description
+| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint
+| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint
+| 'weakif' | logical interface name | no | 'lan' | Logical network from which to select the local endpoint if ip6addr is empty and no WAN IP is available
+| 'network' | logical interface name | no | _(none)_ | Logical network to which the tunnel will be added (bridged)
 |====
 
 
@@ -685,14 +626,14 @@ VTI Tunnels are IPsec policies with a fwmark set. The traffic is redirected to t
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint 
-| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint 
-| 'mtu' | integer | no | 1280 | MTU 
-| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel") 
-| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added 
-| 'ikey' | integer | no | 0 | key/fwmark for incoming packets 
-| 'okey' | integer | no | 0 | key/fwmark for outgoing packets 
+| Name | Type | Required | Default | Description
+| 'ipaddr' | IPv4 address | no | WAN IP | Local endpoint
+| 'peeraddr' | IPv4 address | yes | _(none)_ | Remote endpoint
+| 'mtu' | integer | no | 1280 | MTU
+| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel")
+| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added
+| 'ikey' | integer | no | 0 | key/fwmark for incoming packets
+| 'okey' | integer | no | 0 | key/fwmark for outgoing packets
 |====
 
 === Protocol "vtiv6" (VTI tunnel over IPv6) ===
@@ -701,14 +642,14 @@ The following options are supported, in addition to all common options above:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint 
-| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint 
-| 'mtu' | integer | no | 1280 | MTU 
-| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel") 
-| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added 
-| 'ikey' | integer | no | 0 | key/fwmark for incoming packets 
-| 'okey' | integer | no | 0 | key/fwmark for outgoing packets 
+| Name | Type | Required | Default | Description
+| 'ip6addr' | IPv6 address | no | WAN IP | Local endpoint
+| 'peer6addr' | IPv6 address | yes | _(none)_ | Remote endpoint
+| 'mtu' | integer | no | 1280 | MTU
+| 'tunlink' | logical interface name | no | _(none)_ | Bind the tunnel to this interface ('dev' option of "ip tunnel")
+| 'zone' | zone name | no | "wan" | Firewall zone to which the interface will be added
+| 'ikey' | integer | no | 0 | key/fwmark for incoming packets
+| 'okey' | integer | no | 0 | key/fwmark for outgoing packets
 |====
 
 === Devices
@@ -727,18 +668,18 @@ The following options are supported:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'type' | VLAN Type | no | 802.1q | VLAN type, possible values: 8021q or 8021ad 
-| 'name' | Name | yes | _(none)_ | Name of device, i.e. eth0.5 or vlan5 
-| 'ifname' | Parent interface | yes | _(none)_ | Name of parent/base interface, i.e. eth0 
-| 'vid' | VLAN Id | yes | _(none)_ | VLAN Id 
-| 'macaddr' | MAC | no | _(none)_ | MAC of new interface 
+| Name | Type | Required | Default | Description
+| 'type' | VLAN Type | no | 802.1q | VLAN type, possible values: 8021q or 8021ad
+| 'name' | Name | yes | _(none)_ | Name of device, i.e. eth0.5 or vlan5
+| 'ifname' | Parent interface | yes | _(none)_ | Name of parent/base interface, i.e. eth0
+| 'vid' | VLAN Id | yes | _(none)_ | VLAN Id
+| 'macaddr' | MAC | no | _(none)_ | MAC of new interface
 |====
 
 MAC address option is send upstream but not merged at time of writng.
 === ATM Bridges (Ethernet over ATM AAL5)
 
-CAUTION: The package 'br2684ctl' must be installed to use Ethernet over AAL5.
+*CAUTION*: The package 'br2684ctl' must be installed to use Ethernet over AAL5.
 
 ATM bridges use a special config section called 'atm-bridge'.
 Each 'atm-bridge' section maps the specified ATM curcuit an 'atm#' pseudo ethernet device which can
@@ -759,18 +700,18 @@ The 'atm-bridge' section allows the following options:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'unit' | number | yes | '0' | Specifies the br2684 interface number. If ommitted, '0' is assumed which would result in a 'nas0' pseudo interface. 
-| 'vci' | number | no | '35' | PPPoA VCI 
-| 'vpi' | number | no | '8' | PPPoA VPI 
-| 'atmdev' | number | no | '0' | Specifies the ATM adapter number starting with 0. Most systems only have one ATM device and do not need this option 
-| 'encaps' | string | no | 'llc' | PPPoA encapsulation mode: 'llc' (LLC) or 'vc' (VC) 
-| 'payload' | string | no | 'bridged' | PPPoA forwarding mode: 'routed' or 'bridged' 
+| Name | Type | Required | Default | Description
+| 'unit' | number | yes | '0' | Specifies the br2684 interface number. If ommitted, '0' is assumed which would result in a 'nas0' pseudo interface.
+| 'vci' | number | no | '35' | PPPoA VCI
+| 'vpi' | number | no | '8' | PPPoA VPI
+| 'atmdev' | number | no | '0' | Specifies the ATM adapter number starting with 0. Most systems only have one ATM device and do not need this option
+| 'encaps' | string | no | 'llc' | PPPoA encapsulation mode: 'llc' (LLC) or 'vc' (VC)
+| 'payload' | string | no | 'bridged' | PPPoA forwarding mode: 'routed' or 'bridged'
 |====
 
 === DSL / VDSL
 
-CAUTION: This currently only works on devices based on [[doc/hardware/soc/soc.lantiq|lantiq SoCs]].
+*CAUTION*: This currently only works on devices based on lantiq SoCs.
 
 (V)DSL uses a special config section called 'dsl', which typically looks like this:
 ----
@@ -785,11 +726,11 @@ The 'dsl' section allows the following options:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
+| Name | Type | Required | Default | Description
 | 'annex' | string | yes | 'b' | Specifies the Annex setting (ISP/line dependent). Supported values on lantiq AMAZON and DANUBE devices: b, bdmt, b2, b2p, a, at1, alite, admt, a2, a2p, l, m, m2, m2p. Supported values on lantiq ARX100 "AR9" and VRX200 "VR9" devices: a, b, j
-| 'firmware' | string | yes | '/lib/firmware/vdsl.bin' | The path to the modem's firmware image CAUTION: **Only supported by devices with lantiq SoC. See the xDSL firmware section below for more information ** 
-| 'tone' | string | yes | 'bv' | The tone mode (ISP/line dependent). Supported values: a = A43, av = A43 + V43, b = B43, bv = B43 + V43 CAUTION: **Only supported by devices with ARX100 "AR9" and VRX200 "VR9" lantiq SoC. This configuration was removed in "Designated Driver" as the driver now auto-detects the correct value** 
-| 'xfer_mode' | string | yes | 'atm' | The transfer mode. Supported values are: atm = Asynchronous Transfer Mode (often used for ADSL connections), ptm = Packet Transfer Mode (often used for VDSL connections) CAUTION: **Only supported by devices with ARX100 "AR9" and VRX200 "VR9" lantiq SoC.** 
+| 'firmware' | string | yes | '/lib/firmware/vdsl.bin' | The path to the modem's firmware image *CAUTION*: **Only supported by devices with lantiq SoC. See the xDSL firmware section below for more information **
+| 'tone' | string | yes | 'bv' | The tone mode (ISP/line dependent). Supported values: a = A43, av = A43 + V43, b = B43, bv = B43 + V43 *CAUTION*: **Only supported by devices with ARX100 "AR9" and VRX200 "VR9" lantiq SoC. This configuration was removed in "Designated Driver" as the driver now auto-detects the correct value**
+| 'xfer_mode' | string | yes | 'atm' | The transfer mode. Supported values are: atm = Asynchronous Transfer Mode (often used for ADSL connections), ptm = Packet Transfer Mode (often used for VDSL connections) *CAUTION*: **Only supported by devices with ARX100 "AR9" and VRX200 "VR9" lantiq SoC.**
 |====
 
 === Lantiq xDSL firmware ===
@@ -847,9 +788,9 @@ To see a list of interfaces you can do 'ubus list network.interface.*' and to vi
 
 === Aliases: notes ===
 
-On openwrt 12.09, a lan interface that is first defined as dhcp interface 
-and then has aliases with static ip address could cause problems 
-in routing the lan traffic through the wan zone using the basic lan-wan forwarding provided by openwrt. 
+On openwrt 12.09, a lan interface that is first defined as dhcp interface
+and then has aliases with static ip address could cause problems
+in routing the lan traffic through the wan zone using the basic lan-wan forwarding provided by openwrt.
 A solution is: having the basic interface with static address and aliases with dhcp protocol.
 
 Another note is related to 'how to refer to the ifname of an interface'.
@@ -881,17 +822,17 @@ Legal options for _IPv4 routes_ are:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'interface' | string | yes | _(none)_ | Specifies the _logical interface name_ of the parent (or master) interface this route belongs to; must refer to one of the defined 'interface' sections 
-| 'target' | ip address | yes | _(none)_ | Network address 
-| 'netmask' | netmask | no | _(none)_ | Route netmask. If omitted, '255.255.255.255' is assumed which makes 'target' a _host address_ 
-| 'gateway' | ip address | no | _(none)_ | Network gateway. If omitted, the 'gateway' from the parent interface is taken; if set to '0.0.0.0' no gateway will be specified for the route 
-| 'metric' | number | no | '0' | Specifies the _route metric_ to use 
-| 'mtu' | number | no | _interface MTU_ | Defines a specific MTU for this route 
-| 'table' | routing table | no | _(none)_ | Defines the table ID to use for the route. The ID can be either a numeric table index ranging from 0 to 65535 or a symbolic alias declared in /etc/iproute2/rt_tables. The special aliases local (255), main (254) and default (253) are recognized as well 
-| 'source' | ip address | no | _(none)_ | The preferred source address when sending to destinations covered by the target 
-| 'onlink' | boolean | no | '0' | When enabled gateway is on link even if the gateway does not match any interface prefix (Barrier Breaker and later only) 
-| 'type' | string | no | 'unicast' | One of the types outlined in the Routing Types table below (Barrier Breaker and later only) 
+| Name | Type | Required | Default | Description
+| 'interface' | string | yes | _(none)_ | Specifies the _logical interface name_ of the parent (or master) interface this route belongs to; must refer to one of the defined 'interface' sections
+| 'target' | ip address | yes | _(none)_ | Network address
+| 'netmask' | netmask | no | _(none)_ | Route netmask. If omitted, '255.255.255.255' is assumed which makes 'target' a _host address_
+| 'gateway' | ip address | no | _(none)_ | Network gateway. If omitted, the 'gateway' from the parent interface is taken; if set to '0.0.0.0' no gateway will be specified for the route
+| 'metric' | number | no | '0' | Specifies the _route metric_ to use
+| 'mtu' | number | no | _interface MTU_ | Defines a specific MTU for this route
+| 'table' | routing table | no | _(none)_ | Defines the table ID to use for the route. The ID can be either a numeric table index ranging from 0 to 65535 or a symbolic alias declared in /etc/iproute2/rt_tables. The special aliases local (255), main (254) and default (253) are recognized as well
+| 'source' | ip address | no | _(none)_ | The preferred source address when sending to destinations covered by the target
+| 'onlink' | boolean | no | '0' | When enabled gateway is on link even if the gateway does not match any interface prefix
+| 'type' | string | no | 'unicast' | One of the types outlined in the Routing Types table below
 |====
 
 To disable a route quickly, the option 'enabled' is not available. Just rewrite the 'route' config section as 'disabled_route' like:
@@ -901,7 +842,7 @@ config 'disabled_route' 'name_your_route'
 ----
 and it will be recognized by the uci parser but not applied by the '/etc/init.d/network' script.
 
-CAUTION: It seems that on openwrt 12.09 if a route is defined using a gateway in an address space where a gateway is already defined, it will be not added. Like the lan has the gateway 192.168.1.1 and we want to go to 1.2.3.4 over the gateway 192.168.1.5 within the interface lan, it will not be added. Could be added through 'ip route' commands tough.
+*CAUTION*: It seems that on openwrt 12.09 if a route is defined using a gateway in an address space where a gateway is already defined, it will be not added. Like the lan has the gateway 192.168.1.1 and we want to go to 1.2.3.4 over the gateway 192.168.1.5 within the interface lan, it will not be added. Could be added through 'ip route' commands tough.
 === IPv6 Routes
 
 _IPv6 routes_ can be specified as well by defining one or more 'route6' sections.
@@ -923,38 +864,37 @@ Legal options for _IPv6 routes_ are:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'interface' | string | yes | _(none)_ | Specifies the _logical interface name_ of the parent (or master) interface this route belongs to; must refer to one of the defined 'interface' sections 
-| 'target' | ipv6 address | yes | _(none)_ | IPv6 network address 
-| 'gateway' | ipv6 address | no | _(none)_ | IPv6 gateway. If omitted, the 'gateway' from the parent interface is taken 
-| 'metric' | number | no | '0' | Specifies the _route metric_ to use 
-| 'mtu' | number | no | _interface MTU_ | Defines a specific MTU for this route 
-| 'table' | routing table | no | _(none)_ | Defines the table ID to use for the route. The ID can be either a numeric table index ranging from 0 to 65535 or a symbolic alias declared in /etc/iproute2/rt_tables. The special aliases local (255), main (254) and default (253) are recognized as well 
-| 'source' | ip address | no | _(none)_ | The preferred source address when sending to destinations covered by the target 
-| 'onlink' | boolean | no | '0' | When enabled gateway is on link even if the gateway does not match any interface prefix (Barrier Breaker and later only) 
-| 'type' | string | no | 'unicast' | One of the types outlined in the Routing Types table below (Barrier Breaker and later only) 
+| Name | Type | Required | Default | Description
+| 'interface' | string | yes | _(none)_ | Specifies the _logical interface name_ of the parent (or master) interface this route belongs to; must refer to one of the defined 'interface' sections
+| 'target' | ipv6 address | yes | _(none)_ | IPv6 network address
+| 'gateway' | ipv6 address | no | _(none)_ | IPv6 gateway. If omitted, the 'gateway' from the parent interface is taken
+| 'metric' | number | no | '0' | Specifies the _route metric_ to use
+| 'mtu' | number | no | _interface MTU_ | Defines a specific MTU for this route
+| 'table' | routing table | no | _(none)_ | Defines the table ID to use for the route. The ID can be either a numeric table index ranging from 0 to 65535 or a symbolic alias declared in /etc/iproute2/rt_tables. The special aliases local (255), main (254) and default (253) are recognized as well
+| 'source' | ip address | no | _(none)_ | The preferred source address when sending to destinations covered by the target
+| 'onlink' | boolean | no | '0' | When enabled gateway is on link even if the gateway does not match any interface prefix
+| 'type' | string | no | 'unicast' | One of the types outlined in the Routing Types table below
 |====
 
 === Routing Types ===
 
 [cols="1,4",options="header"]
 |====
-| Type | Description 
-| 'unicast' | the route entry describes real paths to the destinations covered by the route prefix. 
-| 'local' | the destinations are assigned to this host. The packets are looped back and delivered locally. 
-| 'broadcast' | the destinations are broadcast addresses. The packets are sent as link broadcasts. 
-| 'multicast' | a special type used for multicast routing.  It is not present in normal routing tables. 
-| 'unreachable' | these destinations are unreachable. Packets are discarded and the ICMP message host unreachable is generated. The local senders get an EHOSTUNREACH error. 
-| 'prohibit' | these destinations are unreachable. Packets are discarded and the ICMP message communication administratively prohibited is generated. The local senders get an EACCES error. 
-| 'blackhole' | these destinations are unreachable. Packets are discarded silently. The local senders get an EINVAL error. 
-| 'anycast' | the destinations are anycast addresses assigned to this host. They are mainly equivalent to local with one difference: such addresses are invalid when used as the source address of any packet. 
+| Type | Description
+| 'unicast' | the route entry describes real paths to the destinations covered by the route prefix.
+| 'local' | the destinations are assigned to this host. The packets are looped back and delivered locally.
+| 'broadcast' | the destinations are broadcast addresses. The packets are sent as link broadcasts.
+| 'multicast' | a special type used for multicast routing.  It is not present in normal routing tables.
+| 'unreachable' | these destinations are unreachable. Packets are discarded and the ICMP message host unreachable is generated. The local senders get an EHOSTUNREACH error.
+| 'prohibit' | these destinations are unreachable. Packets are discarded and the ICMP message communication administratively prohibited is generated. The local senders get an EACCES error.
+| 'blackhole' | these destinations are unreachable. Packets are discarded silently. The local senders get an EINVAL error.
+| 'anycast' | the destinations are anycast addresses assigned to this host. They are mainly equivalent to local with one difference: such addresses are invalid when used as the source address of any packet.
 |====
 
 
 === IP rules
 
-Since OpenWrt Barrier Breaker, netifd supports _IP rule_ declarations which are required to implement policy routing.
-IPv4 rules can be defined by declaring one or more sections of type 'rule', IPv6 rules are denoted by sections of type 'rule6'. Both types share the same set of defined options.
+netifd supports _IP rule_ declarations which are required to implement policy routing. IPv4 rules can be defined by declaring one or more sections of type 'rule', IPv6 rules are denoted by sections of type 'rule6'. Both types share the same set of defined options.
 
 A simple IPv4 rule may look like:
 
@@ -966,7 +906,7 @@ config rule
        option lookup '100'
 ----
 
-* '0xFF' is a [[http:_www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html|fwmark]] to be matched
+* '0xFF' is a fwmark to be matched
 * 'lan' is the incoming _logical interface name_
 * '172.16.0.0/16' is the destination subnet to match
 * '100' is the routing table ID to use for the matched traffic
@@ -988,29 +928,29 @@ The options below are defined for _IP rule_ ('rule' and 'rule6') sections:
 
 [cols="4*1,4",options="header"]
 |====
-| Name | Type | Required | Default | Description 
-| 'in' | string | no | _(none)_ | Specifies the incoming _logical interface name_ 
-| 'out' | string | no | _(none)_ | Specifies the outgoing _logical interface name_ 
-| 'src' | ip subnet | no | _(none)_ | Specifies the source subnet to match (CIDR notation) 
-| 'dest' | ip subnet | no | _(none)_ | Specifies the destination subnet to match (CIDR notation) 
-| 'tos' | integer | no | _(none)_ | Specifies the TOS value to match in IP headers 
-| 'mark' | mark/mask | no | _(none)_ | Specifies the _fwmark_ and optionally its mask to match, e.g. '0xFF' to match mark 255 or '0x0/0x1' to match any even mark value 
-| 'invert' | boolean | no | '0' | If set to '1', the meaning of the match options is inverted 
-| 'priority' | integer | no | _(incrementing)_ | Controls the order of the IP rules, by default the priority is auto-assigned so that they are processed in the same order they're declared in the config file 
-| 'lookup' | routing table | at least one of | _(none)_ | The rule target is a table lookup, the ID can be either a numeric table index ranging from '0' to '65535' or a symbolic alias declared in '/etc/iproute2/rt_tables'. The special aliases 'local' ('255'), 'main' ('254') and 'default' ('253') are recognized as well 
-| 'goto' | rule index | ::: | ::: | The rule target is a jump to another rule specified by its 'priority' value 
-| 'action' | string | ::: | ::: | The rule target is one of the routing actions outlined in the table below 
+| Name | Type | Required | Default | Description
+| 'in' | string | no | _(none)_ | Specifies the incoming _logical interface name_
+| 'out' | string | no | _(none)_ | Specifies the outgoing _logical interface name_
+| 'src' | ip subnet | no | _(none)_ | Specifies the source subnet to match (CIDR notation)
+| 'dest' | ip subnet | no | _(none)_ | Specifies the destination subnet to match (CIDR notation)
+| 'tos' | integer | no | _(none)_ | Specifies the TOS value to match in IP headers
+| 'mark' | mark/mask | no | _(none)_ | Specifies the _fwmark_ and optionally its mask to match, e.g. '0xFF' to match mark 255 or '0x0/0x1' to match any even mark value
+| 'invert' | boolean | no | '0' | If set to '1', the meaning of the match options is inverted
+| 'priority' | integer | no | _(incrementing)_ | Controls the order of the IP rules, by default the priority is auto-assigned so that they are processed in the same order they're declared in the config file
+| 'lookup' | routing table | at least one of | _(none)_ | The rule target is a table lookup, the ID can be either a numeric table index ranging from '0' to '65535' or a symbolic alias declared in '/etc/iproute2/rt_tables'. The special aliases 'local' ('255'), 'main' ('254') and 'default' ('253') are recognized as well
+| 'goto' | rule index | ::: | ::: | The rule target is a jump to another rule specified by its 'priority' value
+| 'action' | string | ::: | ::: | The rule target is one of the routing actions outlined in the table below
 |====
 
 === Routing Actions ===
 
 [cols="1,4",options="header"]
 |====
-| Action | Description 
-| 'prohibit' | When reaching the rule, respond with _ICMP prohibited_ messages and abort route lookup 
-| 'unreachable' | When reaching the rule, respond with _ICMP unreachable_ messages and abort route lookup 
-| 'blackhole' | When reaching the rule, drop packet and abort route lookup 
-| 'throw' | Stop lookup in the current routing table even if a default route exists 
+| Action | Description
+| 'prohibit' | When reaching the rule, respond with _ICMP prohibited_ messages and abort route lookup
+| 'unreachable' | When reaching the rule, respond with _ICMP unreachable_ messages and abort route lookup
+| 'blackhole' | When reaching the rule, drop packet and abort route lookup
+| 'throw' | Stop lookup in the current routing table even if a default route exists
 |====
 
 == Examples
@@ -1037,15 +977,6 @@ config 'interface' 'example'
        option 'defaultroute' '0'
 ----
 
-CAUTION: Older versions of OpenWRT used this instead, but this method is deprecated and no longer works in Chaos Calmer:
-
-----
-config 'interface' 'example'
-       option 'proto'   'dhcp'
-       option 'ifname'  'eth0'
-       option 'gateway' '0.0.0.0'
-----
-
 === DHCP and IPv6
 
 ----
@@ -1073,7 +1004,7 @@ config 'interface' 'example'
 # to be chosen for the name resolution.
 ----
 
-CAUTION: Openwrt will use the new dns configured only after a reboot or a '/etc/init.d/dnsmasq restart'.
+*CAUTION*: Openwrt will use the new dns configured only after a reboot or a '/etc/init.d/dnsmasq restart'.
 
 === Static IP configuration and default gateway with non-zero metric
 
@@ -1111,7 +1042,7 @@ config 'interface' 'vpn'
        option 'server'    'vpn.example.org'
 ----
 
-CAUTION: Additionally the "wan" firewall zone must include both interfaces in '/etc/config/firewall':
+*CAUTION*: Additionally the "wan" firewall zone must include both interfaces in '/etc/config/firewall':
 
 ----
 config 'zone'
@@ -1161,9 +1092,9 @@ config 'interface' 'henet'
        option 'ip6addr'   '2001:0DB8:1f0a:1359::2/64'
 ----
 
-CAUTION: You should also add an address from your routed IPv6 network to the "lan" interface.  
+*CAUTION*: You should also add an address from your routed IPv6 network to the "lan" interface.
 
-CAUTION: To apply IPv6 firewall rules to the tunnel interface, add it to the "wan" zone in '/etc/config/firewall':
+*CAUTION*: To apply IPv6 firewall rules to the tunnel interface, add it to the "wan" zone in '/etc/config/firewall':
 
 ----
 config 'zone'
@@ -1175,27 +1106,21 @@ config 'zone'
        option 'masq'      '1'
 ----
 
-CAUTION: If you define a new, dedicated [[doc/uci/firewall#zones|zone]] just for the tunnel interface,
-make sure to set 'option conntrack 1' in order to [[doc/uci/firewall#note.on.connection.tracking.notrack|force enabling connection tracking]],
-otherwise [[doc/uci/firewall#forwardings|unidirectional forwarding rules]] will not work.
+*CAUTION*: If you define a new, dedicated zone just for the tunnel interface,
+make sure to set 'option conntrack 1' in order to force enabling connection tracking,
+otherwise unidirectional forwarding rules will not work.
 
-CAUTION: Don't forget to set up [[doc:uci:firewall#forwarding.ipv6.tunnel.traffic|forwarding rules]] between the LAN and the tunnel if you want to route IPv6 traffic between them.
+*CAUTION*: Don't forget to set up forwarding rules between the LAN and the tunnel if you want to route IPv6 traffic between them.
 
 === Setup behind one-to-one NAT ===
 
-If your public IP, e.g. '178.24.115.19', is not matching the IP address on your WAN interface, your ISP is probably using link:http:_shorewall.net/NAT.htm#One-to-one[one-to-one NAT] (aka link:http:_en.wikipedia.org/wiki/Network_address_translation#Methods_of_Port_translation[full-cone NAT]) and you won't be able to establish static IPv6-in-IPv4 tunnel. IP address of your WAN interface can be obtained with the following command:
-
-* Backfire
-----
-uci -P/var/state get network.wan.ipaddr
-----
+If your public IP, e.g. '178.24.115.19', is not matching the IP address on your WAN interface, your ISP is probably using link:http://shorewall.net/NAT.htm#One-to-one[one-to-one NAT] (aka link:http://en.wikipedia.org/wiki/Network_address_translation#Methods_of_Port_translation[full-cone NAT]) and you won't be able to establish static IPv6-in-IPv4 tunnel. IP address of your WAN interface can be obtained with the following command:
 
-* Trunk/Attitude Adjustment
 ----
 . /lib/functions/network.sh; network_get_ipaddr ip wan; echo $ip
 ----
 
-If this is your case you should fill the WAN IP address into 'ipaddr' option instead of your actual public IP that might have been provided to link:http:_he.net/[Hurricane Electric] during tunnel creation. (You should always use your public IP while creating Hurricane Electric tunnel, so don't change it just because you are behind one-to-one NAT.) Or you may completely omit the [[doc:uci:network#protocol.6in4.ipv6-in-ipv4.tunnel|optional]] 'ipaddr' option and let auto configuration to handle the correct IP. (WARNING:  Auto configuration is vague. Is 'uci' handling this case?) That would be preferred solution if your WAN IP is dynamic (i.e. obtained via DHCP) or you are not sure. Example of '/etc/config/network' entry:
+If this is your case you should fill the WAN IP address into 'ipaddr' option instead of your actual public IP that might have been provided to link:http://he.net/[Hurricane Electric] during tunnel creation. (You should always use your public IP while creating Hurricane Electric tunnel, so don't change it just because you are behind one-to-one NAT.) Or you may completely omit the optional 'ipaddr' option and let auto configuration to handle the correct IP. (*WARNING*:  Auto configuration is vague. Is 'uci' handling this case?) That would be preferred solution if your WAN IP is dynamic (i.e. obtained via DHCP) or you are not sure. Example of '/etc/config/network' entry:
 
 ----
 config 'interface' 'henet'
@@ -1204,8 +1129,6 @@ config 'interface' 'henet'
        option 'ip6addr'   '2001:0DB8:1f0a:1359::2/64'
 ----
 
-**Note:** you could probably try to define [[doc:uci:network#aliases|alias]] for WAN interface with your public IP address. Then you could use your public IP in 'ipaddr' option and system would find its way to your WAN interface that has only private IP address because of the one-to-one NAT. (WARNING:  However, it didn't really worked for me. I got this advice on IRC and it looks reasonable, thats why I put it here anyway. If it was **not** supposed to fix it, just delete this note.)
-
 === Dynamic IPv6-in-IPv4 tunnel (HE.net only)
 
 The example below illustrates a dynamic tunnel configuration for the Hurricane Electric (he.net) broker with enabled IP update.
@@ -1221,12 +1144,6 @@ config 'interface' 'henet'
        option 'password'  '098f6bcd4621d373cade4e832627b4f6'
 ----
 
-CAUTION: You should also add an address from your routed IPv6 network to the "lan" interface.
-
-CAUTION: To apply IPv6 firewall rules to the tunnel interface, add it to the "wan" firewall zone, see example above for details.
-
-CAUTION: The password entered above should be the md5sum of the password you use to log in to tunnelbroker.net.
-
 === L2TPv3 Pseudowire bridged to LAN
 
 This example establishes a Pseudowire Tunnel and bridges it to the LAN ports. The existing lan interface is reused with protocol 'l2tp' instead of 'static'.
@@ -1263,7 +1180,7 @@ config wifi-iface
 
 Network configuration (excerpt):
 
-CAUTION: Note that the LAN subnet must be different from the one used by wireless network's DHCP.
+*CAUTION*: Note that the LAN subnet must be different from the one used by wireless network's DHCP.
 
 ----
 config 'interface' 'lan'
@@ -1296,16 +1213,16 @@ config 'zone'
 Create a GRE tunnel with static address 10.42.0.253/30, adding it to an existing firewall zone called 'tunnels':
 
 ----
-config interface mytunnel                 
-       option proto    gre            
-       option zone     tunnels                                
-       option peeraddr 198.51.100.42           
+config interface mytunnel
+       option proto    gre
+       option zone     tunnels
+       option peeraddr 198.51.100.42
 
-config interface mytunnel_addr                                                      
-       option proto    static                                     
-       option ifname   @mytunnel                             
-       option ipaddr   10.42.0.253                       
-       option netmask  255.255.255.252                     
+config interface mytunnel_addr
+       option proto    static
+       option ifname   @mytunnel
+       option ipaddr   10.42.0.253
+       option netmask  255.255.255.252
 # Fixes IPv6 multicast (long-standing bug in kernel).
 # Useful if you run Babel or OSPFv3.
        option ip6addr  'fe80::42/64'