Thursday, February 24, 2011

How to assign a static IP to your device if you are stuck with a Netgear WGT624v3 router





If you have a Netgear WGT624v3 router and one day find yourself in need of a static IP to host a website or to play games online you will soon discover that the IP address reservation as part of DHCP  is not working.   No matter how careful you specify the MAC address of your device needing the reserved IP, it still can be and will be assigned other IP addresses by the netgear WGT624v3 router.


I wanted to host a simple family website on my iMac using apache.  I first tried the latest firmware available V2.0.26_1.0.1 but that did not help either.  Some googling showed me that I was not the only one with the same problem.

Assuming you know how to access to your router's admin GUI you can take the following steps to establish a static IP for your device  if you have the same need.  [ If you don't know what the router admin GUI is either stop here and save yourself the headache or try http://192.168.1.1/ to see if you can login to it.]

As the computer I will be running apache on is a desktop I would only be using it within my network, so I configured the the IP manually instead of the usual default DHCP setting.  Specified the IP I chose and entered my router's address.

You also need to specify DNS servers, without the DNS server name your computer will not be able to resolve the hostnames.  See below for where you can find them on the netgear admin GUI




Domain Name server IPs listed on the left are for my ISP, you may want to user yours.

Copy and enter these on your computer in the advanced network preferences window shown above but under the DNS tab.


Now you need to make sure the IP you reserved is outside the DHCP range router uses.  For that set the Netgear DHCP range anything outside the reserved IP.  See example below my reserved IP is 192.168.1.5 and DHCP range starts after that.










And that is that now you have a static IP that will always be assigned to your computer even if you are using the Netgear WGT624v3 router.