1、选中服务器管理器
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/674854607968ae790c1c087d8ec4eaa8.png)
2、点击角色---->添加角色
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/73ab3d69e3570448327f29a6c536cbd7.png)
3、点击 【下一步】
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/3fa4e55fbf603e1e458d01e8e5fd548f.png)
4、勾选DHCP
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/dd8a24bbf7a1e5c0f1099150ed19719a.png)
(5、如果出现此情况点击取消)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/553a2a309abc3c5dce66a98034ef63e3.png)
(5.1执行以下操作)
静态ip配置如下
静态ip配置如下
静态ip配置如下
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/3f13e7e8b09d380d9ff78282e02503dd.png)
(5.2本地连接)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/fa1d4c8a5b34fe9a4cb4de256e8059aa.png)
(5.3属性)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/2e09014cb96e7a9f47c4cd3280af809b.png)
(5.4双击iPv4)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/0ed721ca769da82a480c90e779a131d7.png)
(5.5根据需求设置)
设置完确定关闭窗口,回到刚刚的DHCP安装页面
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/781a6fb43209d2f0c39cf1aaff1e1139.png)
6、再次点击添加角色
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/b77da0d58e2f2d7616714a4db3abfc68.png)
7、勾选DHCP
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/f2094c9beb00d6326d0f7381b450c586.png)
8、下一步
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/c9cefc722537d9563aa5ad10559337ad.png)
9、下一步
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/3d1bf94f62fbfa9debdc9ac530d315b7.png)
10、根据需求设置
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/19fa808e29b09e80eaec1dd0b5e757a7.png)
11、下一步
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/71a6a540ab21a2b1b754241a9555ccad.png)
12、添加作用域
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/9471576d04b727d47aadf994c6dec8b6.png)
13、设置起始地址
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/6b8589bc84d9d848e528df825b24d467.png)
13.1下一步
![## 14、](https://i-blog.csdnimg.cn/blog_migrate/9c9af3f1f1e060203ebe9294faad3385.png)
14、禁用ipv6
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/ee9724fb8dff38d22298846630192e16.png)
15、安装
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/1faa69a7300ed52040de92ff35cb6373.png)
16、测试
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/cdafa1bde202d76526cbd2e273b6350f.png)
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/490e87168736c297a88edf007cb6fc5a.png)