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.