Cenots6,安装dhcp

Centos6,安装的时候出现,

Transaction Check Error:
  file /usr/share/man/man5/dhcp-eval.5.gz from install of dhcp-common-12:4.1.1-43.P1.el6.centos.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686
  file /usr/share/man/man5/dhcp-options.5.gz from install of dhcp-common-12:4.1.1-43.P1.el6.centos.i686 conflicts with file from package dhclient-12:4.1.1-12.P1.el6.i686
Error Summary


发现dhclient有冲突,yum remove dhclient,连带的NetworkManager也卸载了,再次感慨NetworkManager 除了坑爹还有啥用!!一点都不方便啊!!


subnet 192.168.1.0 netmask 255.255.255.0 {
        option routers          192.168.1.1;
        option subnet-mask      255.255.255.0;
        option domain-name-servers      192.168.1.1,202.101.224.68;

        range 192.168.1.100 192.168.1.110;
        default-lease-time      21600;
        max-lease-time          43200;

        host ns1 {
        hardware ethernet 00:0c:29:F4:23:C0;
        fixed-address   192.168.1.111;
        }

}

配置如上,一看就懂,其他比如PXE的功能,留着后面补充。

你可能感兴趣的:(centos,DHCP)