I added a static route to pihole dhcp server like explained here: Pihole DHCP: push a static route to clients - #2 by deHakkelaar
cat /etc/dnsmasq.d/99-my-settings.conf dhcp-option=option:classless-static-route,0.0.0.0/0,192.168.0.2,192.168.1.0/24,192.168.0.11
It's working great on my pc running linux:
ip route default via 192.168.0.2 dev wlan0 proto dhcp metric 600 169.254.0.0/16 dev wlan0 scope link metric 1000 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.235 metric 600 192.168.1.0/24 via 192.168.0.11 dev wlan0 proto dhcp metric 600
however my android tablet does not get it. It's running android Oreo, not rooted.
Any idea on how to solve this issue?