networking - Communication possible between 192.168.0.x and 192.168.1.x?

06
2014-04
  • pkSML

    I have a problem I encounter on a regular basis. I have an access point with a fixed 192.168.0.x IP address. My network is 192.168.1.x. The problem is when I plug the access point into my network, it is inaccessible. (The workaround: I have to hard wire the access point to my laptop, set up an static 192.168.0.x IP address, modify settings in access point, change my laptop IP address back to automatic...) You see why this is a pain. So here comes my question: Is there a way that 192.168.1.x hosts and 192.168.0.x hosts can communicate with each other on the same network? Is it as simple as changing the subnet mask? Or must I go to the 10.0.x.x IP addresses to be able to use a wider subnet mask? Thanks for your replies in advance, A Confused Networking Amateur

  • Answers
  • Alex McKenzie

    It is completely possible to change your subnet to include 192.168.0.x and 192.168.1.x. The network would be 192.168.0.0/23 and the subnet mask would be 255.255.254.0. You will have to change this on all devices though.

    This would probably be the best way without getting into vlans or static routes.

    The other option is to see if it is possible to just change the access point's IP address. I've never seen a device that has a fixed IP.


  • Related Question

    networking - changing the subnet on a DDWRT router
  • Journeyman Geek

    I'm currently working on a bridged openvpn setup between two places. My home lan uses a 192.168.1.x subnet, as does the remote location (which i can't change the subnet for anyway) which results, naturally in ip address conflict. I'd like to know how i could change my home subnet to 192.168.0.x so that they wouldn't conflict.


  • Related Answers
  • Cry Havok

    With a bridged VPN then both endpoints must have the same subnet. You just have to ensure that each end uses different IP addresses (I would suggest that one uses addresses ending in .1 to .127 and the other .128 to .254).

    To change the subnet used for the LAN on a DD-WRT device log in to the web interface, select the Setup tab and change the settings under Network Setup. This, and much more, is covered in the DD-WRT documentation.


    What version of DD-WRT are you running? It's certainly there in V24 and something similar should be there for V23.


    Right, under Basic Setup you'll see Network Setup. That's the default tab as soon as you select Setup so I didn't see the need to highlight it.


    Changing the Local IP address is what you want. Changing the Subnet Mask changes what bits of the Local IP address field are interpreted as the local network, which won't help you.

  • harrymc

    The simplest idea is to use fixed IP addresses.

    For example, give your home computers an IP address that counts down from 192.168.1.253.
    This is quite safe, as the remote network will probably go upwards from 192.168.1.1.

  • KronoS

    You can setup a virtual subnet which enables something like this:

    alt text

    Since the process is a lengthy one, I won't post what to do, but I found this tutorial on how to do just that.

    In case that one doesn't work here is a second one to go off of.

    Update After reading the tutorials a little more, it looks like the second one, might be a little more successful, but I'll leave both up.