打开DHCP配置文件
sudo gedit /etc/dhcp/dhcpd.conf
在最后添加 可添加多条
host 自命名 {
hardware ethernet 主机Mac地址;
fixed-address 固定的IP地址;
}
重启
打开DHCP配置文件
sudo gedit /etc/dhcp/dhcpd.conf
在最后添加 可添加多条
host 自命名 {
hardware ethernet 主机Mac地址;
fixed-address 固定的IP地址;
}
重启