# This is an example configuration file for DHCPv6 server in Kea.
# It demonstrates how user can specify values for Softwire options
-# defined in RFC 7598.
+# defined in RFC 7598 for Lightweight 4over6 architecture.
{ "Dhcp6":
"interfaces": [ "ethX" ]
},
-# We need to specify lease type. As of May 2014, three backends are supported:
-# memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
-# any prior set up.
+# We need to specify lease type.
"lease-database": {
"type": "memfile"
},
"name": "s46-br",
"data": "2001:db8:cafe::1"
},
-# This option will be included in the S46 Rule option.
+# This option will be included in the S46 Rule option. It includes
+# PSID/PSID length value in a user friendly form. The PSID length
+# specifies the number of bits on which PSID is coded. The PSID
+# value 3 is a 4th value that is coded on these 4 bits: "0011b".
{
"space": "s46-rule-options",
"name": "s46-portparams",
{
"space": "s46-cont-mape-options",
"name": "s46-rule",
- "data": "1, 0, 24, 192.0.2.0, 2001:db8:1::/64"
+ "data": "128, 0, 24, 192.0.2.0, 2001:db8:1::/64"
}
</screen>
Other possible "space" value is "s46-cont-mapt-options".
</para>
+ <para>
+ The S46 Rule option conveys a number of parameters:
+
+ <itemizedlist>
+ <listitem>
+ <simpara><command>flags</command>, an unsigned 8 bits integer, with
+ currently only the most significant bit specified. It denotes whether
+ the rule can be used for forwarding (128) or not (0).
+ </simpara>
+ </listitem>
+
+ <listitem>
+ <simpara><command>ea-len</command>, an 8 bits long Embedded Address length. Allowed values
+ range from 0 to 48.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara><command>IPv4 prefix length</command>, 8 bits long; expresses the prefix length of the
+ Rule IPv4 prefix specified in the ipv4-prefix field. Allowed
+ values range from 0 to 32.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara><command>IPv4 prefix</command>, a fixed-length 32-bit field that specifies the IPv4
+ prefix for the S46 rule. The bits in the prefix after prefix4-len
+ number of bits are reserved and MUST be initialized to zero by the
+ sender and ignored by the receiver.</simpara>
+ </listitem>
+
+ <listitem>
+ <simpara><command>IPv6 prefix</command> in prefix/length notation that specifies the IPv6 domain
+ prefix for the S46 rule. The field is padded on the right with zero
+ bits up to the nearest octet boundary when prefix6-len is not evenly
+ divisible by 8.</simpara>
+ </listitem>
+
+ </itemizedlist>
+ </para>
</section>
<section>
<title>S46 BR Option</title>
{
"prefix": "2001:db8:1:8000::",
"prefix-len": 48,
- "delegated-len": 64,
+ "delegated-len": 64
}
],
<userinput>"reservations": [
<ulink url="http://tools.ietf.org/html/rfc4704">RFC 4704</ulink>:
Supported option is CLIENT_FQDN.</simpara>
</listitem>
+ <listitem>
+ <simpara><emphasis>Dynamic Host Configuration Protocol for IPv6 (DHCPv6)
+ Option for Dual-Stack Lite</emphasis>,
+ <ulink url="http://tools.ietf.org/html/rfc6334">RFC 6334</ulink>:
+ the AFTR-Name DHCPv6 Option is supported.</simpara>
+ </listitem>
<listitem>
<simpara><emphasis>Relay-Supplied DHCP Options</emphasis>,
<ulink url="http://tools.ietf.org/html/rfc6422">RFC 6422</ulink>: