配置dhcp服务器 失败 这是配置文件 ,用service dhcpd start 提示失败


发布日期 : 2025-12-26 02:09:20 UTC

访问量: 209 次浏览

悬赏分:5 | 解决时间:2010-12-29 17:12 | 提问者:解决问题102


ddns-update-style interim; 
ignore client-updates; 

subnet 192.168.0.0 netmask 255.255.255.0 
{ 
# --- default gateway 
      option routers             192.168.0.1; 
      option subnet-mask         255.255.255.0; 

      option nis-domain          "domain.org"; 
      option domain-name          "domain.org"; 
      option domain-name-servers    192.168.1.1; 

      option time-offset         -18000; # Eastern Standard Time 
#     option ntp-servers          192.168.1.1; 
# option netbios-name-servers      192.168.1.1; 
#--- Selects point-to-point node (default is hybrid). Don't change this unless
#--- you understand Netbios very well 
#    option netbios-node-type 2; 


     range dynamic-bootp 192.168.0.128 192.168.0.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; 
     } 
} 
[root@localhost ~]# 

最佳答案 你的配置文件,没看出啥问题, 你可以用tail -f /var/log/messages去monitor一下日志文件,你在使用service dhcpd restart命令启动服务,看看log有什么记录,才能有效处理你的问题。