Can't get pihole to work on br0 interface

Whenever you run the updater pihole -up or repair/reconfigure pihole -r , dhcpcd5 will get reinstalled and mangle your IP setup!
Below how to prevent:

You want to assign a static IP to the bridge interface for at least two reasons I can think of.

  1. Make your hypervisor independent from your router's DHCP service so a router reboot wont affect your setup;
  2. If want to use Pi-hole's build in DHCP service, you would need to disable the DHCP service on the router in which case your hypervisor would lose IP settings.

Try assign static IP like below with 192.168.0.10 IP and /24 subnet mask as an example:

# The loopback network interface
auto lo
iface lo inet loopback

# The eth0 interface
iface eth0 inet manual

# The primary network interface
auto virbr0
iface virbr0 inet static
        address 192.168.0.10
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        bridge_ports    eth0
        bridge_stp      off
        bridge_maxwait  0
        bridge_fd       0

And run reconfigure to select bridge interface:

pihole -r

EDIT: !!!! I made mistake, virbr0 needs to be set to static !!!!
ARggggg static :wink: