Open
Milestone
1.0
The KEA+bind image needs to be finished and launch easily either as a docker compose or a docker run statement with minimal configuration variables (as environment variables) that are used only for first time setup.
On first setup it should generate an ipv6 range of addresses to use, a range of ipv4 addresses (most likely starting with 192.168.1.1/24) , a pair of tsig files (for bind and kea respectively), and configure kea4 and 6 to use the local bind9 server in the container.
Expected configuration environment variables
- ipv6 ranges - Optional, in format like
FD60::1-FD60::ffff, FD60::1:1-FD60::1:ffff
- ipv4 ranges - Optional, in format like
192.168.1.1/24:192.168.1.2-192.168.1.254,10.10.0.1/16:10.10.2.1-10.10.5.254:10.10.25.1-10.10.25.25
(Comma separated entries in the format ofsubnet:rangeA:rangeB(optional):rangeC(optional)
etc) - ddns fqdn - Optional, eg:
homelab.lan
- listen interface - Optional - eg:
eth0,eth1,eth2
. Kea requires a list of interfaces to listen on (On OpenWRT by default it'll probably bebr-lan
) . - DNS4 Servers - Semi-Optional - a list of dns servers to advertise to ipv4 clients. If you want DDNS to work inside your network you will need to set this.
- DNS6 Servers - Semi-Optional - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ipv6^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Routers - Required- comma seperate list of ip's to send as routers (eg, default gateway) to ipv4 clients. ipv6 uses Router Advertisements and has no concept of gateway routers.
Default environment variables if left unspecified
- ipv4
192.168.1.1/24:192.168.1.2-192.168.1.254
- ipv6 should randomly generate a range from the
FD00/7
prefix with a range of::1-::FFFF
(It will simply randomly replace the00
inFD00
in the range of00-FF
- fqdn
homelab.lan
- listen interface
*
- will listen on all available interfaces. Probably best not to listen on WAN interfaces. - DNS4 and 6 servers will likely be set to public CF or Google servers by default until I can figure out how to get the ip address of the interface that is responding to the dhcp request to advertise the addresses associated with that.
- Routers - Cannot be set automatically the same way as dns4 and 6 servers cannot be set automatically. Yet.
Loading
Loading
Loading
Loading