全国直销电话:4006-854-568
IT-technology
以人为本,众志成城,以“用户至上”.“服务上乘”为原则,
追求产品和服务高质量,努力实现与客户之间真诚有效的沟通,
不断地圆梦、奔跑与腾飞。
新闻动态   NEWS
​Centos7.8部署DHCP及地址保留、超级作用域-北京赛维博信科技发展有限公司
来源: | 作者:svbx001 | 发布时间: 2022-04-15 | 3360 次浏览 | 分享到:

一.准备工作

项目名称基础信息
操作系统Centos7.8
IP地址192.168.250.219
SElinux已关闭
防火墙已启用,开放相关端口:UDP/67和UDP/68
DHCP地址池192.168.250.2-192.168.250.90

二.部署DHCP服务器

1.yum方式安装dhcp服务
[root@dhcp-server ~]# yum -y install dhcp已加载插件:fastestmirror, langpacksLoading mirror speeds from cached hostfile
2.查看dhcpd.conf默认配置文件的内容

默认情况下,dhcpd.conf配置文件在 /etc/dhcp/目录下,默认的配置内容为空,如下:

[root@dhcp-server ~]# cd /etc/dhcp[root@dhcp-server dhcp]# ll总用量 8drwxr-xr-x. 2 root root   236月  102021 dhclient.ddrwxr-xr-x. 2 root root   284月  1216:09 dhclient-exit-hooks.d-rw-r--r--. 1 root root  1206月  102021 dhcpd6.conf-rw-r--r--. 1 root root  1176月  102021 dhcpd.confdrwxr-x---. 2 root dhcpd  284月  1216:09 scripts[root@dhcp-server dhcp]# cat dhcpd.conf## DHCP Server Configuration file.#   see /usr/share/doc/dhcp*/dhcpd.conf.example#   see dhcpd.conf(5) man page#[root@dhcp-server dhcp]#
 

服务热线

1391-024-6332