dhcp server #7

  • By tengu-bot
  • Latest version (#7)
  • trusty
  • Stable

Description

isc-dhcp server


Overview

This Charm configures a server to act as an ISC dhcp-server. If the dhcp broadcast interface is different from the interface the default gateway is on, then this Charm configures the host as a NAT gateway for the dhcp network.

Usage

To add te gateway to your environment:

juju deploy dhcp-server

Configuration

  • dhcp-network: Network the dhcp-server should broadcast to. It will decide what interface to broadcast to based on this network. default: '192.168.14.0/24'

  • dhcp-range: Range that dhcp-server should distribute. default: '192.168.14.50 192.168.14.253'

  • port-forwards: This option takes a list of json objects. Each object represents a requested port forward. default: "[]"

Example configuration:

dhcp-server: port-forwards: | [{ "public_port": "9999", "private_port": "21", "private_ip": "192.168.14.2", "protocol": "tcp" }, { "public_port": "5001", "private_port": "5000", "private_ip": "192.168.14.152", "protocol": "tcp" }]

  • portrange: The start port of the range to use for dynamically assigning port forwards. When a Charm requests a port forward, it will be assigned a port starting from the portrange. default: 29000

Contact Information

Bugs

Report bugs on Github.

Authors

This software was created in the IBCN research group of Ghent University in Belgium. This software is used in Tengu, a project that aims to make experimenting with data frameworks and tools as easy as possible.

Configuration

dhcp-network
(string) Network the dhcp-server should broadcast to.
192.168.14.0/24
port-forwards
(string) json object that specifies what ports should be forwarded. Example config file: dhcp-server: port-forwards: | [{ "public_port": "9999", "private_port": "21", "private_ip": "192.168.14.2", "protocol": "tcp" }, { "public_port": "5001", "private_port": "5000", "private_ip": "192.168.14.152", "protocol": "tcp" }]
[]
dhcp-range
(string) Range that dhcp-server should distribute.
192.168.14.50 192.168.14.253
portrange
(int) The start port of the range to use for dynamically assigning port forwards. When a Charm requests a port forward, it will be assigned a port starting from the portrange. Note: when the hauchiwa creates a port-forward, it will start from portrange + 1000.
29000