-
-
Unable to communicate with host containers from an bridged container on a separate VLAN (br0.x)
Hello, im running on Unraid 7.2.6 and for the last months i have been trying to get an network bridged container to communicate with another container on the host network (or any custom created docker network). For example i have Youtarr running that needs a mariadb container to connect to. For that i placed the Youtarr container on br0.10 given an ip of 192.168.100.20. For mariadb i set it to an bridge network i created with docker network custom net-documentation. IP getting assigned automatically Now when i run Youtarr on br0.100 with an staticp ip of x.x.100.20 i end up getting no connection to the maria-db container. I can reach anything else that's not running on the host network (like sabnzbd) But when i run Youtarr on br0 with an staticp ip of x.x.10.9 i do get an connection to the maria-db container without issues. Unfortunately i need all *arr apps to be on this network as this vlan routes it through my VPN on my Unifi Firewall. I looked up all interfaces and my theory is that there is no shim interface setup for the br0.100, br0.110 and all other VLANs. I only find this interface: 23: shim-br0@br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 6a:ec:aa:55:17:3d brd ff:ff:ff:ff:ff:ff inet 10.10.10.6/24 scope global shim-br0 valid_lft forever preferred_lft forever No mention of br0.100 or other VLANs. Does anyone know how i can fix this or what else can be done so containers in a ipvlan or macvlan (i tried this one too - didn't work) can communicate with the host from another VLAN. I tried to figure it out months ago but was never able find out why unraid (or docker) drops packets. I can conclude it's not a firewall as on my Unifi Fiber i see the IP x.x.100.20 is allowed with Port 3306 to send traffic to 10.10.10.6. From the start Host access to custom network was always enabled. The ipvlan br0 interfaces do work. So VLAN tagging is set correctly. I have sabnzbd running with br0.100 and set the dns manually and it can reach out the internet. But nothing on my host. I already looked up other posts but those mention the interface not working or the br0 shim interface not being created. Mine is there but i believe the other interfaces for the VLANs are missing.. I add some screenshots. Maybe im missing something obvious... Thanks. my docker network ls: NETWORK ID NAME DRIVER SCOPE ceaa38c1e700 br0 ipvlan local # my main vlan on 10 e9fde54d30db br0.100 ipvlan local # for example youtarr, sabnzbd, radarr, etc.. 8c3215c9b9ed br0.110 ipvlan local 34ed7f1ff91d br0.250 ipvlan local 63879caa2029 br0.1050 ipvlan local de0f27e15fcb bridge bridge local 8db987f9bc60 host host local da143d229528 net-arr_stack bridge local 42fd747b99da net-default_docker bridge local 91a1b38358fa net-documentation bridge local # mariadb and other databases 97d96f7962aa none null local
-
Cannot access bridged containers via another conatiner
Enable the "Host access to custom networks:" option and it should work. I had the same problem when i started with Unraid and with npm and it would get me only a 502 Bad Gateway Error when i tried to access for example Pihole WebUI running on br0. Use ipvlan (so you don't get an duplicate ip warning from your router) and enable the host access option.
soulfish
Members
-
Joined
-
Last visited