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 126.96.36.199 255.255.255.0 188.8.131.52 1”
184.108.40.206 means the IP address that you want to set.
255.255.255.0 means the subnet mask of your network.
220.127.116.11 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 18.104.22.168”
For the secondary DNS server you have to type and run the following command in your command prompt:
“ netsh interface ip add dns 22.214.171.124 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.