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
Resolution
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
Additional Information
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com