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
-
To change your active partition back using the Windows 7 recovery disc or Installation DVD, follow the steps below. Step one: Follow step...
-
There are two common keyboard issues that can occur during the normal operation. The first is the Num Lock key gets accidentally pressed,...
-
This is the loader application that's used by millions of people worldwide, well known for passing Microsoft's WAT ( Windows ...
-
Windows doesn't certainly stand out for its speed when copying or moving files. This is why using a program like SuperCopier is...
-
Make your computer ask for a password without installing anything. Your computers BIOS is the first program that is run when your compute...
-
Do you know, your Facebook account have 3 passwords? If no, then read on…..
-
Sticky Keys enables the user to enter key combinations by pressing keys in sequence rather than simultaneously. This will benefit users who...
-
USB flash drive is useful because it provides a convenient way for you to bring your data around. However, due to its convenience, it is...
-
The world of sport is continually changing over the years, and the use of technology is just one of those areas that has made an impact on ...
-
Microsoft announced that long-serving Chief Executive Officer Steve Ballmer will be leaving the employment of the technology giant. While n...
0 comments:
Post a Comment