2

I have 2 floors, Internet modem (Huawei HG532e) is upstairs, I needed Internet coverage on both floors, so I decided to install a Powerline network because the Wi-Fi wasn’t enough since I have thick walls and floors.

The Powerline go downstairs, and it is connected to a router.

I normally access the NAS using SMB (Samba), NFS and/or uPnP. When I go to Network on a Windows computer, I see the NAS as a computer in the network and also as a media device (I have both protocols enabled on the NAS)

The problem here is that the computers connected to the downstairs router are not able to get access to the NAS.

I was considering disabling the DHCP server on the downstairs router… But, that would require specific configuration on each device, and would not address the issue.

I was also considering putting the downstairs router (TRENDnet TEW-731BR; Version v2.0R) on access point mode, but I don't see such option.

I tried to set the upstairs modem on: 192.168.1.254, with address pool of: 192.168.1.65 to 192.168.1.253, and mask: 255.255.255.0 and the downstairs router on: 192.168.1.64, with address pool of: 192.168.1.1 to 192.168.1.63. But it did not worked and I lost access to the downstairs router and had to reset it and reconfigure.

I was wondering if there's any other kind of solution?

Here is a pic of the network layout for reference.

enter image description here

Giacomo1968
  • 58,727

4 Answers4

0

This is a partial answer, in response to part of the question's text, which, at the time of this writing, stated:

I tried to set the upstairs modem on: 192.168.1.254, with address pool of: 192.168.1.65 to 192.168.1.253, and mask: 255.255.255.0 and the downstairs router on: 192.168.1.64, with address pool of: 192.168.1.1 to 192.168.1.63. But it did not worked and I lost access to the downstairs router and had to reset it and reconfigure. I was wondering if there's any other kind of solution.

This is not good. You don't fully know what you're doing. Maybe you know some knowledge, but just enough to be dangerous. This answer of mine might explain some things for you, to help give you an overview.

The issue I see is that a Netmask of 255.255.255.0 defines the subnet sized as 256 addresses, so with an IP address of 192.168.1.254 will indicate that the entire range of 192.168.1.0 through 192.168.1.255 is the local subnet for that device (not making any distinction between standardized "usable" and "unusable" addresses). So for ARP/routing purposes, the upstairs router will treat all of 192.168.1.0 through 192.168.1.255 as its local network, despite whatever the DHCP settings are.

A Netmask of 255.255.255.0 will specify a network of 256 addresses, so with an IP address of 192.168.1.64 will indicate that the entire range of 192.168.1.0 through 192.168.1.255 is the local subnet for that device (not making any distinction between standardized "usable" and "unusable" addresses). So for ARP/routing purposes, the upstairs router will treat all of 192.168.1.0 through 192.168.1.255 as its local network, despite whatever the DHCP settings are.

You may have better luck using a netmask of 255.255.255.192 which will give subnet sizes of 64 addresses, instead of 256 addresses. Keep in mind that if you are using different subnet sizes, that can theoretically work but if you don't know what you're doing with subnets and netmasks then it is very easy to get uneven communication. By that, I mean that once device might be able to send information to a second device, but the second device doens't know how to get a response back to the first device. This problem breaks TCP's 3-way handshake, effectively breaking any TCP connection.

So you can try changing the netmask on ALL devices (might not be too hard, if the DHCP server is giving out netmask information on devices, then other devices simply need to refresh their DHCP information which will likely happen over time, or when the device is restarted).

Leaving the subnet size at 256 addresses, with netmask 255.255.255.0, is feasible, but then use different subnets, as Demiurg suggests (192.168.1.x for one floor, and 192.168.2.x for another floor).

Or you could try just placing everything in one subnet, and have the routers act in bridging mode instead of routing mode. You do have some different options that could work.

I see the NAS as a computer in the network and also as a media device (I have both protocols enabled on the NAS)

I've found that ping is an easier way to troubleshoot than trying to use Windows Networking Device Discovery, since it seemed like, over time, Microsoft tends to change how that works with different Windows versions. (Ensure firewalls, like Windows Firewall settings, are set to allow ping traffic to be responded to.)

so I decided to install a Powerline network because the Wi-Fi wasn’t enough since I have thick walls and floors.

Quick side note, knowing this is off-topic from the rest of the answer, but since it sounds like you may be a bit new with networking I figured I would point out that professionals I know, who have worked with these Powerline devices, discourage their use. They say that networks relying on such Powerline adapters tend to work very great, until they don't. In other words, they tend to have a rather high tendancy to just die one day, without warning. (A better choice, though more difficult to get as a workable option, is to have conduit through the walls, which you can then run wire through, and can replace wire later if you want, e.g. upgrade from Cat5e to Cat8 or from Copper to Fiber-optic.) Hey, if you can get it to work, more power to you. Just, based on the reputation I heard, I wouldn't feel very comfortable with treating that as a reliable technology that I feel I could count on when most needed... So, best of luck to you there.

TOOGAM
  • 16,486
0

Disable DHCP on the downstairs device. Connect the Powerline and any other devices to its LAN ports. Do not use its WAN port at all.

Everything will now be on the same network, and everything will be able to reach everything else

Chris Davies
  • 4,560
0

The best way would be to bridge the two (upstairs and downstairs) networks together, so that they are on the same flat network (same router, same IP address range). It is weird that you say that your downstairs router does not support this mode...

If bridging is not an option, you should put your two subnets (upstairs and downstairs) into different IP address ranges, i.e. 192.168.1.x and 192.168.2.x. Samba should work across routed networks (http://www.tldp.org/HOWTO/SMB-HOWTO-12.html), but you first need to check that basic IP connectivity works.

Demiurg
  • 261
0

Thanks Big Chris and Demiurg for your answers, unfortunately, that trendnet router happened to be pretty basic and lacks such option as AP mode or Bridge mode. I also tried your suggestion of using 2 different subnets, apparently, the combination of modem/router that I have doesn't allow such thing, it causes conflicts and I ended up losing connectivity to the router configuration interface and also I lost internet connectivity. I double and triple-checked my subnet settings, I tried several times, rebooted all devices etc. I had to make a factory reset and reconfiguration in order to get it working again. What I ended up doing is adding a wired switch downstairs, and then connecting the computer directly to the switch and the router to the switch, the computers connected wirelessly to the router have no access to the NAS, but that was not a must, the desktop PC is working like a charm with the NAS. So, my diagram ended up like this. https://i.sstatic.net/EcbH9.pngDiagram

Thanks