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.)

This was first published in April 2001

Dig Deeper on Microsoft Systems and Network Troubleshooting



Find more PRO+ content and other member only offers, here.



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:









  • VDI assessment guide

    Wait! Don't implement VDI technology until you know your goals and needs. A VDI assessment should consider the benefits of a VDI ...

  • Guide to calculating ROI from VDI

    Calculating ROI from VDI requires a solid VDI cost analysis. Consider ROI calculation models, storage costs and more to determine...

  • Keep the cost of VDI storage under control

    Layering, persona management tools and flash arrays help keep virtual desktop users happy and VDI storage costs down.