# Wednesday, February 15, 2006


This is how to add/remove IP address, Default Gateway and DNS and WINS addresses to your NIC using a script.

you can use Netsh.exe -which is available on Windows 2000, Windows XP and Windows Server 2003.

This can be used when you two different places LAN Environment with static and DHCP

Adding ip addresses - Static LAN Environment

===================================

netsh interface ip set address name="Local Area Connection" static
158.223.101.53 255.255.0.0 158.2232.89


netsh interface ip set dns "Local Area Connection" static 158.223.1.1
netsh interface ip set dns "Local Area Connection" static 158.223.1.3

===================================

Removing ip addresses - DHCP Lan Environment

netsh interface ip set address "Local Area Connection" dhcp

netsh interface ip set dns "Local Area Connection" dhcp

===================================

E.Ravi

 

posted on Wednesday, February 15, 2006 6:32:48 PM (India Standard Time, UTC+05:30)  #    Comments [0]
# Monday, January 09, 2006
Help topics
posted on Monday, January 09, 2006 4:18:47 PM (India Standard Time, UTC+05:30)  #    Comments [0]
# Wednesday, July 20, 2005

After logging in, be sure to visit all the options under Configuration in the Admin Menu Bar above. There are 26 themes to choose from, and you can also create your own.

 

posted on Wednesday, July 20, 2005 12:30:00 PM (India Standard Time, UTC+05:30)  #    Comments [0]
# Tuesday, May 17, 2005
Calculating bandwidth
posted on Tuesday, May 17, 2005 5:45:28 PM (India Standard Time, UTC+05:30)  #    Comments [0]
# Saturday, March 19, 2005
Upgrade your Blog today with Dasblog1.7
posted on Saturday, March 19, 2005 10:55:16 AM (India Standard Time, UTC+05:30)  #    Comments [0]