February 23, 20242 yr I am having issues assigning a static IP to my PiHole docker container. I have tried following several different PiHole guides. Either something is wrong with my network settings or all PiHole guides are out of date. The custom IP is on the left, my unraid server IP is on the right. if I understand correctly 192.168.2.1 should be on both sides. I cannot connect to it with any of the ip addresses/port below. Another note is that br0 is not available as a custom network option. I turned bridging off and on, that did not bring it back, so I created a new custom network. Thank you. mcp-diagnostics-20240223-1017.zip
February 23, 20242 yr Hi, Here are my (i) pihole docker container settings; (ii) Unraid network setting; and (iii) docker settings. They work on my system. My router is set to use 192.168.92.2 as primary DNS server address.
February 23, 20242 yr Author Thank you. I am thinking the issue is with br0 interface. Even though it is now enabled, I cannot select br0. Unraid Docker Settings: Pihole Docker settings: Edited February 23, 20242 yr by chuckbucket
February 23, 20242 yr Have you tried stopping the array before enabling bridging, and then starting back the array ? Also, are your other settings the same as mine ? Edited February 23, 20242 yr by Opawesome
February 24, 20242 yr Author yes. they all look the same. I had the br0 disabled on the docker settings page, but have since enabled it. I have shut down the array multiple times toggled bridging mode several times.
February 24, 20242 yr Solution Can you try maybe deleting the 192.168.2.0/8 custom docker network ? This /8 CIDR seems very wrong to me on the 192.168.X.X range, as it may overlap with the 192.168.1.0/24 network. Edited February 24, 20242 yr by Opawesome
February 24, 20242 yr I indeed see "br-fccdcfbfa4d2 UP 192.168.1.1/8" in the ifconfig file of your diagnostics, which is overlapping with your 192.168.1.0/24 LAN. That could be the issue. I would try deleting this custom docker network. Edited February 24, 20242 yr by Opawesome
February 26, 20242 yr Author Issue is resolved. I had the br0 network disabled. I could not find how to enable it so I created a custom network which overlapped br0 once it was enabled. Solution: I removed the custom network. disabled Docker. disabled IPv4 custom network. saved. enabled IPv4 custom network. saved. Enabled Docker. saved, Here are the settings that worked: Thank you for the help Opawesome.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.