Skip to main content

Changing Your IP Address



Most everybody can figure out how to change their IP address using Control Panel, but did you know you can set your network card’s IP address using a simple command from the command prompt?
Note: The following commands require you to have an administrative command prompt open by right-clicking on the icon and choosing Run as Administrator.
Changing Your IP Address
Changing your IP information requires two commands, one for your IP address, subnet mask and default gateway and another for  your DNS settings. In order to change your IP address we use the netsh command, the exact command you want to use is the following:
netsh interface ip set address name=”Local Area Connection” static 192.168.0.1 255.255.255.0 192.168.0.254
This assumes the following:
·         The name of the interface you want to change the IP address  for is Local Area Network
·         You want to statically assign an IP address of 192.168.0.1
·         You want to set a subnet mask of 255.255.255.0
·         You want to set a default gateway of 192.168.0.254
Armed with this information you should obviously switch the settings out for some that are suited to your network. You might, however, be wondering how you can go from using an already set static IP address to getting an address from DHCP. In this case the command you are looking for is:
netsh interface ip set address name=”Local Area Connection” source=dhcp
Changing Your DNS Settings
As far as DNS goes you only have two settings to set, a primary DNS server as well as a secondary one. The command to set them is almost identical, to set your primary DNS server you will want to use:
netsh interface ip set dns name=”Local Area Connection” static 192.168.0.250
This again assumes a few things:
·         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
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
The above command would set your network adapter named Local Area Connection to use a secondary DNS server address of 8.8.8.8 (which is the Google public DNS servers, incase you didn’t know). The last thing you might want to do it set your DNS settings to be assigned dynamically, which can be done through the following command.
netsh interface ip set dnsservers name=”Local Area Connection” source=dhcp
That’s all the command line magic you are going to need to impress some of your friends, so what are you waiting for?

Comments

Popular posts from this blog

Tech Tips - Turn on Delegate Access

Turn on Delegate Access A delegate automatically receives Send on Behalf permissions. This means your delegate can do the following: ·          Respond to a meeting request sent to you, the manager. ·          Receive meeting request responses sent to you, the manager. ·          Compose and send an e-mail message that, when received, will have Delegate Name   on behalf of   Manager Name   next to   From . By default, the delegate can read only the meeting requests and responses sent to the manager. The delegate does not have access to read any other messages in your   Inbox . 1.      On the   Tools   menu, click   Options . 2.      Click the   Delegates   tab, and then click   Add . If the   Delegates   tab or the   Add   button is mi...

How do I choose my password?

How do I choose my password? Your password is more than just a key to your online account. If your password falls into the wrong hands, someone can easily impersonate you while online, sign your name to online service agreements or contracts, engage in transactions, or change your account information. So, choose your password carefully and then keep it safe from others. A password is like a toothbrush: Choose a good one and don't share it. A Yahoo! password can be any length, and can contain spaces, symbols, or numbers. With so many options, you should be able to come up with a password that's easy for you to remember but impossible for someone else to figure out. A password is a secret that only you should know. Here are some tips for choosing a strong password - one that is difficult to guess. . Choose a password you'll remember. It should be memorable for you (so that you don't have to write it down or leave it in the open), but difficult for others to guess....

Tech Tip - How to Search Like a Pro

Technology Tip - How to Search Like a Pro The internet is big, really, really big.  And it keeps growing bigger every day.  If you want to search it effectively you’re going to need to develop a couple of tricks to help you narrow the search.  Here’s a few real easy ones to integrate into your next search: Using +, - and “ “ (quotes) to narrow your searches: Lets say you were looking up apples on   Google.com .  If you just type in “apples” you get 22 million returns.  A few more sites than you can check in an afternoon so lets narrow the search down.  Let's say that what you're really interested in is   green apples .  To see all the apple websites that also have the word “green” on them type this: Now you will only see those apple sites that also have the word green on them.  Unfortunately we are still getting almost 6 million returned websites: To narrow the search even more lets elimina...