Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goyoo/yoo-isc-dhcpd
isc-dhcpd service based on debian, supports custom configuration
https://github.com/goyoo/yoo-isc-dhcpd
Last synced: about 2 months ago
JSON representation
isc-dhcpd service based on debian, supports custom configuration
- Host: GitHub
- URL: https://github.com/goyoo/yoo-isc-dhcpd
- Owner: Goyoo
- License: mit
- Created: 2015-08-18T09:44:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-18T10:08:34.000Z (over 9 years ago)
- Last Synced: 2023-03-03T05:57:00.261Z (almost 2 years ago)
- Language: Shell
- Size: 90.8 KB
- Stars: 5
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yoo DHCP Service Based On Docker
## Install
* Pull yoo-isc-dhcpd Image
```
Docker pull goyoo/yoo-isc-dhcpd
```
* Custom Configuration
docker kill dhcpd; docker rm dhcpd; docker run --net=host -d --name dhcpd -v /opt/dhcpd:/conf goyoo/yoo-isc-dhcpd
* Edit File: `/opt/dhcpd/custom.conf`
```
subnet 192.168.8.0 netmask 255.255.255.0 {
range 192.168.8.100 192.168.8.200;
option routers 192.168.8.1;
option domain-name "localhost";
option domain-name-servers 114.114.114.114;
host host-1-1 { hardware ethernet 00:25:91:fd:f9:9d; fixed-address 192.168.8.20;}
host host-1-2 { hardware ethernet 00:25:91:fc:9b:e9; fixed-address 192.168.8.21;}
}```
* RUN Service
```
docker run --net=host -d --name dhcpd -v /opt/dhcpd:/conf goyoo/yoo-isc-dhcpd
```* ` Error response from daemon: Conflict`, try to rm old image and run again
```
docker kill dhcpd;
docker rm dhcpd;```
* `NOTE`: You can replace `/opt/dhcpd` folder as you want.
## Furthermore Configuration
if you want to replace `dhcpd.conf`, just simple add `dhcpd.conf` file in `/opt/dhcpd/` folder.