Lines Matching full:exec
129 ip netns exec ${SWITCH} ip link add br0 up type bridge
130 ip netns exec ${SWITCH} ip link set eth0 master br0 up
131 ip netns exec ${SWITCH} ip link set eth1 master br0 up
132 ip netns exec ${SWITCH} ip addr add ${SWITCHIP}/24 dev br0
137 ip netns exec ${CLIENT} ip link del bond0
138 ip netns exec ${SWITCH} ip link set eth0 up
139 ip netns exec ${SWITCH} ip link set eth1 up
145 ip netns exec ${CLIENT} ip link set eth0 down
146 ip netns exec ${CLIENT} ip link set eth1 down
148 ip netns exec ${CLIENT} ip link add bond0 type bond $@
149 ip netns exec ${CLIENT} ip link set eth0 master bond0
150 ip netns exec ${CLIENT} ip link set eth1 master bond0
151 ip netns exec ${CLIENT} ip link set bond0 up
152 ip netns exec ${CLIENT} ip addr add ${CLIENTIP}/24 dev bond0
162 ip netns exec ${CLIENT} ping ${SWITCHIP} -c 2 >/dev/null 2>&1
166 ip netns exec ${SWITCH} ip link set eth0 down
168 ip netns exec ${SWITCH} ip link set eth0 up
169 ip netns exec ${SWITCH} ip link set eth1 down
172 ip netns exec ${CLIENT} ping ${SWITCHIP} -c 2 >/dev/null 2>&1