1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved About set up static IP and DNS IP

Discussion in 'Windows Server System' started by satimis, 2010/07/09.

  1. 2010/07/09
    satimis

    satimis Inactive Thread Starter

    Joined:
    2007/04/15
    Messages:
    115
    Likes Received:
    0
    Hi folks,

    Win Server 2008 R2

    Could you please help me to find out the mistake committed to set up static IP Address with following steps;

    Start -> Control Panel -> Network and Internet -> Network and Sharing Center
    -> Local Area Connection
    -> Properties
    Networking
    highlight "Internet Protocol Version 4 (TCP/IPv4) "
    -> Properties
    check "Use the following IP address
    192.168.10.100
    (check) Validate settings upon exit
    etc.
    including setup DNS

    -> Advanced
    IP Settings (tab)
    Interface metric: 1

    WINS (tab)
    (uncheck) Enable LMHOSTS lookup
    (check) Enable Net BIOS over TCP/IP
    -> OK -> OK -> close -> Apply this fix

    It always came back to DHCP. I spent more than half hour without result.

    TIA.


    Finally I set up static IP and DNS IP with following 2 commands on Command Prompt:
    Code:
    >netsh interface ipv4 set address  "local area connection" static 192.168.10.100
    
    >netsh interface ipv4 set dnsserver  "local area connection" static 123.456.123.456 primary
    
    They worked seamlessly. Static IP and DNS IP set up.


    B.R.
    satimis
     
  2. 2010/07/12
    satimis

    satimis Inactive Thread Starter

    Joined:
    2007/04/15
    Messages:
    115
    Likes Received:
    0
    (resolved)

    Hi folks,

    Finally I found the trick.

    After setting static IP and other relevant data and closing all windows Windows Server 2008 starts detecting the changes. At the end it popup 2 options;

    1) Windows can detect the correct network settings for you (something similar IIRC)

    2) Skip this step


    Choose 2) then it works, static IP set.


    I think Windows Server 2008 set DHCP as default. It also happens the same to Windows 7.

    It took me couple days to discover this trick. However I still prefers command line. netsh is a handy tool, simple and straight forward to use rather than clicking around on the screen with the mouse.

    B.R.
    satimis
     
    Last edited: 2010/07/12

  3. to hide this advert.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.