-
Hi and thank you for your app. So what is the correct way to configure Nebula-Sync in this setup of Pi-Hole also acting as the DHCP server? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @jpbaril Are you looking at turning off dhcp completely for the second pihole? If so, you can use selective sync and skip syncing the dhcp settings to the replica, then just turn off the dhcp server on the replica as well:
Rest of the sync settings you may leave on or off depending on what you need |
Beta Was this translation helpful? Give feedback.
-
For sure can run several DHCP Server in the same subnet. But they should not have the same dhcp range. So you can configure pi-hole master by using 192.168.1.50 to 192.168.1.100 and the backup pi can use .101 up to 150 The trick is to set a delay in the config for backup pi to answer some seconds later (I use 2s) so the master pi is always the first who is answering for request. In case of failure (master offline, backup online) the dhcp will answer a bit slower than regular. But, I don’t know if nebula does sync the static dhcp settings list without sync the other dhcp settings. You don’t want to sync the settings because then it will duplicate the dhcp ranges. But you want to sync the static list because you may want them global in your network. Maybe it’s also possible to use keepalived to remove the delay config in case of switch to backup pi and set it back when master is online again. It’s just a line in config file. |
Beta Was this translation helpful? Give feedback.
Hi @jpbaril
Are you looking at turning off dhcp completely for the second pihole?
If so, you can use selective sync and skip syncing the dhcp settings to the replica, then just turn off the dhcp server on the replica as well:
FULL_SYNC=false
SYNC_CONFIG_DHCP=false
Rest of the sync settings you may leave on or off depending on what you need