mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[5241] Explained always-true action
This commit is contained in:
@@ -1007,6 +1007,39 @@ temporarily override a list of interface names and listen on all interfaces.
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
</screen>
|
</screen>
|
||||||
|
The effect is the same than adding the option code in the
|
||||||
|
Parameter Request List option (or its equivalent for vendor
|
||||||
|
options) so in:
|
||||||
|
<screen>
|
||||||
|
"Dhcp4": {
|
||||||
|
"option-data": [
|
||||||
|
{
|
||||||
|
<userinput>"name": "domain-name-servers",
|
||||||
|
"data": "192.0.2.1, 192.0.2.2",
|
||||||
|
"always-send": true</userinput>
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
"subnet4": [
|
||||||
|
{
|
||||||
|
"subnet": "192.0.3.0/24",
|
||||||
|
"option-data": [
|
||||||
|
{
|
||||||
|
<userinput>"name": "domain-name-servers",
|
||||||
|
"data": "192.0.3.1, 192.0.3.2"</userinput>
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
}
|
||||||
|
</screen>
|
||||||
|
The Domain Name Servers option is always added to responses
|
||||||
|
(the always-send is "sticky") but the value is the subnet one
|
||||||
|
when the client is localized in the subnet.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The <command>name</command> parameter specifies the option name. For a
|
The <command>name</command> parameter specifies the option name. For a
|
||||||
|
@@ -1035,6 +1035,38 @@ temporarily override a list of interface names and listen on all interfaces.
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
</screen>
|
</screen>
|
||||||
|
The effect is the same than adding the option code in the
|
||||||
|
Option Request Option (or its equivalent for vendor options) so in:
|
||||||
|
<screen>
|
||||||
|
"Dhcp6": {
|
||||||
|
"option-data": [
|
||||||
|
{
|
||||||
|
<userinput>"name": "dns-servers",
|
||||||
|
"data": "2001:db8::cafe, 2001:db8::babe",
|
||||||
|
"always-send": true</userinput>
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
"subnet6": [
|
||||||
|
{
|
||||||
|
"subnet": "2001:db8:1::/64",
|
||||||
|
"option-data": [
|
||||||
|
{
|
||||||
|
<userinput>"name": "dns-servers",
|
||||||
|
"data": "2001:db8:1::cafe, 2001:db8:1::babe"</userinput>
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
}
|
||||||
|
</screen>
|
||||||
|
The DNS Servers option is always added to responses
|
||||||
|
(the always-send is "sticky") but the value is the subnet one
|
||||||
|
when the client is localized in the subnet.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user