flipkart

Wednesday, January 29, 2014

IP Address

1. Change Your IP Address
netsh interface ip set address name=”Local Area Connection” static 192.168.0.1 255.255.255.0 192.168.0.254
You need to statically assign an IP address of 192.168.0.1
You need to set a subnet mask of 255.255.255.0
You need to set a default gateway of 192.168.0.254
2. Set static IP address to getting an address from DHCP.
netsh interface ip set address name=”Local Area Connection” source=dhcp
3. Changing Your DNS Settings
netsh interface ip set dns name=”Local Area Connection” static 192.168.0.250
4. The name of the interface you want to change the primary DNS setting for is Local Area Network
The IP address of the DNS Server is 192.168.0.250
5. To change the IP address of the secondary DNS server you will need to specify the index parameter:
netsh interface ip add dns name=”Local Area Connection” 8.8.8.8 index=2
6. set your DNS settings to be assigned dynamically
netsh interface ip set dnsservers name=”Local Area Connection” source=dhcp
for more cmd>netsh help