Networking – IP address in network different for LAN and Wireless

iplannetworkingrouterwireless-networking

Hey all i have a LAN network IP addresses as 192.168.9.xxx. When i connected my router to the network i can only configure it to be 192.168.1.xxx but all of it works. I have internet for my .9.xxx address and wireless .1.xxx address.

The problem being is that i want to VNC into the wireless PC that has a ip address of 192.168.1.65. And since my computer on the network is 192.168.9.45 it wont connect to it. What do i need to do in order to get this to connect?

I already port forward ports 5800, 5500, 5900 & 3389 on the router for ip address 192.168.1.65.

Any help would be great!

Visuals of my current router settings:



Best Answer

Assuming the router for 192.168.9.0 network is the same as 192.168.1.0 network, you need to define a static route on your router to access the 192.168.1.0 network. The gateway is your router IP in 192.168.1.0 network.

Being already there, you could also define a static route for 192.168.9.0 network if you need it.

Edit after comment:

If the main router is the pc, the wifi router is connected to it wired (wan port probably) so you need to set the static route on the PC and use the wifi router ip (in 192.168.9.0 network) as gateway.

Suggestion:

If you want all your ips in the 192.168.9.0 network, you can connect the wifi router to your PC using the LAN port instead of the WAN port and disable DHCP on it.

To do that you need to:

  • 1st screen - Internet IP address: use get dynamically from ISP

  • 3rd screen: use IP 192.168.9.101 in LAN TCP IP setup (not sure it is needed but it won't make any problem)

  • 3rd screen: disable use router as DHCP server

  • Unplug the wire from WAN port and connect to any LAN port

This way the netgear wifi router will receive an IP from the DHCP (PC) and will forward DHCP packets to and from the wifi devices so they will receive an IP from the PC too. All the machines will be in the same subnet and you will be able to connect any machine to any other (including printers or other devices) without using a more complicated setup using 2 subnets.

OBS: 192.168.9.0 doesn't mean the ip of the router but the subnet 192.168.9.xxx

Related Question