MacLochlainns Weblog

Michael McLaughlin's Technical Blog

Site Admin

Windows 7 Static IP

with 127 comments

There are some subtle changes between Windows 7 and either Windows XP and Windows Vista. Since I use virtualization (with VMWare Fusion) extensively to test environments, I seem to go through this drill too often. By the way, I upgraded to VMWare Fusion 3 before testing the production releases of Windows 7.

The easiest Windows 7 installation uses DHCP. That’s what I did before patching the OS, installing virus protection software, and installing a few tools and program. Then, I change from a dynamic IP to static IP address and add a meaningful name to the C:\Windows\System32\Drivers\etc\hosts file. Here are the steps to set a static IP address on Windows 7:


  1. Assuming that you’re in the Category view, you should navigate to the Control Panel, choose Network and Internet, and then click Network and Sharing Center. This is the window that you should see (click image to enlarge it):


    Click the Local Area Connection to begin configuring your static IP address.


  1. From the Local Area Connection Status window, click the Details button to see your existing connection details (most likely DHCP). If you’re running this in VMWare Fusion, the is the first IP address allocated. You should note the default gateway and DNS server IP address, which should always be Click the Close button when you’ve made note of those IP addresses for subsequent steps.


  1. Back at the Local Area Connection Status window, click the Properties button. It will show you the Local Area Connection Properties dialog. Click on the Internet Protocol Version 4 (TCP/IPv4) in the item box of the dialog window.


  1. Click the Use the following IP address radio button and enter the appropriate values for your static IP address. The default gateway and DNS server are generally different but are the same when you’re using NAT addressing inside VMWare.


You should be completed now. If you test the connection, Windows 7 raises and error but everything works after you reboot the operating system.

Written by maclochlainn

November 26th, 2009 at 9:34 pm

127 Responses to 'Windows 7 Static IP'

Subscribe to comments with RSS or TrackBack to 'Windows 7 Static IP'.

  1. Fred, I added a screen shot of the Windows 7 default Control Panel, and you can see that the Network and Internet is an option. It’s the Category view.


    15 Jan 13 at 11:36 pm

  2. The post was written using Version 3 of VMWare Fusion. Several things have changed between Version 3 and 5 as to IP address numbers used. The suggestion in the posting was to first confirm the IP address by configuring a DHCP IP first. Did you do that from Step #3?


    15 Jan 13 at 11:52 pm

  3. It depends on if your security system is software or hardware. I’d suggest you check the security system’s vendor web site.


    16 Jan 13 at 12:12 am

  4. I have some confusion Plzz help me to clear as don’t know much about networking..

    I want to access a web application on computer that is part of a private network. The network has 15 to 20 comps having Ip’s of range 192.168.1.xx.

    I want to assign a static ip address provided by my ISP(Internet Service Provider), to the computer hosting my web application so that i can access my web app. from any where using a internet connection.

    Please let me know wats the procedure.



    17 Jan 13 at 12:32 am

  5. I’m having some problems. I’ve done pretty much everything by the book. I got my ipv4 and entered it and everything, but when I go to check my IP, it doesn’t change! Why? Here are my details:
    IPv4 Address :
    IPv4 Gateway:


    24 Jan 13 at 8:14 am

  6. hello when i strat my pc i am not able to connect to internet. once the computer is on need to diagonise the problem in properties. i am using windows7 . when i start pc the error message for internet is cannot find ip . pls give the solution for this.


    1 Feb 13 at 10:31 pm

  7. What do you find when you run ipconfig from the command-line?


    1 Feb 13 at 11:56 pm

  8. […] There are some subtle changes between Windows 7 and earlier releases […]

  9. Thanks! Easy to follow guide, my net works now!


    12 Jul 13 at 1:35 pm

  10. I just spent a lo0t of time because I lost my internet connection. After reading about man web sites how to fix it I ended up here. The information greatly expanded my knowledge of ip address and how and where to set them. None of the solutions worked and I reviewed how I got to no internet connection, related to my ip address that was not being assigned correctly by my router. I had added a switch, and taken it out when the problem started. Then I moved things around and finally I pulled out my cable tester.

    My cable had lost one pair of the four pairs. I changed my cable and everything was back to working. Putting the switch in required me moving a cable and that cable failed when moved.

    TEST your cable before spending hours on everything else.

    Harry Samuel

    13 Jul 13 at 10:42 pm

  11. […] using a static IP address […]

  12. hi!

    my network connection details

    DHCP Enabled Yes
    IPV4 Address

    IPv4 Default gateway

    pls let me know wat to do!!!

    prashant patil

    16 Aug 13 at 10:55 pm

  13. Prashant, I don’t know what you’ve done. Have you followed the post instructions? What fails?


    16 Aug 13 at 11:29 pm

  14. I have no idea what I’m doing… I’m running a wireless connection to my laptop, but I just want to set up a server to play a game with a friend… And in order to play said game, I need a static IP. If you could give me any help at all, that would be amazing.


    20 Aug 13 at 5:10 pm

  15. Whether the connection is wireless or not shouldn’t matter. You just need to determine the default gateway, and then determine you can typically assign a static IP in the range of the gateway. For example, if your gateway is then you should be able to use as your static IP address.


    20 Aug 13 at 6:59 pm

  16. Hi,
    I recently got windows 7 professional installed on my laptop. Whenever I am trying to connect to any ISP either through LAN or through a wireless router, the ethernet is not obtaining the ip address automatically although in the TCP/Ip prpoerties it has been set to “OBTAIN AN IP ADDRESS AUTOMATICALLY” is only detecting static ip.What do think the problem is? and how do I solve it?


    22 Aug 13 at 3:54 am

  17. Abhijnan, Does the router support DHCP?


    22 Aug 13 at 12:07 pm

  18. […] to private static IP which are out of DHCP range (Again, configurable in Mio Box). For a look, Set Static IP Address in Windows 7 | MacLochlainns Weblog Summary: DHCP Server aka a Router feature to most simple networking case is like your parents, […]

  19. So, this didn’t work for me through wireless. I’m very Internet savvy, and have set up static ip for my two gaming systems and my wife and my Android devices and they work splendidly. But I tried this and added my laptop using one of the remaining static ip slots and it didn’t work. I tried all remain slots. Couldn’t connect me. Any thoughts?


    24 Jan 14 at 3:49 pm

  20. Bobby, Are you trying to have multiple network connections? Like, one DHCP and the other a static IP?


    25 Jan 14 at 11:16 pm

  21. Great stuff. An IP-address is a distinctive string of numbers that exclusively recognizes a computer/PC or server on Internet.

    swati sharma

    5 Jun 15 at 6:09 am

  22. I really need help on this issue:

    im having the first servers static ip as 192.168.10.* which os from the router and im connecting cat5e cable to server 2. I want server 2 to use scope 10 but allocate 192.168.11.* to server two users but I dnt get any internet connection on the server as it shows limited. please help on how can I get users to have internet from server two that has scope 11 ip which is on the same network of 10 scope???


    25 Jul 15 at 5:03 pm

  23. Lefa, The first three numbers must be the same in a single subdomain. You’d need to setup two subdomains to accomplish what you propose.


    10 Aug 15 at 9:14 pm

  24. I’d like to set up a static IP for a VM running Oracle 12c.

    Using VMWare Fusion 6.0 I see different values for the IP’s of the Default Gateway and DNS Server: for both of them.

    Based on this difference I assume the available range of legit IP’s to use for a fixed IP is also different.

    Before I try hacking around with 192.168.58 is there a way to determine a suitable range of IP’s I can assign as the fixed IP?

    Thanks in advance. Jack


    19 Feb 16 at 7:40 pm

  25. p.s. I hope and pray that accomplishing the setting of a fixed IP for the existing Local Area Connection would mean I won’t have to configure the infamous loopback adapter! True?


    19 Feb 16 at 7:42 pm

  26. Jack, There’s no guarantee on that.


    10 May 16 at 11:50 pm

  27. Jack, The range is to most likely.


    10 May 16 at 11:51 pm

Leave a Reply