I am trying to setup isc-dhcp-server and Bind9 in the same and different LXC containers. However, I am having difficulties to set the right bridge and ip configurations both on the host and container side to a get valid link between them.
I have following computers to test this project.
Host PC: Ubuntu 18.04,
interfaces: wlan0(IP:10.0.3.96/24, connected to AP to access to the Internet) and
eth0(will link/serve LXD/LXC ubuntu16.04 containers to run services for LAN)
Client PC : Ubuntu 16.04,
interfaces: wlan0 (IP:10.0.3.99/24, connected to AP to access to the internet) and
eth0(will connect to LAN/LXC containers to get dhcp and bind9 services)
AP Router: The Router has the IP range of 10.0.3.96-10.0.3.99/24, GW:10.0.3.95. I would like to use my LXC container as a Redundancy dhcp server to serve IP addresses in the LAN with the IP range of 10.0.3.91-10.0.3.94.
Thanks in advance!