Lines Matching refs:h2
176 for ns in h1 h2 r1 r2; do
216 for ns in h1 h2 r1; do
235 ip -netns h2 link add eth0 type veth peer name r1h2
236 ip -netns h2 link set r1h2 netns r1 name eth1 up
252 ip -netns h2 addr add dev eth0 ${H2_N2_IP}/24
253 ip -netns h2 -6 addr add dev eth0 ${H2_N2_IP6}/64 nodad
254 ip -netns h2 link set eth0 up
257 ip -netns h2 route add default via ${R1_N2_IP} dev eth0
258 ip -netns h2 -6 route add default via ${R1_N2_IP6} dev eth0
297 for ns in h1 h2 r1 r2; do
319 ip -netns h2 link add eth0 type veth peer name r1h2
320 ip -netns h2 link set r1h2 netns r1 name eth1 up
322 ip -netns h2 link add eth1 type veth peer name r2h2
323 ip -netns h2 link set r2h2 netns r2 name eth1 up
342 ip -netns h2 link add br0 type bridge
343 ip -netns h2 link set br0 up
344 ip -netns h2 addr add dev br0 ${H2_N2_IP}/24
345 ip -netns h2 -6 addr add dev br0 ${H2_N2_IP6}/64 nodad
346 ip -netns h2 link set eth0 master br0 up
347 ip -netns h2 link set eth1 master br0 up
350 ip -netns h2 route add default via ${R2_N2_IP} dev br0
351 ip -netns h2 -6 route add default via ${R2_N2_IP6} dev br0