TCP/IP routing: accessing a LAN device with wrong static IP configuration

local-area-networkroutingstatic-iptcp

I forgot to change the static IP of a network device before moving it from my datacenter network to my home LAN. Since it isn't configured properly for my LAN network, I'm not sure how to access it.

Constraints:
It's a NAS (a LaCie Network Space MAX) and can only be accessed via web console. I know what IP address, gateway, mask, etc. it is trying to use. I don't want to reset it to factory settings, which might have nasty consequences. I also don't want to rearrange my LAN network to pretend to be the datacenter network just to access this device.

Basically, once I can get to the point where I can ping its static IP, I should be able to have full access to it.

My theory is that I can use routing to access the device, but I'm not sure how to configure routing. I have a LAN router which has a 'dynamic routing' (RIP1) feature, and allows static routing by setting destination LAN IP, subnet mask, default gateway, hop count, and interface (LAN or WAN). Can I use static routing to reach my device? If so, what settings do I use?

Best Answer

  1. Put your laptop/computer on the same subnet as the currently configured static IP is on. For instance if the current static IP is 10.10.10.1/24 then make your laptop 10.10.10.2/24 and then connect an ethernet cable directly between the laptop and the NAS.
  2. Open the NAS management page on your browser and login
  3. Go to the Network settings and (recommended) change it to DHCP and then save the settings (and will probably require it to reboot)
  4. Disconnect your laptop (and change back its network settings) and plug the NAS into your home router
  5. Possibly manually (or by killing power) reboot the NAS again in order to get a DHCP address from your home router