There are several reasons why you might want to setup a static IP address on your PC running on Windows 7 OS. You may wish to get away from automated DHCP (Dynamic Host Configuration Protocol) addresses on your network or maybe you want to share resources that are on your PC with other devices on your network and you need your PC’s IP address to be consistent.
Whatever your reasons are, it’s very easy to achieve a static IP.
Steps to achieve a static IP address
- The first step is to find out what your current (DHCP) IP address is. This will give you an idea of the range of IP addresses you can use for your PC network. To do this, click the start menu and type “CMD” in the search box, then press Enter. This will open a command prompt.
- In the command prompt, type the following:
Then press Enter. This will bring up details of all of your PC’s network connections, including IP addresses. It should look something like this:
The important things to get from this are you PC’s current “IPv4 address”, “Subnet Mask”, “Default Gateway” and “DNS servers”. Write these numbers down, you’ll need them to arrange a static IP.
- Next, you’ll need to open Control Panel, then click “Network and Internet”:
This will bring up a few further options, of which you need to select “Network and Sharing Centre”, this will open up the following Window.
On the left hand pane, select “Change Adapter Settings”. This will then open up a new window with all of your network adapters listed.
- You’ll need to right-click the appropriate adapter and select “Properties” from the menu, this will bring up the details for your network adapter.
- As above, select “Internet Protocol Version 4 (TCP/IPv4)” from the list, then select “Properties”. This will bring up the IP address properties for your adapter.
By default, your system will be set to “Obtain an IP address automatically”, to setup a static IP address, change this option to “Use the following IP address”.
- Now this is where you need to use the information noted down from the command prompt window earlier.
- Copy the information noted down from “ipconfig /all” into the appropriate fields in this window. If you only have one value for “DNS Server” do not worry about it.
- Once the information has been copied across, click “OK” to apply the settings.
Congratulations, you’ve now setup a static IP address on your Mac. To confirm it has worked, open a web browser and navigate to any web page (or refresh this page if you’re doing it now), you shouldn’t notice any difference in performance with your network connection.