Wicked Ignores ETHTOOL_OPTIONS for bond configurations

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

Environment


SUSE Linux Enterprise Server 12 (SLES 12)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)

Situation

When setting ETHTOOL_OPTIONS on a bond configuration in Wicked network configuration tool, the settings are not applied.

Resolution

A PTF to provde this functionality has now been created. It will be available via the normal maintenance channels at some point in the near future.


For now, the PRE_UP_SCRIPT functionality as described in 'man 5 ifcfg' may be used to effect desired settings.


Here is an example of using PRE_UP_SCRIPT:


In this example, a bond called 'bond0' has been created.


If it does not already exist, create a directory to house the scripts:

    e.g /etc/wicked/scripts if it does not exists (directory name does not have to be 'scripts' and location can differ)


Create a script file in the directory you created:

    e.g.  /etc/wicked/scripts/script1


Add the desired command line/s to the script file:

    e.g.  ethtool -K bond0 tso off gso off


root needs the execute attribute on the script file:

    e.g. chmod 744 /etc/wicked/scripts/script1


Edit file /etc/sysconfig/network/ifcfg-bond0 (substitute your bond name as required) and add:-

    e.g. PRE_UP_SCRIPT="wicked:/etc/wicked/scripts/script1"


Now, when ever the server is brought up or the network resources are restarted, the desired parameters will be applied.

Cause

Wicked had not yet had ETHTOOL_OPTIONS support added for bonds (even though there is a configuration entry field available to enter such settings, it is ignored).


Additional Information

PTF now available.

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:7022801
  • Creation Date: 01-Apr-2018
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

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

SUSE Support Forums

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

Join Our Community

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.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center