1、检查dhcp服务是否启动

2、可以将客户端的MAC地址和固定IP写入 /etc/dhcpd.conf 的文件中类似:

allow booting;
allow bootp;

option routers                  10.10.10.1;
option subnet-mask              255.255.255.0;
option domain-name              "company.com";
option domain-name-servers      10.10.10.1;

ddns-update-style ad-hoc;

subnet 10.10.10.0 netmask 255.255.255.0 {
        range dynamic-bootp 10.10.10.2 10.10.10.6;
        default-lease-time 21600;
        max-lease-time 43200;
	 filename "/pxelinux.0";
        next-server 10.10.10.1;

host client7 {
        ### NOTE: CHANGE THIS TO THE MALWARE CLIENT'S MAC ADDR
        hardware ethernet 00:0C:29:34:8A:4E;
        fixed-address 10.10.10.7;
}


# please don't delete this last squirrely brace.
}

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐