Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i just changed in /etc/sysconfig/network-scripts/ifcfg-bond0:

BONDING_OPTS="mode=active-backup arp_interval=1000 arp_ip_target="

and now i want to set those arp_interval and arp_ip_target temporarily so i dont have to restart the interface.

I know to set the arp_interval: echo 1000 > /sys/class/net/bond0/bonding/arp_interval but the same isn't working in: /sys/class/net/bond2/bonding/arp_ip_target

so is there a different way? Google didn't yield me much on this topic ..

System is: RHEL 6.3

EDIT: I found these 2 Documentations:

But as far as i can see:

  • The least i have to do is get the interface up/down. Which isn't working on my test-server.
  • Or a network restart, which only works for adding, but not removing arp_ip_targets.

I'll keep looking, because reboot/network restart is unacceptable. I could live with restarting/initializing only one bonding interface at the same time, but i can't get it to work like that .. yet.

share|improve this question
up vote 3 down vote accepted

The answer to my question was easier than i thought, arp_ip_targets can be added and removed like this:

echo + > /sys/class/net/bond0/bonding/arp_ip_target
echo - > /sys/class/net/bond0/bonding/arp_ip_target

that doesn't even need a restart of the interface!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.