Friday, April 4, 2008

Gateway address, IP Address, DNS

Add gateway address
Type the command in cmd
netsh interface ip delete addres "local area connection" gateway=10.90.102.6

netsh interface ip set address name="local area connection" gateway=10.90.102.6 gwmetric=default

netsh interface ip add address "local area connection" gateway=10.90.103.6 gwmetric=automatic

Delete DNS

Delete particular Dns using this command

netsh interface ip delete dns "local area connection" 10.90.2.2

Delete all dns using this command..

netsh interface ip delete dns "Local Area Connection" all


using command prompt..

netsh interface ip add dns "local area connection" 10.90.2.2 index=2

ok..

Add Ip address

Simply type this command in cmd..

Netsh interface ip add address "local area connection" 10.90.30.2 255.255.254.0

OK..

No comments: