IP address in network different for LAN and Wireless

27,482

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

Share:
27,482

Related videos on Youtube

StealthRT
Author by

StealthRT

Updated on September 18, 2022

Comments

  • StealthRT
    StealthRT over 1 year

    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:

    • JohannesM
      JohannesM almost 12 years
      Is it possible to add a satic route in your router? (don't laugh, there are simple routers out there where it's not possible :) Edit: Nevermind. Saw your comments with laurent.
    • StealthRT
      StealthRT almost 12 years
      Yes i could do that but i want to auto assign IP's on wireless.
    • laurent
      laurent almost 12 years
      with the suggestion I added below, you'll have auto IP on wifi, now you sent the screens, I will modifify to say where you need to change
    • laurent
      laurent almost 12 years
      @StealthRT - OK suggestion updated
  • StealthRT
    StealthRT almost 12 years
    I'm using PDANET to connect to the internet via Verizon cell phone. My desktop in another room is a dedicated PC just for the connection to the internet which is what is passing the 192.168.9.xxx ip address throughout the network in the house. I hooked up the router to that network and thats where i am getting the 192.168.1.xxx ips from (wireless). The gateway and DNS is 192.168.9.1 for the PC with the PDANET running.
  • StealthRT
    StealthRT almost 12 years
    But why would the router need a ip of 192.168.9.0 if the main PC is the 192.168.9.1 home?
  • laurent
    laurent almost 12 years
    if the router is connected to the PC, it needs (and have) an IP in the same network as the PC (192.168.9).
  • StealthRT
    StealthRT almost 12 years
    Check the updated OP please :o)