diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-07-31 14:57:10 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-04 16:17:45 -0700 |
commit | 70834cec70a96d81fba5dc4df67dd2c35391fc8f (patch) | |
tree | b76a0e785112508d966cff03efe4eed8ebb7b13b /templates | |
parent | 6d31a1542f66ab17b515ec6c5a4cd5763f37365c (diff) | |
download | vyatta-cfg-system-70834cec70a96d81fba5dc4df67dd2c35391fc8f.tar.gz vyatta-cfg-system-70834cec70a96d81fba5dc4df67dd2c35391fc8f.zip |
Bonding: load module with MII monitor enabled
Unless miimon parameter is set, bonding device won't watch for
link changes (which makes it useless for any backup modes).
Diffstat (limited to 'templates')
-rw-r--r-- | templates/interfaces/bonding/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/bonding/node.def b/templates/interfaces/bonding/node.def index 53800dba..cc86c89a 100644 --- a/templates/interfaces/bonding/node.def +++ b/templates/interfaces/bonding/node.def @@ -4,7 +4,7 @@ help: Set bonding interface syntax:expression: pattern $VAR(@) "^bond[0-9]+$" \ ; "bonding must be (bond0-bond99)" begin: if [ ! -f /sys/class/net/bonding_masters ]; then - sudo modprobe bonding max_bonds=0 + sudo modprobe bonding max_bonds=0 miimon=250 fi create: sudo sh -c "echo +$VAR(@) > /sys/class/net/bonding_masters" || exit 1 sudo ip link set "$VAR(@)" up |