About Setup Static Ip And Dns

satimis

Member
Joined
Jan 23, 2010
Messages
11
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
 
Back
Top