Discover Packages
github.com/nextdhcp/nextdhcp
plugin
static
package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Jan 23, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
title: "static"
date: 2019-09-20T19:00:00+02:00
draft: false
static
Name
static - MAC address based static IP addresses
Description
The static plugin allows configuration of static IP address based on the MAC address of the requesting client
Syntax
static MAC IP
where
MAC is the MAC address of the client (like "aa:bb:cc:dd:ee:ff") and
IP is the IP address that should be assigned (like "192.168.0.10")
Examples
10.1.0.1/24 {
leaseTime 1h
static 00:aa:de:ad:be:ef 10.1.0.10
range 10.1.0.100 10.1.0.200
}
Expand ▾
Collapse ▴
Documentation
¶
Plugin allows assignment of static IP addresses to clients
based on the MAC address. It implements plugin.Handler
Name returns "static" and implements plugin.Handler
ServeDHCP serves a DHCP request and implements plugin.Handler. If the requesting MAC
address of the client is configured a static IP lease will be sent
Source Files
¶
Click to show internal directories.
Click to hide internal directories.