the secondary IP address disappears

RELL 0 Reputation points
2026-10-12T00:16:11.2633333+00:00

hello,

Our server loses its secondary IP address whenever the network interface is restarted. As a result, applications that rely on this address become temporarily unreachable until the configuration is restored manually.

How can we identify why the additional IP address is not retained after a network restart and configure it to persist across system reboots and network interface resets? Please also advise how to verify the active IP configuration and ensure that the changes do not affect the primary network connection?

Windows for business | Windows Server | Networking | Software-defined networking
0 comments No comments

1 answer

Sort by: Most helpful
  1. Harry Phan 34,045 Reputation points Independent Advisor
    2026-10-12T00:45:51.1366667+00:00

    Hello,

    The secondary IP address may be disappearing because it was added manually without being saved in the persistent network configuration. On Windows Server, open PowerShell as Administrator and run Get-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceAlias,IPAddress,PrefixLength,PrefixOrigin to inspect the active IP addresses. To add the secondary address persistently, run New-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress 192.168.1.20 -PrefixLength 24 -SkipAsSource $true, replacing the interface name, IP address, and prefix length with your actual settings. The -SkipAsSource $true option helps preserve the primary IP as the preferred source address for outgoing connections, but verify that applications do not require the secondary address for outbound traffic. Before applying the command, confirm that the secondary IP is not already configured or assigned to another device. Do not modify the primary IP address or default gateway. Verify the configuration using Get-NetIPAddress -InterfaceAlias "Ethernet" -AddressFamily IPv4, then test connectivity and restart the interface to confirm the address persists. If the address disappears again, investigate DHCP settings, Group Policy, network-management software, and scripts that may overwrite the configuration. If this is a Linux server, the address must instead be configured through its network manager, such as Netplan or NetworkManager.

    Please provide your operating system and version so I can recommend the exact configuration for your environment.

    I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!

    HP.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.