If you want to set the IP address of your computer then it can be set from the command prompt by running the following commands at an administrative level.
“ netsh interface ip set address static 22.214.171.124 255.255.255.0 126.96.36.199 1”
188.8.131.52 means the IP address that you want to set.
255.255.255.0 means the subnet mask of your network.
184.108.40.206 declares the gateway of your connection.
1 is here for the gateway metric. You have to type this 1 almost all the cases.
But actually you have to modify the Local Area Connection adapter. Local Area Connection is normally called when it is used in the single NIC systems.
If you wish to enable the DHCP in your system then you have to type the following commands in the command prompt:
“ netsh interface ip set address dhcp”
You have to type two commands for DNS one is for primary and other is secondary DNS server.
For the primary DNS server you have to type and run the following:
“ netsh interface ip set dns static 220.127.116.11”
For the secondary DNS server you have to type and run the following command in your command prompt:
“ netsh interface ip add dns 18.104.22.168 index=2”
To configure your computer to use DNS form the DHCP run the following command in your command prompt:
“ netsh interface ip set dnsservers source=dhcp”
Well now your IP address to DNS changes has been finished successfully, so go the command prompt and type ipconfig /all and enjoy your changes, if any problem then you can type ipconfig –all.