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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content