DockerDHCPd4AP

DockerDHCPd4AP VNF: a docker-based DHCP Server for Wifi Access Point service.

Installation

To install/use this VNF you need to have an up and running Docker. To read more about Docker, please visit this link https://docs.docker.com/

First, you need to clone this repository:

1
git clone https://gitlab.forge.orange-labs.fr/lucy/caas/dockerdhcpd4ap.git

Then you need to add/modify two configuration files:

  1. dhcpd.conf (under config directory): you can use or modify the sample configuration file. Make sure to call it dhcpd.conf. Otherwise, you need to change the name of this file in the following config file.
  2. envrc: you can modify the existant file to adapt it to your specific environment.

Once you setup configuration, you can run the service by typing:

1
sudo ./service start

To stop the service you can type:

1
sudo ./service stop

Example of output

This is an example of the service output:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 ____             _             ____  _   _  ____ ____  ____
|  _ \  ___   ___| | _____ _ __|  _ \| | | |/ ___|  _ \/ ___|_   ___ __
| | | |/ _ \ / __| |/ / _ \ '__| | | | |_| | |   | |_) \___ \ \ / / '__|
| |_| | (_) | (__|   <  __/ |  | |_| |  _  | |___|  __/ ___) \ V /| |
|____/ \___/ \___|_|\_\___|_|  |____/|_| |_|\____|_|   |____/ \_/ |_|

[INFO] Ckecking service dependencies
[INFO] hostap VNF is up and running, so going on
[INFO] Docker image lucy/dhcpserver:0.1 found
[INFO] Creating container's netwoking
[INFO] Lanching the docker container dhcpserver
448a9cdbb2a2d27ea9bf9d92c99ec24c9a21d69ee3e68215e42286a34b11516a

Notes

The Docker image contains some utility/networking tools. You can remove them if you want.

DockerDHCPd4AP authors

  • Ayoub Bousselmi, Orange
  • Sofiane Imadali, Orange

Original DockerDHCPd authors

  • jcbiellikltd

Release notes

  • Version 0.1 provides basic docker-based DHCP Server for x86_64 architecture.