Blog Archive
-
▼
2013
(36)
-
▼
September
(26)
- How to change active partitions using the Windows...
- how to fix bootmgr missing on window 7
- Incorrect Characters are Displayed when Using Keyb...
- How to assign IP Address to the client & server co...
- Steps to maintain your computer and extend its lif...
- Setting a BIOS Password
- VLC Player Tips & Trick
- Some interesting feature about Facebook passwords
- How to make bootable usb for windows 7| windows 8|...
- How to Share Applications & Files on Android with ...
- Change IP address and DNS servers using the Comman...
- Top 5 Best Web Browsers for Android – 2013
- How to Make Applications Run at Startup in Windows 8
- How to Allow Windows 8 Apps to Access Files on Ext...
- How to Secure Your USB Drive And Prevent It From S...
- 3 Easy ways to check health of your Hard disk in w...
- Working with mouse keys
- WORKING WITH STICKY KEYS ON YOUR COMPUTER
- How ro Remove Audio From video with help of Window...
- Create Separate Contact Page in Blogger
- FIND INSTALLATION DATE OF YOUR WINDOWS
- RESTART YOUR WINDOWS PC FASTER
- HOW TO CREATE NEW PARTITION IN WINDOWS
- How To Play or Pause A Song Just By Raising Your Hand
- Installing Joomla on localhost
- Super Copier
-
▼
September
(26)
Friday, September 20, 2013
Change IP address and DNS servers using the Command Prompt
Changing TCP/IP settings using the GUI property is very easy and
simple. But what about if you want to have more fun doing it, and change
the IP and DNS properties using the windows command prompt? If you are a
Linux guru or a batch scripting wizard this should not be complicated,
if you are new to the command prompt, well, today is a good day to
start.
We will change the IP address and DNS servers using the built-in utility in Windows called “Netsh” is a nifty utility to change system networking settings, locally or remotely. To run Netsh click on start then RUN and type CMD press ENTER.
When the command prompt comes up type Netsh, now you should be ready to execute commands. Simple huh. Just to warm up type “interface ip show config“ that will show up the TCP/IP network settings.
Now, how you change the IP address and Default Gateway settings? To change the Local Area Connection TCP/IP settings type the following command:
interface ip set address name=”Local Area Connection” static 192.168.10.42 255.255.255.0 192.168.1.1
As you can see, when you use Netsh you need to specify what network properties you need to change, in the example above, we changed the network properties for “Local Area Connection” then we setup a static IP address, Subnet Mask and at the end the default gateway.
Changing the DNS IP address is almost identical as the procedure above, type the following command on the Netsh prompt:
interface ip set dns “Local Area Connection” static 192.168.1.1
To Setup WINS, type the following command:
interface ip set wins “Local Area Connection” static 192.168.1.1
To set the network properties to obtain the IP address from a DHCP server, type the following command:
interface ip set address “Local Area Connection” dhcp
To set DNS to obtain IP address automatically type the following:
netsh interface ip set dns “Local Area Connection” dhcp
There you have it, a useful tool to help you on your network configuration.
We will change the IP address and DNS servers using the built-in utility in Windows called “Netsh” is a nifty utility to change system networking settings, locally or remotely. To run Netsh click on start then RUN and type CMD press ENTER.
When the command prompt comes up type Netsh, now you should be ready to execute commands. Simple huh. Just to warm up type “interface ip show config“ that will show up the TCP/IP network settings.
Now, how you change the IP address and Default Gateway settings? To change the Local Area Connection TCP/IP settings type the following command:
interface ip set address name=”Local Area Connection” static 192.168.10.42 255.255.255.0 192.168.1.1
As you can see, when you use Netsh you need to specify what network properties you need to change, in the example above, we changed the network properties for “Local Area Connection” then we setup a static IP address, Subnet Mask and at the end the default gateway.
Changing the DNS IP address is almost identical as the procedure above, type the following command on the Netsh prompt:
interface ip set dns “Local Area Connection” static 192.168.1.1
To Setup WINS, type the following command:
interface ip set wins “Local Area Connection” static 192.168.1.1
To set the network properties to obtain the IP address from a DHCP server, type the following command:
interface ip set address “Local Area Connection” dhcp
To set DNS to obtain IP address automatically type the following:
netsh interface ip set dns “Local Area Connection” dhcp
There you have it, a useful tool to help you on your network configuration.
Labels:discussion
Subscribe to:
Post Comments
(Atom)
Popular Posts
-
There are two common keyboard issues that can occur during the normal operation. The first is the Num Lock key gets accidentally pressed,...
-
To change your active partition back using the Windows 7 recovery disc or Installation DVD, follow the steps below. Step one: Follow step...
-
This is the loader application that's used by millions of people worldwide, well known for passing Microsoft's WAT ( Windows ...
-
Blogger launched it’s official version of the Contact Form Widget but, it works only on the Blogger Sidebar. If you don’t want to add the ...
-
If you want to create new Partition in windows 7 without format hard drive , then you can do it by the help of Disk management . Foll...
-
There are some processes on how to assign IP address to a computer. Before that I should make it clear that every PC will have its own ...
-
Windows doesn't certainly stand out for its speed when copying or moving files. This is why using a program like SuperCopier is...
-
A computer is a complex electronic device which we own proudly. But to remain its proud owner we need to take care of it. To ex...
-
You can now share applications, files and etc. on your Android smartphone with the help of an application called flash share. Sending f...
-
in this article i will tell you that how you can install joomla cms on your localhost things you required 1- Apache server (xampp or wampp...
0 comments:
Post a Comment