Setting up a Static IP Address on Windows 7

This how to guide will cover setting up a static IP address on Windows 7 computers. It is very important to setup a static IP address if you are going to use port forwarding. With port forwarding setup your router forwards ports to a specified IP address. Anytime you restart your computer it may get a different IP address and the ports will no longer be forwarded to the originally specified IP address and the port forwarding configuration will not work. This is why you need a static IP address that will never change even after restarting your computer. We will now show you how to setup a static IP address.

setting up a static ip address

Step 1: Open the start menu and go to the “Search Programs and Files” box. Type cmd into the search box and press enter. This will open the black command prompt window.

Step 2: In the command prompt window type “ipconfig/all” and press enter. You should now see a lot of information displayed in the window.

Step 3: Write down the IP address, Subnet Mask, Default Gateway and Name Servers. Make sure to note which is which. You will be using this information a little later. We are only concerned with IPv4 entries, you can ignore the IPv6 entries.


The name server entries are a bit complicated. Name Server is just another name for DNS(domain name server) server. Some router’s act as a proxy between the actual name servers and your computer. You will know when this is the case, because the Default Gateway will list the same ip address as the Name Servers entry. We need to have the correct Name Server IP addresses. If we do not, you will not be able to browse the web. There are a couple ways to get these. The first way is to log into your router’s web interface, and look at your router’s status page. On that page you should see an entry for DNS Servers, or Name Servers. Write down the ip adresses of your Name Servers. Another way to get the correct Name Servers to use, is to give your ISP a call. They should know the ip addresses of your Name Servers right off. If they ask you why you need them, you can tell them you are trying to setup a static IP address on your computer. If they try to sell you a static external ip address, don’t buy it. That’s an entirely different thing than what you are trying to setup.

Type exit in the command prompt window, then press the enter key to close it.

Step 4: Return to the start menu and select the “Control Panel.” Now click on “View Network Status and Tasks.”

Step 5: On the left side of the screen click on “Change adapter settings.”

Step 6: If there is more than one internet connection listed here you will need to determine which adapter is your connection to the Internet before continuing. Once you have determined which is yours, right click on your network adapter and choose “Properties” to open up the properties window of this internet connection.

Step 7: Select Internet Protocol Version 4(TCP/IPv4) and then the Properties button.

Step 8: You should now see a screen like the one pictured at left. Before you make any changes, write down the settings that you see on this page. If something goes wrong you can always change the settings back to what they were! You should see a dot in the “Obtain an IP address automatically box.” If you do not, your connection is already setup for a static IP. Just close all these windows and you are done.

Pick an IP address and enter it into the “IP Address box.” The IP address you choose should be very similar to the router’s IP address. Only the last number of the IP address should be different. For example, if the router’s IP address is you might choose The IP address you choose should end with a number between 1 and 254, and should not be the same as the router’s IP address. Every device that connects to your network needs to have it’s own IP address.

Input the subnet mask that we previously found in the subnet mask section. The default gateway should go into the Default gateway box. Enter the dns servers we previously found into the two DNS Server boxes. Click “Ok” to exit out of this menu.

If you find that you can not pull up webpages, the problem is most likely the dns numbers you entered. Give your ISP a call, and they will be able to tell you which dns servers to use. This is a question they answer all of the time. They will be able to tell you what you should use right away.

Your static IP address is now setup and you should be able to connect to the internet. If you are not able to establish an internet connection go back to the configuration window and change everything back to default. Give our Tech Support team a call if you have any questions.

[dt_call_to_action content_size=”big” background=”no” line=”false” style=”0″]

Shop for surveillance equipment in our online store!