RazoR Posted December 4, 2014 Report Posted December 4, 2014 сервер centos 6.6 final. запускаю dhcpd -d: Internet Systems Consortium DHCP Server 4.2.7Copyright 2004-2014 Internet Systems Consortium.All rights reserved.For info, please visit https://www.isc.org/software/dhcp/Wrote 0 leases to leases file. Not configured to listen on any interfaces! If you did not get this software from ftp.isc.org, pleaseget the latest from ftp.isc.org and install that beforerequesting help. If you did get this software from ftp.isc.org and have notyet read the README, please read it before requesting help.If you intend to request help from the dhcp-bugs at isc.orgmailing list, please read the section on the README aboutsubmitting bug reports and requests for help. Please do not under any circumstances send requests forhelp directly to the authors of this software - pleasesend them to the appropriate mailing list as described inthe README file. exiting. Cодержание файла etc/dhcpd.conf # Sample /etc/dhcpd.conf# (add your comments here)default-lease-time 600;ddns-update-style none;max-lease-time 7200;option subnet-mask 255.255.255.0;option broadcast-address 192.168.1.255;option routers 192.168.1.254;option domain-name-servers 192.168.1.1, 192.168.1.2;option domain-name "mydomain.org";INTERFACES="eth0";DHCPDARGS="eth0 eth1";subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.100; range 192.168.1.150 192.168.1.200;} dhcp установил последнюю версию с сайта isc.org/software/dhcp Копал, копал и нашел вот это:в файле etc/sysconfig/dhcpd указать:# Command line options hereDHCPDARGS=eth0не помогло!!!поставил айпи вручную, добавил в dhcpd.conf под сеть вайфая и пытался запуститьdhcpd -dзапустился... попытался запустит через команду service dhcpd start не получилось. в логе ничего внятного. В настройках сети указал Automatic DHCP подключилась но с тeми ж настройками что я указывал вручную... Показывает что подключена но пинг не видит сеть! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.