My Network Setup consists of two Routers, one LTE Router (Router 1) working as a Gateway to the Internet, the other one (Router 2) working as Access Point in order to expand the network accessibility.
In addition, a RPi Zero running Pi-Hole acts as the DHCP Server of the Network.
Expected Behaviour:
Pi-Hole (DHCP) should be capable of reaching every device within my network and assign the correct IPs.
Actual Behaviour:
Devices connecting via Router 2 get IPs outside the specified range e.g 169.254.246.237 --> Pi-Hole DHCP somehow can't communicate with devices connected to Router 2.
Network Setup:
Router 1:
- Model: Huawei E5186s-22a. (Sometime advertised as "Huawei Webgate")
- Firmware: 21.306.01.07.22 (Standard Huawei Firmware)
- IP: 192.168.1.1
- DHCP is deactivated.
- This Router establishes the connection to the internet.
Router 2
- Model: Linksys WRT54GS Version 6
- Firmware: DD-WRT v3.0-r40559 micro (08/06/19)
- IP: 192.168.1.2
- Subnet Mask: 255.255.255.0
- Gateway: 192.168.1.1
- Local DNS: 192.168.1.1
- DHCP is deactivated.
- This router works as Access Point and has been configured according to this Guide (Normal Version (Same Subnet)
Router 1 and Router 2 share one Wireless SSID but work on different channels.
DHCP Server:
- Model: RPi Zero with Pi-Hole installed
- Pi-hole version is v4.3.2 (Latest: v4.3.2)
- AdminLTE version is v4.3.2 (Latest: v4.3.2)
- FTL version is v4.3.1 (Latest: v4.3.1)
- IP: 192.168.1.10
- DHCP enabled:
- DHCP Range: 192.168.1.100 - 192.168.1.250
- Router (gateway) IP address: 192.168.1.1 (Router 1)
- Enable IPv6 support (SLAAC + RA) --> Enabled
- Enable DHCP rapid commit (fast address assignment) --> Enabled
Wiring:
- There's a wired ethernet connection between Router 1 LAN 1 and Pi-Hole (DHCP).
- There's a wired ethernet connection between Router 1 LAN 2 and Router 2 LAN 1.
Solution:
It turned out Router 1 has a LAN/WAN Port. As soon as I plugged Pi-Hole into that Port, everything started working.
Final working wiring setup:
- There's a wired ethernet connection between Router 1 LAN/WAN Port and Pi-Hole (DHCP).
- There's a wired ethernet connection between Router 1 LAN 1 and Router 2 LAN 1.