sathlan/cluster — Issue #2: Errors when running Add_eNovance_small
Author: jd
Created: 2012-02-03 17:19:36+00:00
State: open

enovance@testbox:~/cluster$ rake1.9.1 Add_eNovance_small
* sudo tunctl -t tap101
* sudo ip link set dev tap101 mtu 1496
* sudo ip link set dev tap101 up
* sudo tunctl -t tap100
* sudo ip link set dev tap100 mtu 1496
* sudo ip link set dev tap100 up
* sudo sh -c 'echo "+lagg7" > /sys/class/net/bonding_masters';
* sudo sh -c 'echo "layer3+4" > /sys/class/net/lagg7/bonding/xmit_hash_policy'
* sudo sh -c 'echo balance-xor > /sys/class/net/lagg7/bonding/mode'
* sudo sh -c 'echo 100 > /sys/class/net/lagg7/bonding/miimon'
* sudo ip link set dev lagg7 mtu 1496
* sudo ip link set dev tap100 down
* sudo sh -c 'echo +tap100 > /sys/class/net/lagg7/bonding/slaves'
* sudo ip link set dev tap101 down
* sudo sh -c 'echo +tap101 > /sys/class/net/lagg7/bonding/slaves'
* sudo ip link set dev lagg7 up
* sudo brctl addbr bridge0
* sudo brctl addif bridge0 lagg7
* sudo ip link set dev bridge0 up
* sudo tunctl -t tap200
* sudo ip link set dev tap200 mtu 1500
* sudo ip link set dev tap200 up
* sudo brctl addbr bridge1
* sudo brctl addif bridge1 tap200
* sudo ip link set dev bridge1 up
* sudo tunctl -t tap105
* sudo ip link set dev tap105 mtu 1500
* sudo ip link set dev tap105 up
* sudo tunctl -t tap104
* sudo ip link set dev tap104 mtu 1500
* sudo ip link set dev tap104 up
* sudo sh -c 'echo "+lagg2" > /sys/class/net/bonding_masters';
* sudo sh -c 'echo "layer3+4" > /sys/class/net/lagg2/bonding/xmit_hash_policy'
* sudo sh -c 'echo balance-xor > /sys/class/net/lagg2/bonding/mode'
* sudo sh -c 'echo 100 > /sys/class/net/lagg2/bonding/miimon'
* sudo ip link set dev lagg2 mtu 1500
* sudo ip link set dev tap104 down
* sudo sh -c 'echo +tap104 > /sys/class/net/lagg2/bonding/slaves'
* sudo ip link set dev tap105 down
* sudo sh -c 'echo +tap105 > /sys/class/net/lagg2/bonding/slaves'
* sudo ip link set dev lagg2 up
* sudo vconfig add lagg2 101
* sudo ip link set dev lagg2.101 up
* sudo tunctl -t tap107
* sudo ip link set dev tap107 mtu 1496
* sudo ip link set dev tap107 up
* sudo tunctl -t tap106
* sudo ip link set dev tap106 mtu 1496
* sudo ip link set dev tap106 up
* sudo sh -c 'echo "+lagg3" > /sys/class/net/bonding_masters';
* sudo sh -c 'echo "layer3+4" > /sys/class/net/lagg3/bonding/xmit_hash_policy'
* sudo sh -c 'echo balance-xor > /sys/class/net/lagg3/bonding/mode'
* sudo sh -c 'echo 100 > /sys/class/net/lagg3/bonding/miimon'
* sudo ip link set dev lagg3 mtu 1496
* sudo ip link set dev tap106 down
* sudo sh -c 'echo +tap106 > /sys/class/net/lagg3/bonding/slaves'
* sudo ip link set dev tap107 down
* sudo sh -c 'echo +tap107 > /sys/class/net/lagg3/bonding/slaves'
* sudo ip link set dev lagg3 up
* sudo brctl addbr bridge0
end
`sudo sysctl net.inet.ip.forwarding=1`
`sudo sysctl net.link.bridge.ipfw=0`
`sudo sysctl net.link.bridge.pfil_local_phys=0`
`sudo sysctl net.link.bridge.pfil_member=0`
`sudo sysctl net.link.bridge.pfil_bridge=0`
* sudo brctl addif bridge0 vlan101
* sudo brctl addif bridge0 lagg3
* sudo ip link set dev bridge0 up
* sudo tunctl -t tap123
* sudo ip link set dev tap123 mtu 1496
* sudo ip link set dev tap123 up
* sudo tunctl -t tap122
* sudo ip link set dev tap122 mtu 1496
* sudo ip link set dev tap122 up
* sudo sh -c 'echo "+lagg12" > /sys/class/net/bonding_masters';
* sudo sh -c 'echo "layer3+4" > /sys/class/net/lagg12/bonding/xmit_hash_policy'
* sudo sh -c 'echo balance-xor > /sys/class/net/lagg12/bonding/mode'
* sudo sh -c 'echo 100 > /sys/class/net/lagg12/bonding/miimon'
* sudo ip link set dev lagg12 mtu 1496
* sudo ip link set dev tap122 down
* sudo sh -c 'echo +tap122 > /sys/class/net/lagg12/bonding/slaves'
* sudo ip link set dev tap123 down
* sudo sh -c 'echo +tap123 > /sys/class/net/lagg12/bonding/slaves'
* sudo ip link set dev lagg12 up
* sudo brctl addbr bridge0
* sudo brctl addif bridge0 lagg12
* sudo ip link set dev bridge0 up
SIOCSIFADDR: No such device
lagg4.101: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
RTNETLINK answers: No such process
RTNETLINK answers: No such process