IP address subnet changes

sachinwfs
Posts: 5
Joined: Fri Sep 24, 2010 10:05 am

IP address subnet changes

Postby sachinwfs » Tue Nov 09, 2010 8:40 am

After having installed and used my hda for a few weeks, I wanted to try and get the VPN going. Following the wiki's VPN instructions, my first step was to forward the correct port. This caused my control panel to tell me my vpn was enabled. So far so good.

Reading further on the page showed me this warning:
Make sure your HDA's network IP range is different than that of the remote network. (e.g. if your HDA's IP address is 192.168.1.X, you cannot connect to it on a remote network also using 192.168.1.X)
I set up my HDA with the defaults, so my IP was 192.168.1.10. I needed to change to something else, like 192.168.10.10.

However, there's no good way to change the ip address / subnet for my hda. I ran hda-change-gw as suggested this this thread and I also changed my router's ip address, but the amahi control panel still thought that my network was located at 192.168.1.* and the OpenVPN connection logs suggested that it was still trying to connect to 192.168.1.*. Even though my internal network worked perfectly, I couldn't connect from outside the LAN. Is there a way to change hda-change-gw so that it updates the control panel about my network? Would that make a difference?

If that's not possible, there should at least be a warning when you set up your HDA for the first time that the user should not use a common subnet like 10.10.10.* or 192.168.1.*. That would help some of us avoid the pain of trying to change subnets later on.

I wouldn't mind writing up a bug about this problem, but I figured I should at least check if it even is a bug first.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: IP address subnet changes

Postby bigfoot65 » Tue Nov 09, 2010 2:17 pm

Did not know this was an issue. I have always been able to connect via a wireless from another network....using same IP range. Guess it has been a while since I tried.

If you are using hdaconnect on Windows client, I don't believe this is an issue. I could be wrong though.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 48 guests