Container connecting to an external computer in the network

As the title says. I have an Music Player and a Music Library Manager in my expandable Docker Host, but for storage constraints, the database and files reside outside the host, inside another machine (NAS) of the same network.

https://i.imgur.com/3Uil8Cv.png

I've setup static IP for those for obvious reasons, but while the container has access to the router with DHCP for Internerds (172.16.0.1), and a ping to there works, a ping to 172.16.1.1 doesn't works (Host) and neither 172.16.1.2 (NAS). So I can't reach the database nor the files.

What should I do to successfully connect the container to the external machine?

submitted by /u/DarkGhostHunter
[link] [comments]
Source: Reddit