Backup and Restore TCP/IP configurations.


Today while helping a co-worker, I came across a problem that needed to fix the TCP/IP. I used a technique, which are no longer used, for some time now, clean/repair the WinSock.

Being a server with multiple NICs and multiple ip’s, it makes sense to make a backup first.

The fastest way to backup and restore static IP and DNS address detail is using the command line.

The Network Shell (Netsh) utility lets you configure numerous networking settings of Windows, including IP address and DNS details. If you assign static IP or DNS addresses in your network, you might find it useful to export and import your TCP/IP configuration with Netsh.

For example, if you need to reset/repair the Networking Stack, it´s better you backup first your configurations :).

To dump the TCP/IP configuration:

netsh -c interface dump > filename.txt

To import the TCP/IP configuration:

netsh -f filename.txt

Please enjoy :).

Advertisements

24 thoughts on “Backup and Restore TCP/IP configurations.

  1. Howdy! Would you mind if I share your blog with my twitter group? There’s a lot of people that I think would really enjoy your content. Please let me know. Thanks 308780

  2. You might be websites successful individuals, it comes effortlessly, therefore you also earn you see, the jealousy of all the ones lots of journeymen surrounding you could have challenges within this challenge. motor movers 985599

  3. you are in point of fact a excellent webmaster. The site loading velocity is wonderful. It seems that you are performing any distinctive trick. In addition, The contents are masterpiece. youve done a fantastic activity on this topic! 228390

  4. Awesome material you fellas got these. I really like the theme for the web site along with how you organized a person who. Its a marvelous job For certain i will come back and take a look at you out sometime. 851631

  5. As a result youll need ultra powerful online enterprise suggestions to keep operating in obtaining into matters correct your incredible web-based work. MLM 377917

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s