coredhcp:用Go编写的快速,多线程,模块化和可扩展的DHCP服务器
核心地址
用Go编写的快速,多线程,模块化和可扩展的DHCP服务器
这仍在进行中
配置示例
在CoreDHCP中,几乎所有东西都作为插件实现。 插件在配置中的顺序很重要:对每个请求进行评估,依次调用每个插件,直到一个中断评估并响应或丢弃该请求为止。
以下配置运行仅DHCPv6的服务器,使用自定义服务器ID和DNS侦听所有接口,并从文本文件读取租约。
server6:
# this server will listen on all the available interfaces, on the default
# DHCPv6 server port, and will join the default multicast groups. For more
# control, see the `listen` directive in cmds/coredhcp/config.yml.example .
plugins:
- server_id: LL 00:de:ad:be:ef:00
- file: "lea