Changeset 4d418ccd for networking
- Timestamp:
- 06/06/2023 09:18:30 AM (12 months ago)
- Branches:
- 12.0, 12.1, kea, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
- Children:
- e8a4d3b1
- Parents:
- c2ab6f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/connect/kea.xml
rc2ab6f4 r4d418ccd 123 123 </para> 124 124 125 <screen role="root"><userinput>make install</userinput></screen> 126 127 </sect2> 128 125 <screen role="root"><userinput>make -j1 install</userinput></screen> 126 127 </sect2> 128 129 <sect2 role="commands"> 130 <title>Command Explanations</title> 131 132 <para> 133 <parameter>make -j1 install</parameter>: ISC doesn not recomment any form of 134 parallel or job server options when doing the install. 135 </para> 136 137 </sect2> 138 129 139 <sect2 role="configuration"> 130 140 <title>Configuring ISC Kea DHCP</title> 141 142 <para>Consult the 143 <ulink url="https://kea.readthedocs.io/en/kea-2.2.0/">Kea Administrator Reference Manual</ulink> 144 for detailled information about the configuration of Kea.</para> 131 145 132 146 <para>The support of IPv4, IPv6 and DDNS has been splitted into 133 147 separate servers which runs independently from each other. Each 134 148 of them has its own configuration file. Additional configuration 135 files come from the control agent which is uses to control the149 files come from the keactrl agent which is uses to control the 136 150 servers in an easy way.</para> 137 151 … … 146 160 <filename>/etc/kea/kea-dhcp-ddns.conf</filename> 147 161 </para> 148 <!-- 162 149 163 <indexterm zone="kea keactrl-config"> 150 164 <primary sortas="e-etc-kea-keactrl.conf">/etc/kea/keactrl.conf</primary> 151 165 </indexterm> 152 166 <!-- 153 167 <indexterm zone="kea kea-ctrl-agent-config"> 154 168 <primary sortas="e-etc-kea-kea-ctrl-agent.conf">/etc/kea/kea-ctrl-agent.conf</primary> 155 169 </indexterm> 156 170 --> 157 171 <indexterm zone="kea kea-dhcp4-config"> 158 172 <primary sortas="e-etc-kea-dhcp4.conf">/etc/kea/kea-dhcp4.conf</primary> 159 173 </indexterm> 160 174 <!-- 161 175 <indexterm zone="kea kea-dhcp6-config"> 162 176 <primary sortas="e-etc-kea-dhcp6.conf">/etc/kea/kea-dhcp6.conf</primary> … … 171 185 <sect3 id="keactrl-config"> 172 186 <title>Kea Control Configuration</title> 173 187 174 188 <para><command>keactrl</command> is used to control the 175 189 independend servers (IPv4, IPv6, DDNS). Its configuration file … … 183 197 <listitem> 184 198 <para>IPv4 DHCP server</para> 185 <para>Set <literal>dhcp4=yes</literal> to start it, set 199 <para>This daemon handles requests for IPv4 addresses. 200 Set <literal>dhcp4=yes</literal> to start it, set 186 201 <literal>dhcp4=no</literal> in case DHCP service for IPv4 187 202 is not wanted.</para> … … 189 204 <listitem> 190 205 <para>IPv6 DHCP server</para> 191 <para>Set <literal>dhcp6=yes</literal> to start it, set 206 <para>This daemon handles requests for IPv6 addresses. 207 Set <literal>dhcp6=yes</literal> to start it, set 192 208 <literal>dhcp6=no</literal> in case DHCP service for IPv6 193 209 is not wanted.</para> … … 195 211 <listitem> 196 212 <para>Dynamic DNS</para> 197 <para>Set <literal>dhcp_ddns=yes</literal> to enable it, set 213 <para>This daemon is used to update a DNS server dynamically 214 when Kea assignes an IP address to a device. 215 Set <literal>dhcp_ddns=yes</literal> to enable it, set 198 216 <literal>dhcp_ddns=no</literal> in case dynamic DNS updates 199 217 are not wanted.</para> … … 201 219 <listitem> 202 220 <para>Control Agent</para> 203 <para>Set <literal>ctrl_agent=yes</literal> to start the 221 <para>The Control Agent is a daemon which allows the 222 (re)configuration of the Kea DHCP service via REST API. 223 Set <literal>ctrl_agent=yes</literal> to start the 204 224 control agent (service providing a REST API), set 205 225 <literal>ctrl_agent=no</literal> in case the control agent … … 210 230 <para>The Netconf service is not installed because required 211 231 dependencies are not covered by the current BLFS book.</para> 212 232 233 <para>With the following command, Kea will be configured to 234 start the dhcp service for IPv4 and the 235 dynamic DNS update, while the control agent and 236 the dhcp service for IPv6 remains down. Tweak the command to 237 match your needs on started services and execute as the 238 <systemitem class="username">root</systemitem> user:</para> 239 240 <screen><userinput role="root">sed -e "s/^dhcp4=.*/dhcp4=yes/" \ 241 -e "s/^dhcp6=.*/dhcp6=no/" \ 242 -e "s/^dhcp_ddns=.*/dhcp_ddns=yes/" \ 243 -e "s/^ctrl_agent=.*/ctrl_agent=no/" \ 244 -i /etc/kea/keactrl.conf 245 </userinput></screen> 246 213 247 </sect3> 214 248 … … 225 259 <screen role="nodump" ><userinput>cat > /etc/kea/kea-dhcpd4.conf << "EOF" 226 260 <literal>// Begin /etc/kea/kea-dhcpd4.conf 227 261 { 228 262 "Dhcp4": { 229 263 "interfaces-config": { … … 286 320 ] 287 321 } 288 322 } 289 323 // End /etc/kea/kea-dhcpd4.conf</literal> 290 324 EOF</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.