id: 524c7149a72149549f230344d170f40f
parent_id: 
item_type: 1
item_id: 216a4d78a9424f8db09d41e6332ffa94
item_updated_time: 1764345504880
title_diff: "[{\"diffs\":[[1,\"如何在Ubuntu和Debian中安装DHCP服务器\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":26}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>如何在Ubuntu和Debian中安装DHCP服务器</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"32663\\\"></a>\\\r\\\n<h1>如何在Ubuntu和Debian中安装DHCP服务器</h1>\\\r\\\n\\\r\\\n<div><span>\\\n  <div style=\\\"--en-clipped-content:selection\\\">\\\n<div><br/></div><div style=\\\"font-size: 16px; display:block; min-width: 100%; position: relative;\\\"> <div style=\\\"font-size:20px;text-size-adjust:none;box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;min-width:initial;\\\"><div style=\\\"font-family:Arial, arial, helvetica, sans-serif;font-size:14px;line-height:24px;font-weight:400;color:rgb(68, 68, 68);background-color:rgb(255, 255, 255);box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;\\\"><div style=\\\"box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;background-color:rgb(239, 246, 246);\\\"><div style=\\\"box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;overflow:hidden;\\\"><div style=\\\"box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;background-color:rgb(255, 255, 255);\\\"><div style=\\\"box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;overflow-wrap:break-word;line-height:24px;\\\"><div style=\\\"box-sizing:border-box;vertical-align:baseline;background-repeat:no-repeat;\\\"><div style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:30px;\\\"><div style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;word-break:break-all;display:block;font-size:28px;margin-block:0.83em;margin-inline:0px;margin-top:10px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgb(6, 187, 153);color:rgb(6, 187, 153);text-rendering:optimizelegibility;font-weight:300;\\\">如何在Ubuntu和Debian中安装DHCP服务器</div><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">DHCP(动态主机配置协议)是一种网络协议，用于从预定义的IP池中动态地将IP地址分配给网络客户端。<br style=\\\"box-sizing:border-box;\\\"/>它对LAN网络很有用，但一般不用于生产服务器。</p><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">本教程将在Ubuntu、Debian和LinuxMint系统上安装DHCP服务器。</p></div><div style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:30px;\\\"><h2 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-size:24px;margin-top:10px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgb(6, 187, 153);color:rgb(6, 187, 153);font-weight:300;text-rendering:optimizelegibility;\\\">步骤1 -安装DHCP服务器</h2><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">基于Debian的系统提供软件包 <strong style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;color:rgb(255, 87, 34);\\\">isc-dhcp-server</strong>用于安装DHCP服务器。<br style=\\\"box-sizing:border-box;\\\"/>使用以下命令安装DHCP。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">sudo apt install isc-dhcp-server</code></div></div></td></tr></tbody></table>\\\n</div><div style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:30px;\\\"><h2 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-size:24px;margin-top:10px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgb(6, 187, 153);color:rgb(6, 187, 153);font-weight:300;text-rendering:optimizelegibility;\\\">步骤2:配置DHCP服务器</h2><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">按照以下步骤配置DHCP服务器。</p><h3 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-weight:300;color:rgb(6, 187, 153);border-bottom:1px solid rgb(221, 221, 221);margin-top:15px;\\\">2.1 -设置监听接口</h3><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">首先，编辑 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">/etc/default/isc-dhcp-server</code>来指定dhcpd侦听的接口。<br style=\\\"box-sizing:border-box;\\\"/>可以使用空格分割来指定多个接口。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">INTERFACES=</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">&quot;eth0 eth1&quot;</code></div></div></td></tr></tbody></table>\\\n<h3 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-weight:300;color:rgb(6, 187, 153);border-bottom:1px solid rgb(221, 221, 221);margin-top:15px;\\\">2.2 -全局配置</h3><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">首先，编辑DHCP配置文件 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">/etc/dhcp/dhcpd.conf</code><br style=\\\"box-sizing:border-box;\\\"/>设置本地客户端使用的域名和域名服务器的全局设置。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">2</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option domain-name </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">&quot;local.onitroad.com&quot;</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option domain-name-servers ns1.onitroad.com, ns2.onitroad.com;</code></div></div></td></tr></tbody></table>\\\n<p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">此外，如果我们希望这个DHCP服务器作为本地网络的官方DHCP服务器，请取消对权威指令的注释</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">authoritative;</code></div></div></td></tr></tbody></table>\\\n<h3 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-weight:300;color:rgb(6, 187, 153);border-bottom:1px solid rgb(221, 221, 221);margin-top:15px;\\\">2.3 - IP子网声明</h3><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">让我们为本地网络设置第一个子网。<br style=\\\"box-sizing:border-box;\\\"/>根据要求，在 <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">/etc/dhcp/dhcpd.conf</code>中,我们可以创建多个不同的子网。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">2</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">3</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">4</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">5</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">6</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">7</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">8</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">9</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">10</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">11</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">subnet </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.0</code> <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">netmask </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">255.255</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">255.0</code> <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">{</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">range  </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.10</code>   <code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.100</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option routers                  </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.1</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option subnet-mask              </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">255.255</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">255.0</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option domain-search            </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">&quot;local.onitroad.com&quot;</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option domain-name-servers      n1.local.onitroad.com;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option time-offset              -</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">18000</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">; </code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option broadcast-address </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.255</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">default</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">-lease-time </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">600</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">max-lease-time </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">7200</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">}</code></div></div></td></tr></tbody></table>\\\n<h3 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-weight:300;color:rgb(6, 187, 153);border-bottom:1px solid rgb(221, 221, 221);margin-top:15px;\\\">2.4 -为主机设置固定IP</h3><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">此外，还可以根据MAC地址为某些系统指定固定的ip。<br style=\\\"box-sizing:border-box;\\\"/>例如MAC地址为“00:11:1A:2B:3C:6E”的系统，其ip为192.168.1.99。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">2</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">3</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">4</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">5</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">host station1 {</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">option host-name </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">&quot;station1.local.onitroad.com&quot;</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">hardware ethernet </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">00</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">:</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">11</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">:1A:2B:3C:6E;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">   </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">fixed-address </code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">192.168</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">.</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">1.99</code><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">;</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">}</code></div></div></td></tr></tbody></table>\\\n</div><div style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:30px;\\\"><h2 style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;font-size:24px;margin-top:10px;margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid rgb(6, 187, 153);color:rgb(6, 187, 153);font-weight:300;text-rendering:optimizelegibility;\\\">步骤3:启动/停止DHCP服务</h2><p style=\\\"box-sizing:border-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;background-repeat:no-repeat;margin-bottom:12px;\\\">最后，我们已经成功安装和配置了DHCP服务器。<br style=\\\"box-sizing:border-box;\\\"/>使用以下命令启动/停止和重新启动服务。</p><table border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-variant:inherit;font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;white-space:nowrap;overflow-wrap:initial;word-break:initial;display:block;font-size:13px;font-weight:normal;font-style:normal;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;text-align:left;min-height:auto;box-sizing:content-box;padding:0px;vertical-align:baseline;margin:0.3em 0px;border:1px solid rgb(204, 204, 204);border-collapse:separate;border-radius:4px;position:relative;width:100%;background-color:rgb(245, 245, 245);overflow:auto hidden;\\\"><tbody style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><tr style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;\\\"><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;color:rgb(175, 175, 175);border-right:1px solid rgb(225, 225, 232);border-top-left-radius:4px;border-bottom-left-radius:4px;user-select:none;padding:9.5px 0px 9.5px 9.5px;background-color:rgb(247, 247, 249);\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">1</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(255, 255, 255);border-right:2px solid rgb(6, 187, 153);\\\">2</div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;overflow-wrap:normal;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;white-space:pre;padding:0px 0.5em 0px 1em;text-align:right;background-color:rgb(247, 247, 249);border-right:2px solid rgb(6, 187, 153);\\\">3</div></td><td style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;line-height:1.1em;outline:0px;overflow:visible;position:static;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:100%;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;text-align:left;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;padding:0px;border:0px;vertical-align:baseline;width:auto;line-height:1.65em;position:relative;\\\"><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">sudo systemctl start isc-dhcp-server.service</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(255, 255, 255);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">sudo systemctl stop isc-dhcp-server.service</code></div><div style=\\\"font-family:Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace;border-radius:0px;background:none;inset:auto;float:none;outline:0px;overflow:visible;position:static;text-align:left;width:auto;font-weight:normal;font-style:normal;min-height:auto;font-size:13px;box-sizing:content-box;margin:0px;border:0px;vertical-align:baseline;line-height:1.65em;padding:0px 1em;background-color:rgb(247, 247, 249);\\\"><code style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco,Menlo,Consolas,Courier New,monospace,sans-serif\\\">sudo systemctl restart isc-dhcp-server.service</code></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div>\\\n</div>\\\n</span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":61180}]"
metadata_diff: {"new":{"id":"216a4d78a9424f8db09d41e6332ffa94","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345862583,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:23.111Z
created_time: 2025-11-28T16:20:23.111Z
type_: 13