No connection to NAS with a Router

Posted on

Problem :

I have following Network Devices

  • InternetBox: VDSL Modem+Router 2in1 (4x LAN + WLAN)

    IP (192.168.1.1) – Located in Basement

  • Router: Netgear WNDR3700v5 Router (4x LAN + 1WAN + WLAN)

    IP (192.168.0.1) wich is connected to the InternetBox via LAN – Located in 2nd Floor

  • NAS: Synology DS214 (1x LAN)

    IP DHCP(192.168.1.113) if its connected to InternetBox

    IP DHCP(192.168.0.4) if its connected to the Router


When I connect the NAS to the Internet Box, everything works fine. But when I connect the NAS to the Router, only devices that directly connectet to the Router has access to the NAS.

But I’d like to get access from every devices in my house.

I’ve tried to change the NAS’s IP manually to the Internet xBox’s IP(Gateway ect.) but it doesn’t work.

Can someone give me Hint, what am I doing wrong? Please note: I’m a beginner.

Solution :

I read your network description as this:

Network diagram

Note that your router here has at least two network interfaces. One on the ‘blue network’ and one on the ‘green network’. These are two separate networks.

If you connect the NAS to the ‘Internet box’ then it will need an IP in the 192.168.1.0/24 range. This IB knows how to reach devices on it local (green) network. If it is not on the known list then it tries to access them via the default gateway. (In your case the route to the Internet).

Unless told it does not know about the blue network! It should not be able to reach any devices on that blue network untill you add a route. (See
https://serverfault.com/questions/49765/how-does-ipv4-subnetting-work for more explanation on IPv4 and routing). However your router might actually understand routing and do something helpful here,

Now if you connect the NAS to the blue network then it is on the same network as all other devices on the blue network. All of these can reach it, but devices directly connected to the green network should not know about it. Not until you add a route for it. Just how you do that depends on your device. For many linux like distributions it would be something like route add -net 192.168.0.0 netmask 255.255.255.0 eth0. For many consumer devices it might be something done via GUI. Without more information we can not tell.

PS: I assumed your router is an actual router and that you are not using a double NAt or something equally ugly.

Leave a Reply

Your email address will not be published. Required fields are marked *