Tip

Documenting IP addresses

As a network consultant for a large number of clients, I am often asked to make changes in IP addressing on servers and workstations when installing new firewalls or broadband Internet connections. One of the easiest and most convenient ways I have found for recording existing IP addressing is via a simple command and redirection parameter.

In Windows 98/NT/2000, move to a command prompt and type "ipconfig /all > c:ipbefore.txt" (sans quotes).

This will send the output containing the local host name, IP address, subnet mask, gateway, DNS entries, WINS servers, and DHCP server and lease, if applicable, to the file c:ipbefore.txt (any filename will work).

After I make the change to the IP schema, I repeat the command but direct it to c:ipafter.txt for documentation and future reference. I can also compare the two files to verify that the intended changes have occurred.

It's an easy command but proves useful for quick documentation and verification.

(It can even be scripted or enhanced via the ">>" redirection command to append the information to a common file on a network share i.e.: "ipconfig /all >> P:networkip.txt" This would append the local PC address information to the ip.txt file on the network share "P:" in the folder "network." A great way for maintaining informal documentation on smaller networks.)


    Requires Free Membership to View

This was first published in April 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.