I am not so good and subnetting and I need help in determine the proper routing configuration.
I recent renovate the house and need to re-configurate the home network.
The first Router (Router A) connect to ISP which provide a dyname IP
Wireless/ wired Router A - 192.168.0.1 - DHCP enabled - Subnet mask 255.255.255.224 (192.168.0.30 reserved for Router B) This router will connect to devices in different rooms including one with Router B.
Wireless Router B - (Connect to Router A) with a static IP 192.168.0.30 - DHCP enabled. This router need to connect to multiple devices, NAS, network printer, notebook etc. and it need to talk to devices connect to Router A.
My question is how to set up the subnet and gateway setting for both router so they can talk to each other and access the internet via Router A (and ISP).
You already decided that router B (Internet address) will have IP address 192.168.0.30 which is fine. You also have to use a different network for router B, e.g., 192.168.1.0. Router B default gateway has to be 192.168.0.1 (router A). Configure router A so that it knows that network 192.168.1.0 is reachable through IP address 192.168.0.30. You can use a 24 bit mask (255.255.255.0).