Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Unable to access different network

Jul 26, 2019 11:53AM PDT

Hello!

I would like to configure my Netgear WiFi router as gateway with IP 192.168.2.1 and as DHCP server starting from 192.168.2.4.

I have used following configuration



The problem is that when connecting Windows 10, it does get the first available address, i.e. 192.168.2.4 and ip config shows 192.168.2.1 as gateway but I neither can ping 192.168.2.1 nor connect with it.

For extra info, my LAN is 192.168.1.x but in case of the WiFi router, I need 192.168.2.x in oder to connect my raspberry to it as secondary gateway in the case of failure of the first one.

I tried to disable the Windows 10 firewall but nothing has changed.

Then, if I leave in the router the standard 192.168.1.x configuration everything is working.

What am I doing wrong?

Please help! Thanks,

Post was last edited on July 26, 2019 11:53 AM PDT

Discussion is locked

- Collapse -
Answer
Do you need a bigger LAN?
Jul 26, 2019 11:59AM PDT

While some may write about port forwards why isn't it OK to leave your network on x.x.1.x?

Also, if you need to add x.x.2.x to your LAN why not change your NETMASK to accomodate? (like 255.255.0.0)

The image did not load here so I can't guess if the NETMASK alone will fix it.

- Collapse -
Do you need a bigger LAN?
Jul 26, 2019 12:05PM PDT

Thanks for replying, why netmask 255.255.0.0 instead of 255.255.255.0?

To be honest with you, I have never understood it well.

Can you please advise?
Thanks!

- Collapse -
In short
Jul 26, 2019 12:21PM PDT

So 1.x and 2.x are on the same LAN.

As to a longer answer, that would have me copying web content about NETMASK. Is there any chance you could put up the picture where we can see it? Imgur.com is what I use.

Example: