>> Delete No. 22552 article
No. dhcpd ?

등록 2001-03-02 16:29:00 By localhost     조회 2
이름 trustno1    

		ipchains로 사설아이피를 줘서 클라이언트를 관리하다가 귀찮아져서 dhcp를 서비스 해 주기
로 마음먹었습니다. 그래서 dhcpd.conf를 설정했는데, dhcpd 를 실행하면 다음과 같은 에러가 
나면서 작동이 되지 않습니다.  ...
No subnet declaration for eth1(172.31.0.1).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth1 is attached.
exiting.
 dhcpd.conf 파일은 다음과 같이 작성
 default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.0.0;
option broadcast-address 172.31.255.255;
option routers 172.31.0.1;
option domain-name-servers xxx.xxx.xxx.xxx, 168.126.63.1;
option domain-name "mydomain.com";
 subnet 211.0.0.0 netmask 255.0.0.0 {
        range 211.0.0.1 211.0.0.250;
}                                                   
 eth0 → 실아이피
eth1 → 172.31.0.1
 rc.firewall의 dhcp관련 옵션은 주석을 풀고 설정을 했거든요.
그리고 255.255.255.255에 대한 route도 해줘야 한다고해서 route add해서 했습니다.
 뭐가 틀렸죠? eth1에 대해 다시 뭘 설정해 줘야 합니까...? rc.firewall에서 잘못했나...
답변해 주시면 감사하겠습니다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved