swiftsunshine 2014-04-19 08:27 采纳率: 0%
浏览 4258

centos6.0 中的dhcp服务无法开启

[root@localhost ~]# service dhcpd start
Starting dhcpd: [FAILED]
[root@localhost ~]# tail -f /var/log/messages
Apr 19 06:52:23 localhost dhcpd:
Apr 19 06:52:23 localhost dhcpd: This version of ISC DHCP is based on the release available
Apr 19 06:52:23 localhost dhcpd: on ftp.isc.org. Features have been added and other changes
Apr 19 06:52:23 localhost dhcpd: have been made to the base software release in order to make
Apr 19 06:52:23 localhost dhcpd: it work better with this distribution.
Apr 19 06:52:23 localhost dhcpd:
Apr 19 06:52:23 localhost dhcpd: Please report for this software via the CentOS Bugs Database:
Apr 19 06:52:23 localhost dhcpd: http://bugs.centos.org/
Apr 19 06:52:23 localhost dhcpd:
Apr 19 06:52:23 localhost dhcpd: exiting.

/etc/dhcpd.conf的具体配置如下

ddns-update-style none;
subnet 192.168.137.0 netmask 255.255.255.0{
option routers 192.168.137.4;
option subnet-mask 255.255.255.0;
option domain-name mycentos;
option domain-name-servers 200.3.4.10, 200.3.4.20;

range 192.168.137.81 192.168.137.200;
default-lease-time 86400;
max-lease-time 172000;
}
望高手解答,小弟在此谢过

  • 写回答

2条回答 默认 最新

  • Mr-稻帅 2014-04-23 04:25
    关注

    ddns-update-style interim;

    ignore client-updates;

    allow booting;

    allow bootp;

    subnet 192.168.1.0 netmask 255.255.255.0

    {

    range dynamic-bootp 192.168.1.10 192.168.1.80; #这边的ip为需要广播的ip范围,看需要网络安装的计算机数量

    option rooters 192.168.1.201; #填写网关地址

    option subnet-mask 255.255.255.0; #子网掩码

    option broadcask-address 192.168.1.255;

    default-lease-time 21600;

    max-lease-time 43200;

    next-server 192.168.1.92; #tftp的ip地址

    filename "pxelinux.0";

    }

    对比试一下。。这个是我自己的linux dhcp的配置,可以正常启动的。。

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器