dhcp 서버를 만드는중 에러가 나네요.
서버는 페도라 코어3 사용하고 있습니다.
dhcp서버를 쓰기 위하여 월래 회사에 들어오는 인터넷이 공유기를 통해
eth0 으로 물려 있고요
다른 컴퓨터에 연결하기위해 이더넷 카드를 설치해서 eth1로 잡혔습니다.
dhcp.conf는
default-lease-time 600;
max-lease-time 7200;
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option domain-name-servers 198.41.0.4, 128.9.0.107;
option domain-name "andrew.com";
allow bootp;
shared-network BOGUS{
subnet 192.168.1.0 netmask 255.255.255.0{
option routers 192.168.1.101;
range 192.168.1.1 192.168.1.254;
}
}
host mbx{
hardware ethernet 00:A0:B0:0D:50:8B;
fixed-address 192.168.1.20;
filename "/tftpboot/192.168.1.21/zImage";
default-lease-time -1;
server-name "dragona.com";
server-identifier 192.168.1.101;
option host-name "mbx";
}
이렇게 설정 되어 있고요.
/etc/sysconfig/dhcpd 는
# Command line options here
DHCPDARGS=eth1
이렇게 되어 있습니다.
/sbin/service dhcpd start를 실행하면
[root@localhost /]# /sbin/service dhcpd start
dhcpd (을)를 시작합니다: Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
No subnet declaration for eth1 (0.0.0.0).
** Ignoring requests on eth1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth1 is attached. **
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-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.
이런 메세지가 나옵니다.
네트워크 카드 설정을 보면 eth0은 활성화 되어있는데
eth1은 랜선에 물려 있지 않은지 활성화 되지 않더군요.
워낙 초보라 도움좀 주세요~
댓글 달기