SUSE Support

Here When You Need Us

Automatic Addition of Secondary IP Addresses in Azure fails

This document (000021188) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 All Service Packs
SUSE Linux Enterprise Server 12 All Service Packs

Situation

  • Secondary TCPIP configurations based on Microsoft Azure IP settings are not automatically added after server reboots.
  • Failure to automatically add newly assigned secondary TCPIP addresses from Microsoft Azure IP configurations to SLES servers.

Resolution

A temporary patch (Program Temporary Fix) has been made available for client systems affected by this situation and can be requested by opening a service request and referring to issue 1214715.

Workaround :
Ensure you have the necessary permissions and a backup of important files before making any changes.

File Configuration:

  1. Edit the network card configuration you wish to add the secondary IP address for e.g /etc/sysconfig/network/ifcfg-eth0 on your system.

Content Addition:

  1. Add the following contents
CLOUD_NETCONFIG_MANAGE='yes' 
IPADDR_1='10.0.0.99/24' # Replace with the desired secondary IP address and subnet mask BOOTPROTO='dhcp' 
STARTMODE='auto' 
LABEL_1='<label of your choice>'
Replace 10.0.0.99/24 with your desired secondary IP address and subnet mask. Choose a label for LABEL_1 that makes sense for your use case.

Restart Network Services:

  1. After making the changes, save the file and proceed to restart the network services by running the following command
    systemctl restart wicked.service 

    systemctl restart wicked.service 

    Keep in mind that restarting the network services may result in a temporary disconnection of clients.

Following these steps, you can successfully add a secondary IP address to your system.

 

Cause

Recent changes in how Azure virtual metadata can be accessed have disrupted the functionality of "cloud-netconfig". As a result, the necessary data for adding IP addresses to network cards is not being retrieved successfully.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021188
  • Creation Date: 01-Sep-2023
  • Modified Date:01-Sep-2023
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.