DHCP 도와주세요...

안녕하세요..
한컴리눅스 2.2 를 설치하여 DHCP 설정하였는데
이상하게도 처음에 한번 되더니 그다음에 안되더라고요..
그런데 오늘다시 켜보니.. 분명히 ps -ef |grep dhcp 에는
데몬이 안떠 있는데..
내부내트웍의 윈도우 컴타가 인터넷이 잘되는거에요..ㅡㅡ;;
stop 나 start , restart 등을 하면 이런메시지가 나와요..
=====================================================
[root@localhost init.d]# ./dhcpd stop
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_stopping command not found
======================================================
[root@localhost init.d]# ./dhcpd restart
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_stopping command not found
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_starting command not found
Internet Software Consortium DHCP Server V3.0
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http//www.isc.org/products/DHCP
** You must add a ddns-update-style statement to /etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad-hoc;"
Please read the dhcpd.conf manual page for more information. **
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-server@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.
===============================================================
dhcp 설정파일은 아래와 같아요.........
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
ddns-update-style ad-hoc;
}
=============================================================
도대체 뭐가 문제이지요??? 왜 됬다 안됬다 하는거지요?
데몬은 왜 또 안뜨는거지요??
Re: DHCP 도와주세요...
이렇게 해보세요.
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
}
다은 wrote..
안녕하세요..
한컴리눅스 2.2 를 설치하여 DHCP 설정하였는데
이상하게도 처음에 한번 되더니 그다음에 안되더라고요..
그런데 오늘다시 켜보니.. 분명히 ps -ef |grep dhcp 에는
데몬이 안떠 있는데..
내부내트웍의 윈도우 컴타가 인터넷이 잘되는거에요..ㅡㅡ;;
stop 나 start , restart 등을 하면 이런메시지가 나와요..
=====================================================
[root@localhost init.d]# ./dhcpd stop
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_stopping command not found
======================================================
[root@localhost init.d]# ./dhcpd restart
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_stopping command not found
SIOCADDRT 파일이 존재합니다
./dhcpd is_no command not found
./dhcpd msg_starting command not found
Internet Software Consortium DHCP Server V3.0
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http//www.isc.org/products/DHCP
** You must add a ddns-update-style statement to /etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad- hoc;"
Please read the dhcpd.conf manual page for more information. **
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-server@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.
===============================================================
dhcp 설정파일은 아래와 같아요.........
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.2 192.168.1.60;
default-lease-time 86400;
max-lease-time 86400;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
option subnet-mask 255.255.255.0;
option domain-name-servers 192.168.1.1;
ddns-update-style ad-hoc;
}
=============================================================
도대체 뭐가 문제이지요??? 왜 됬다 안됬다 하는 거지요?
데몬은 왜 또 안뜨는거지요??
댓글 달기