에너지
[Raspberry] DHCP 서버 만들기
hyeok0724.kim@gmail.com
2020. 7. 27. 10:55
반응형
Index
1. isc-dhcp-server 설치
2. dhpcd.conf 파일을 수정함
3. isc-dhcp-server 수정
4. 'eth0' 고정 IP 주소 설정
5. isc-dhcp-server 실행
6. 동작 확인
1. isc-dhcp-server 설치
- 설치하면 아래와 같이 오류가 발생 할 것이다. 설정을 하지 않았기 때문에 발생함
- bugs on either our web page at www.isc.org or in the README file
- before submitting a bug. These pages explain the proper
- process and the imformation we find helpful for debugging.
- exiting.
2. dhpcd.conf 파일을 수정함
- IP 할당 범위: 192.168.0.10 ~ 192.168.0.20
3. isc-dhcp-server 수정
- DHCP 서버가 'eth0'을 통하여 네트워크 주소를 할당함
4. 'eth0' 고정 IP 주소 설정
- eth0은 고정으로 가지만 wlan0은 wifi 접속하여 IP를 받아야하기에 다음과 같이 설정해주어야함
5. isc-dhcp-server 실행
6. 동작 확인
- PC의 IP 할당
- 라즈베리파이 고정IP
반응형