Skip to content

stefanriegel/docker-isc-dhcp-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone the Repository

Clone this repository to /srv/docker/isc-dhcp-server.

Configure the DHCP Server

Create a dhcpd/dhcpd.conf file. Each subnet's IP address will automatically be matched to the local network interfaces. Any subnet not specified will not listen on the corresponding interface.

This file can actually be created after running docker-compose, because the restart policy is set for always.

Build and run the container.

docker-compose up --build

Run the container manually

If you run the container manually, be sure to set the network to host, so that it can respond to link layer frames.

docker run -dt --name dhcpd \
  -v /srv/docker/isc-dhcp-server/dhcpd:/data \
  --network=host -p 67/udp \
  dhcpd

About

Dockerized DHCPd server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%