Jump to content

Recommended Posts

Posted

сервер centos 6.6 final. 
запускаю dhcpd -d:
 

 Internet Systems Consortium DHCP Server 4.2.7
Copyright 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, please
get the latest from ftp.isc.org and install that before
requesting help.
 
If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-bugs at isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.
 
Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the 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 here
DHCPDARGS=eth0


не помогло!!!

поставил айпи вручную, добавил в dhcpd.conf под сеть вайфая и пытался запустить

dhcpd -d

запустился... попытался запустит через команду 

service dhcpd start не получилось. в логе ничего внятного. В настройках сети указал Automatic DHCP подключилась но с тeми ж настройками что я указывал вручную... Показывает что подключена но пинг не видит сеть!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...