How to retain dissappearing multiple Ip Addresses in Windows 2008.
9:01 AMHow to retain disappearing multiple Ip Addresses in Windows 2008.
If you have the following issue on a Windows 2008 server, follow resolution steps below:- Upon each reboot, the multiple ip addresses (more than six or more), assigned to the primary interface (Teamed or not) of your server, disappear after rebooting host.
- Only three or four Ip addresses are retained, the rest are no longer assigned to any Interface.
- All missing IP addresses then have to be manually added into server via Command Line only as Control Panel's Networking applet will not allow you to add or delete same ip addresses.
Resolution Steps:
- Run the following command from an elevated command line (Search for 'CMD', then do CTRL+SHIFT+ENTER'):
- Run the above command for all Ip addresses you want to add.
- You can also create a quick script to add more than ten Ip addresses as below:
netsh interface ipv4 add address "You Server's Primary Interface Name" 10.128.122.14 255.255.255.0
netsh interface ipv4 add address "You Server's Primary Interface Name" 10.128.122.16 255.255.255.0
netsh interface ipv4 add address "You Server's Primary Interface Name" 10.128.122.37 255.255.255.0
- For sequential Ip addresses, use the "For /L" command and then add %% for the variable.e.g
- Finally, ensure all of these Ip addresses show up in the Registry. The Hive and Key should be located here:
- The Value for the key we are looking for is called 'IpAddress'. Open this Value and confirm the newly added Ip Addresses are listed in this key.
- Reboot the server for changes to take effect.
0 comments