dhcp 서버를 만드는중 에러가 나네요.

dragona79의 이미지

서버는 페도라 코어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은 랜선에 물려 있지 않은지 활성화 되지 않더군요.

워낙 초보라 도움좀 주세요~

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.