gacpac Posted January 25, 2019 Share Posted January 25, 2019 (edited) Hi, I just setup my pihole and other dockers, which I want to use local network with an IP, which is easy to setup by network type to custom and pick Br0 My problem is why I cannot ping this docker or access it via the VPN. It doesn't make sense because I'm accessing the local network not any bridge. I'm using OpenVPN-AS and this are the networks I have enabled to access Maybe I'm missing something. Edited August 19, 2020 by gacpac Quote Link to comment
ken-ji Posted January 26, 2019 Share Posted January 26, 2019 if you only have one network interface and no VLAN support, the docker engine will not let you access the access the custom network from the host and vice-versa. So the host and dockers in host or bridge mode cannot talk to dockers on the custom network. Its a known thing since from when the docker custom networks was supported in 6.3 Quote Link to comment
gacpac Posted January 26, 2019 Author Share Posted January 26, 2019 I have different custom networks for my dockers and they work fine. One for proxynet, one for PIA VPN access. So to rephrase that answer. Docker engine won't will not let me access a custom network, That is not part of the docker engine. Based on what you say, nothing I do on the OpenVPN-as settings will make that work. My question is, how can I overcome that situation? Quote Link to comment
ken-ji Posted January 26, 2019 Share Posted January 26, 2019 tl;dr With one network interface, you can't some helpful articles... 2 Quote Link to comment
gacpac Posted January 26, 2019 Author Share Posted January 26, 2019 tl;dr With one network interface, you can't some helpful articles...[/url] That's set by design I see because of the VLAN. In this case I might be able to create a static route from the router to the VPN docker network. And if it doesn't work then I guess I need to buy a 2nd NIC to make custom network br1 talk to br0Sent from my Pixel 2 XL using Tapatalk Quote Link to comment
therapist Posted January 29, 2019 Share Posted January 29, 2019 On 1/26/2019 at 4:16 PM, ken-ji said: tl;dr With one network interface, you can't some helpful articles... Thank you! Ran into an issue with NginxProxyManager routing to dockers on br0 Was able to set up a docker VLAN and get everything sorted in like 10 minutes Quote Link to comment
ceyo14 Posted April 27, 2020 Share Posted April 27, 2020 On 1/28/2019 at 9:51 PM, therapist said: Thank you! Ran into an issue with NginxProxyManager routing to dockers on br0 Was able to set up a docker VLAN and get everything sorted in like 10 minutes Can you specify what you did. I believe it is exactly my scenario... Quote Link to comment
alturismo Posted April 27, 2020 Share Posted April 27, 2020 1 hour ago, ceyo14 said: Can you specify what you did. I believe it is exactly my scenario... meanwhile there is a nice option ... since 683 when i remember ... 1 3 Quote Link to comment
ceyo14 Posted April 27, 2020 Share Posted April 27, 2020 9 hours ago, alturismo said: meanwhile there is a nice option ... since 683 when i remember ... OMG... so simple yet I've spent so much time on trying to see what is wrong here..... I thought it was either my router or a DNS issue..... (I'm using pi-hole and Untangle) Damn Hidden Advanced Setting, I always forget to open them... Quote Link to comment
ceyo14 Posted June 28, 2020 Share Posted June 28, 2020 ok, so I have Host Access to custom networks Enabled, but for some reason it doesn't work all the time... I was trying to access Nitwarden and it would not ping from terminal and Nginx Proxy Manager was giving me a 502 error, I restarted both and the issue was still the same, I remembered I had to disable and enable the option for it to work a while back, was going to try it yesterday but I was using NPM to access the Unraid GUI so I couldn't... I did this now and it fixed my issue again... What can I do the prevent this from happening again? is there a script I can run that would replicated this disabling and enabling? or make a seperate vlan for this manually? if so how? Quote Link to comment
OFark Posted September 13, 2020 Share Posted September 13, 2020 I too am seeing this error. I have the Access to custom networks enabled, but upon restart access has been lost. Disable Docker, Apply, disable access to custom networks, Apply, Re-enable Docker and access to customer networks and boom back again. A touch frustrating. Quote Link to comment
nekromantik Posted September 28, 2020 Share Posted September 28, 2020 hi all So I got a server thats running Unraid with 1 NIC. I then set up a custom bridge network but set it to same subnet mask as my LAN network. If I got containers running in the same custom bridge network then they cant seem to connect to one another. Is this normal? Do I need custom network with different subnet then my LAN? Quote Link to comment
shaybraham Posted January 12, 2021 Share Posted January 12, 2021 On 6/28/2020 at 8:13 AM, ceyo14 said: ok, so I have Host Access to custom networks Enabled, but for some reason it doesn't work all the time...I remembered I had to disable and enable the option for it to work a while back... I did this now and it fixed my issue again... On 9/13/2020 at 5:04 AM, OFark said: I too am seeing this error. I have the Access to custom networks enabled, but upon restart access has been lost. Disable Docker, Apply, disable access to custom networks, Apply, Re-enable Docker and access to customer networks and boom back again. A touch frustrating. Oh man! Thanks guys! I had these issues with my HomeAssistant VM and a mariadb container months ago and started getting them again over the weekend after restarting my unraid host. It took me hours to find this thread that lead to the solution that I no doubt implemented back then. I'm assuming this (the need to disable and reenable for it to take effect) is some sort of bug then that needs to be fixed? Quote Link to comment
swan Posted January 15, 2021 Share Posted January 15, 2021 On 1/12/2021 at 1:17 AM, shaybraham said: Oh man! Thanks guys! I just want to second this, thanks guys! Had a power failure that brought down my Unraid server and after reboot, my Home Assistant docker that is running as host couldn't connect to my Deconz docker running as br0. Tried everything with no success until I found this thread! This is a nasty bug that should be fixed ASAP! Quote Link to comment
ceyo14 Posted January 17, 2021 Share Posted January 17, 2021 is there even a bug report submitted regarding this? Quote Link to comment
alturismo Posted January 19, 2021 Share Posted January 19, 2021 well, may try to play the scenario when you loose the settings and save the logs and open a report, as it doesnt seem to be a general issue (i maintain 4 servers with this option) and never had this and of course also sometime reboot (soft or hard) this hasnt been reported yet afaik. Quote Link to comment
ceyo14 Posted January 19, 2021 Share Posted January 19, 2021 I believe even a soft reboot causes this. but please do try it to make sure. I opened this report, please reply there.... Quote Link to comment
alturismo Posted January 19, 2021 Share Posted January 19, 2021 3 hours ago, ceyo14 said: I believe even a soft reboot causes this. but please do try it to make sure. I opened this report, please reply there.... im using this feature since day 1 i believe and never had this issue, so nothing to report from me Quote Link to comment
BlueRyuu Posted February 10, 2021 Share Posted February 10, 2021 I just had this issue today after a power failure, I was getting crazy trying to find why my Home Assistant docker on host would not comunicate with my caddyv2 docker on custom br0 network. Had to turn off host access to custom networks on docker settings and then enable it again. This is annoying. My house was full lit for hours because my mom only knows how to turn off the lights with Google Assistant :| Quote Link to comment
gacpac Posted February 11, 2021 Author Share Posted February 11, 2021 Lol yeah man unraid networking is crazy. Sent from my Pixel 2 XL using Tapatalk Quote Link to comment
vakilando Posted February 17, 2021 Share Posted February 17, 2021 Sadly I have the same issue.... My Home Assistant Docker (host network) has lost connection to my ispyagentdvr docker container (custom br0.6 network) twice. Stopping and starting the docker service solves this issue. I have two NICs and four VLANs. Quote Link to comment
plindeman Posted February 23, 2021 Share Posted February 23, 2021 Problem seems to be docker to be started to early when not all networking is ready after the boot. When I restart docker via the web GUI then the communication is working after all containers have been started. It's not working after a clean boot Quote Link to comment
itimpi Posted February 23, 2021 Share Posted February 23, 2021 1 hour ago, plindeman said: Problem seems to be docker to be started to early when not all networking is ready after the boot. When I restart docker via the web GUI then the communication is working after all containers have been started. It's not working after a clean boot If you go into the Advanced view on the Docker tab you can: re-order the start up order set delays after one docker container is started before attempting to start another one Using this might allow to use values that mean you do not encounter this issue. another possibility would be to use the User Scripts plugin to run a script after array start to automatically restart any docker that needs it. Quote Link to comment
ceyo14 Posted April 19, 2021 Share Posted April 19, 2021 On 2/23/2021 at 2:10 PM, itimpi said: If you go into the Advanced view on the Docker tab you can: re-order the start up order set delays after one docker container is started before attempting to start another one Using this might allow to use values that mean you do not encounter this issue. another possibility would be to use the User Scripts plugin to run a script after array start to automatically restart any docker that needs it. I tried this but it didn't work because docker engine would start before the router VM and the networking side was not as expected... I still had to restart docker for it to do the networking correctly. I tried to make docker engine start delayed using a user script but it didn't quite work as I expected (script kiddie here).... Then after sometime after upgrading to 6.9.1 I checked after a reboot and this whole issue appears to have been corrected by the update. so to me this is no longer an issue. Quote Link to comment
gacpac Posted April 19, 2021 Author Share Posted April 19, 2021 I tried this but it didn't work because docker engine would start before the router VM and the networking side was not as expected... I still had to restart docker for it to do the networking correctly. I tried to make docker engine start delayed using a user script but it didn't quite work as I expected (script kiddie here).... Then after sometime after upgrading to 6.9.1 I checked after a reboot and this whole issue appears to have been corrected by the update. so to me this is no longer an issue.To me something happen where I had to recreate my docker image, but that don't matter to me really as all the appdata is in the right placeSent from my Pixel 2 XL using Tapatalk Quote Link to comment
Recommended Posts
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.