Lines Matching full:exec
50 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
74 ip netns exec ${ns} ip addr add dev lo ${addr}
77 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
80 ip netns exec ${ns} ip ro add unreachable default metric 8192
81 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
83 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
84 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
85 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.forwarding=1
87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.default.accept_dad=0
102 ip netns exec ${ns1} ip li add ${ns1_dev} type veth peer name tmp
103 ip netns exec ${ns1} ip li set ${ns1_dev} up
104 ip netns exec ${ns1} ip li set tmp netns ${ns2} name ${ns2_dev}
105 ip netns exec ${ns2} ip li set ${ns2_dev} up
108 ip netns exec ${ns1} ip addr add dev ${ns1_dev} ${ns1_addr}
112 ip netns exec ${ns2} ip addr add dev ${ns2_dev} ${ns2_addr}
116 ip netns exec ${ns1} ip addr add dev ${ns1_dev} ${ns1_addr6}
120 ip netns exec ${ns2} ip addr add dev ${ns2_dev} ${ns2_addr6}
180 ip netns exec $h2 ip route add default via 2000:103::2
184 ip netns exec $r1 ip route add default via 2000:102::2
187 ip netns exec $r1 ip link add name ${brdev} type bridge
188 ip netns exec $r1 ip link set ${brdev} up
189 ip netns exec $r1 ip addr add 2000:101::1/64 dev ${brdev}
192 ip netns exec $r1 ip link set dev eth0 master ${brdev}
193 ip netns exec $h1 ip route add default via 2000:101::1
196 ip netns exec $r1 ip link set dev eth1 master ${brdev}
199 ip netns exec $h1 ping6 -c5 2000:103::4 >/dev/null 2>&1
253 ip netns exec $h1 ip route add default via 1.0.1.1
255 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1
256 ip netns exec $router sysctl -qw \
261 ip netns exec $h2 ip route add default via 1.0.2.1
264 ip netns exec $h1 ping -c5 1.0.2.4 >/dev/null 2>&1