linux dhcp服务起不来,linux dhcp服务启动不了!求高手相助啊.... 之后service dhcpd start 失败...

满意答案

dcebd7a0de6265b6ccae5ead692f1eab.png

qq009911

2013.07.25

dcebd7a0de6265b6ccae5ead692f1eab.png

采纳率:42%    等级:12

已帮助:27115人

多作用域配置,建议你先看下日志吧/var/log/messages

看你的配置文件也没找出什么问题,另外我配了下没什么问题,你可以看下配置,#表示注释行:

[root@localhost ~]# cat /etc/dhcpd.conf

ddns-update-style interim;

ignore client-updates;

subnet 192.168.81.0 netmask 255.255.255.0 {

option routers 192.168.81.1;

option subnet-mask 255.255.255.0;

option domain-name-servers 192.168.81.1;

option time-offset -18000; # Eastern Standard Time

range dynamic-bootp 192.168.81.128 192.168.81.254;

default-lease-time 21600;

max-lease-time 43200;

# we want the nameserver to appear at a fixed address

# host ns {

# next-server marvin.redhat.com;

# hardware ethernet 12:34:56:78:AB:CD;

# fixed-address 207.175.42.254;

# }

}

subnet 172.16.0.0 netmask 255.255.0.0 {

option routers 172.16.1.1;

option subnet-mask 255.255.0.0;

option domain-name-servers 192.168.81.1;

option time-offset -18000; # Eastern Standard Time

range dynamic-bootp 172.16.1.100 172.16.1.200;

default-lease-time 21600;

max-lease-time 43200;

# we want the nameserver to appear at a fixed address

# host ns {

# next-server marvin.redhat.com;

# hardware ethernet 12:34:56:78:AB:CD;

# fixed-address 207.175.42.254;

# }

}

[root@localhost ~]#

00分享举报

  • 1
    点赞
  • 1
    收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
©️2022 CSDN 皮肤主题:游动-白 设计师:我叫白小胖 返回首页
评论
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值