Unable to change the bonding option 'lacp_rate' on the running system via sysfs

Solution Verified - Updated -

Issue

  • Trying to change the lacp_rate bonding option via sysfs or /sys/class/net/bond0/bonding/lacp_rate fails with error -bash: echo: write error: Operation not permitted as shown below;
[root@localhost ~]# echo 1 > /sys/class/net/bond0/bonding/lacp_rate
-bash: echo: write error: Operation not permitted
[root@localhost ~]# 

[root@localhost ~]# echo "fast 1" > /sys/class/net/bond0/bonding/lacp_rate
-bash: echo: write error: Operation not permitted
[root@localhost ~]#
  • At the same time below messages is generated in /var/log/messages
Feb 21 19:59:14 localhost kernel: bonding: bond0: Unable to update LACP rate because interface is up.

Environment

  • Red Hat Enterprise Linux 6.x
  • bonding

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.