Lines Matching full:exec
128 ip netns exec ${SWITCH} ip link add br0 up type bridge
129 ip netns exec ${SWITCH} ip link set eth0 master br0 up
130 ip netns exec ${SWITCH} ip link set eth1 master br0 up
131 ip netns exec ${SWITCH} ip addr add ${SWITCHIP}/24 dev br0
136 ip netns exec ${CLIENT} ip link del bond0
137 ip netns exec ${SWITCH} ip link set eth0 up
138 ip netns exec ${SWITCH} ip link set eth1 up
144 ip netns exec ${CLIENT} ip link set eth0 down
145 ip netns exec ${CLIENT} ip link set eth1 down
147 ip netns exec ${CLIENT} ip link add bond0 type bond $@
148 ip netns exec ${CLIENT} ip link set eth0 master bond0
149 ip netns exec ${CLIENT} ip link set eth1 master bond0
150 ip netns exec ${CLIENT} ip link set bond0 up
151 ip netns exec ${CLIENT} ip addr add ${CLIENTIP}/24 dev bond0
161 slowwait 2 ip netns exec ${CLIENT} ping ${SWITCHIP} -c 2 -W 0.1 &> /dev/null
165 ip netns exec ${SWITCH} ip link set eth0 down
167 ip netns exec ${SWITCH} ip link set eth0 up
168 ip netns exec ${SWITCH} ip link set eth1 down
171 slowwait 2 ip netns exec ${CLIENT} ping ${SWITCHIP} -c 2 -W 0.1 &> /dev/null