Giter VIP home page Giter VIP logo

yoo-isc-dhcpd's Introduction

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.

yoo-isc-dhcpd's People

Contributors

wptad avatar liusongpeng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.