> For the complete documentation index, see [llms.txt](https://learn.farizizwan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.farizizwan.com/devops-and-devsecops/kubernetes/poc-lab/high-availability-portable-mini-kubernetes-data-center-with-k3s/lab-4-network-configurations-and-tools.md).

# Lab 4:  Network Configurations & Tools

#### Network Router

I'm using Mercusys AX1800 Dual-Band Wi-Fi 6 Router

#### DNS Server

I have a DNS server that running on a VM's with DNSMasq installed. It serves as a DNS forwarder,caching and as a DHCP server.

Following is the configs.

#### DNSMasq Configs

```
domain-needed
bogus-priv
no-resolv
server=8.8.8.8
server=8.8.4.4
local=/home-cloud01.lab/
listen-address=::1,127.0.0.1,192.168.1.3
expand-hosts
domain=home-cloud01.lab
dhcp-range=192.168.1.4,192.168.1.255,24h
dhcp-range=192.168.2.1,192.168.2.255,24h
dhcp-option=option:router,192.168.1.1
dhcp-authoritative
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
```

As we can see, I set the listener address to `192.168.1.3` which means this is the endpoint I can use as my secondary DNS setting on any of my devices - PC's, laptops,mobile phone, smart home appliances etc.

The root domain is `home-cloud01.lab`.

At the time of writing this guide, I have multiple IP segmentations:

* `192.168.1.4,192.168.1.255` within this range, I use it for Pyshical and VM's based appliances.
* `192.168.2.1,192.168.2.255` within this range, I use it for the Kubernetes cluster

#### Deploy and Configure Nginx Ingress Controller
