>> Edit article
이름
제목
패스워드
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