Debian 12配置ISC DHCP服务器出现接口监听错误的求助
Debian 12配置ISC DHCP服务器出现接口监听错误的求助
最近我在Debian 12上折腾ISC DHCP服务器的安装和配置,结果一直卡在接口监听的问题上,syslog里反复弹出这些错误信息:
Jul 26 13:42:38 3ecc1b69 dhcpd[774]: No subnet declaration for enp2s0 (no IPv4 addresses). Jul 26 13:42:38 3ecc1b69 dhcpd[774]: ** Ignoring requests on enp2s0. If this is not what Jul 26 13:42:38 3ecc1b69 dhcpd[774]: you want, please write a subnet declaration Jul 26 13:42:38 3ecc1b69 dhcpd[774]: in your dhcpd.conf file for the network segment Jul 26 13:42:38 3ecc1b69 dhcpd[774]: to which interface enp2s0 is attached. ** Jul 26 13:42:38 3ecc1b69 dhcpd[774]: Jul 26 13:42:38 3ecc1b69 dhcpd[774]: Jul 26 13:42:38 3ecc1b69 dhcpd[774]: Not configured to listen on any interface
我目前用到的配置文件内容如下:
dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.100 192.168.1.200; option routers 192.168.1.1; option domain-name-servers 192.168.1.1; option subnet-mask 255.255.255.0; }
interfaces
sourc...
备注:内容来源于stack exchange,提问作者Jargo
相关产品推荐
相关产品推荐

