Not configured to listen on any interfaces!

dhcp错误,日志如下

an  2 02:31:33 lylinux dhcpd: No subnet declaration for eth0 (192.168.88.128).

Jan  2 02:31:33 lylinux dhcpd: ** Ignoring requests on eth0.  If this is not what

Jan  2 02:31:33 lylinux dhcpd:    you want, please write a subnet declaration

Jan  2 02:31:33 lylinux dhcpd:    in your dhcpd.conf file for the network segment

Jan  2 02:31:33 lylinux dhcpd:    to which interface eth0 is attached. **

Jan  2 02:31:33 lylinux dhcpd:

Jan  2 02:31:33 lylinux dhcpd:

Jan  2 02:31:33 lylinux dhcpd: Not configured to listen on any interfaces!

Jan  2 02:31:33 lylinux dhcpd:

Jan  2 02:31:33 lylinux dhcpd: This version of ISC DHCP is based on the release available

Jan  2 02:31:33 lylinux dhcpd: on ftp.isc.org.  Features have been added and other changes

Jan  2 02:31:33 lylinux dhcpd: have been made to the base software release in order to make

Jan  2 02:31:33 lylinux dhcpd: it work better with this distribution.

Jan  2 02:31:33 lylinux dhcpd:

Jan  2 02:31:33 lylinux dhcpd: Please report for this software via the CentOS Bugs Database:

Jan  2 02:31:33 lylinux dhcpd:     http://bugs.centos.org/

Jan  2 02:31:33 lylinux dhcpd:

Jan  2 02:31:33 lylinux dhcpd: exiting.

原因:

没有读取到配置文件

解决:

# cp -f /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample  /etc/dhcp/dhcpd.conf

时间: 2024-08-11 01:23:00

Not configured to listen on any interfaces!的相关文章

Centos/Ubuntu安装dhcp服务器(Not configured to listen on any interfaces!)

最近在做软路由,其中一个功能是dhcp服务.记录一下过程,供其他人参考. (dhcpd版本4.1.1,centos版本6.6) 参考文章: (1)点击打开链接 (2)点击打开链接 正文: (1)安装dhcp ubuntu用apt-get,centos用yum,这就不多说了. (2)开机启动和开启服务 把dhcpd设为开机启动,centos下用命令chkconfig dhcpd on: ubuntu下怎么设置启动请google. 如果要马上开启服务,service dhcpd start: (3)

springboot Tomcat connector configured to listen on port 8081 failed to start.

启动报 Tomcat connector configured to listen on port 8081 failed to start.   The port may already be in use or the connector may be misconfigured.错误 一开始,我以为是端口占用,baidu   https://blog.csdn.net/IBLiplus/article/details/82714151,用这个办法,还是没有解决问题,看上去不是端口占用问题,

解决Centos 7 dhcp服务器-no subnet declaration for start (no IPV4 addresses.)

上面的配置是hyper-v 安装的 centos 7.0 安装dhcp 服务器的方法是 yum install dhcpd 在安装和配置好后,运行的时候出现错误 错误提示如下: no subnet declaration for start (no IPV4 addresses.) --- 错误一. ... not configured to listen on any interfaces! ---错误二. ----------------------------------- 分析问题: 错

网络安装Centos 6.6 基本NFS

原系统无法启动的就想借这个机会,放弃伟大windows os完全的投入linux的怀抱中.U盘安装的方法一下没有安装成的,这个以后还是要测试的. 正常今天的linux运维之道的书到了,开始就讲了系统的基本安装与无人值守安装的,我只测试了前一段的安装方法.无人值守安装还没有进行实验的. 主体流程:PXE网络启动--DHCP分配IP--TFTP网络引导--NFS安装 1.安装TFTPSERVER tftp服务是在xinetd.d 下的一个TFTP程序的.安装方法: [[email protected

启动dhcp出错:No subnet declaration for eth0 (192.168.0.1

XUbuntu 8.04 i386.装了dhcp3-server.使用 sudo /etc/init.d/dhcp3-server start 出错:Apr 30 14:24:03 s dhcpd: Wrote 0 leases to leases file.Apr 30 14:24:03 s dhcpd: Apr 30 14:24:03 s dhcpd: No subnet declaration for eth0 (192.168.0.1).Apr 30 14:24:03 s dhcpd:

PXE+Kickstart无人值守安装CentOS 7出现DHCP故障解决报告

部署DHCP服务器 在安装dhcp.x86_64 后,用命令systemctlstatus dhcpd 命令查看dhcp服务运行状态发现failed. 报错信息为如下图: Not configured to listen on any interfaces! 经分析可能是配置文件错误.查阅文档后添加配置命令如下图:依旧出现同样的错误,故而不是此处原因. 有同行提示说是不是网卡信息配置错误,仔细查看配置信息后,发现启动类型的static写成了staic.如下图: 修改后重启网卡和dhcp服务 sy

Linux网络服务02——DHCP原理与配置

Linux网络服务02--DHCP原理与配置 一.DHCP服务概述 1.DHCP(Dynamic Host Configuration Protocol)动态主机配置协议 DHCP是由Internet工作任务小组设计开发的,专门用于为TCP/IP网络中的计算机自动分配TCP/IP参数的协议. 使用DHCP可以减少管理员的工作量,避免IP地址冲突,当网络更改IP地址网段时不需要再重新配置每个用户的IP地址,提高了IP地址的利用率,方便客户端的配置. 2.可分配的地址信息主要包括: 网卡的IP地址.

MongoDB设置 Replication Sets

MongoDB 高可用可用分两种 : Master-Slave 主从复制 :只需要在某一个服务启动时加上–master 参数, 而另一个服务加上–slave 与–source 参数, 即可实现同步. MongoDB的最新版本已不再推荐此方案. Replica Sets 复制集 :MongoDB 在 1.6 版本对开发了新功能 replica set,这比之前的 replication 功能要强大一 些,增加了故障自动切换 和自动修复成员节点,各个 DB 之间数据完全一致,大大降低了维 护成功.a

RabbitMQ服务器配置文件

RabbitMQ的服务器配置设置,我做了修改,修改如下: {tcp_listeners, [5672]}, {loopback_users, ["elite"]} 其它的设置可以根据业务需要设置,完整版如下. %% -*- mode: erlang -*- %% ---------------------------------------------------------------------------- %% RabbitMQ Sample Configuration Fil