Networking – How to connect two different network segments using a switch and a router


We have a existing network setup where we have two D-Link switches,connected to each other. IPs are manually assigned in the range of 192.168.0.x on PCs directly and unassigned ones get IP from the switch. We recently added a WiFi router which gets IP address as It has RIP 2M enabled. It allots IP addresses in the range of 192.168.1.x. Problem here is that I can access PCs on 192.168.0.x without any issue but I can't access PCs on 192.168.1.x from those with IPs in the range of 192.168.0.x. Should I enable the static routes or something on the router?


Best Answer

You have your wifi router connected via the WAN port to the switches. This configuration puts all wifi (and other traffic plugged into the wifi device's LAN ports) to be behind the IP address translation and on a separate subnet.

You want to plug the wifi device into the switches via one of the LAN ports. The WAN port will not be used in this configuration. You also might want to disable the DHCP server since it might conflict with the existing DHCP server on the 192.168.0 network. This way all devices will share the same subnet.

This Reference has some implementation details; it's for 2 wireless routers, but the idea is the same.

Related Question