Browse Source

[master] Merged trac4245 (server unicast option doc)

Francis Dupont 8 years ago
parent
commit
164a56b0de
1 changed files with 15 additions and 0 deletions
  1. 15 0
      doc/guide/dhcp6-srv.xml

+ 15 - 0
doc/guide/dhcp6-srv.xml

@@ -650,6 +650,12 @@ temporarily override a list of interface names and listen on all interfaces.
         "interfaces": [ <userinput>"eth1/2001:db8::1"</userinput> ]
     },
     ...
+    "option-data": [
+        {
+            "name": "unicast",
+            "data": "2001:db8::1"
+        } ],
+    ...
 }
  </screen>
 
@@ -657,6 +663,13 @@ temporarily override a list of interface names and listen on all interfaces.
         eth1 on link-local address, multicast group (ff02::1:2) and 2001:db8::1.
       </para>
       <para>
+        Usually unicast support is associated with a server unicast option
+        which allows clients to send unicast messages to the server.
+        The example above contains a server unicast option specification
+        which causes the client to send messages to the specified
+        unicast address.
+      </para>
+      <para>
         It is possible to mix interface names, wildcards and interface name/addresses
         on the list of interfaces. It is not possible to specify more than one
         unicast address on a given interface.
@@ -986,7 +999,9 @@ temporarily override a list of interface names and listen on all interfaces.
 <row><entry>elapsed-time</entry><entry>8</entry><entry>uint16</entry><entry>false</entry></row>
 <row><entry>relay-msg</entry><entry>9</entry><entry>binary</entry><entry>false</entry></row>
 <row><entry>auth</entry><entry>11</entry><entry>binary</entry><entry>false</entry></row>
+-->
 <row><entry>unicast</entry><entry>12</entry><entry>ipv6-address</entry><entry>false</entry></row>
+<!--
 <row><entry>status-code</entry><entry>13</entry><entry>record</entry><entry>false</entry></row>
 <row><entry>rapid-commit</entry><entry>14</entry><entry>empty</entry><entry>false</entry></row>
 <row><entry>user-class</entry><entry>15</entry><entry>binary</entry><entry>false</entry></row>