Lines Matching refs:router
165 for ns in host-1 host-2 router-1 router-2
181 create_ns router-1
182 create_ns router-2
185 connect_ns router-2 eth3 - 2000:103::2/64 host-2 eth3 - 2000:103::4/64
189 connect_ns router-1 eth2 - 2000:102::1/64 router-2 eth2 - 2000:102::2/64
190 ip netns exec router-1 ip route add default via 2000:102::2
193 ip netns exec router-1 ip link add name ${brdev} type bridge
194 ip netns exec router-1 ip link set ${brdev} up
195 ip netns exec router-1 ip addr add 2000:101::1/64 dev ${brdev}
197 connect_ns host-1 eth0 - 2000:101::3/64 router-1 eth0 - -
198 ip netns exec router-1 ip link set dev eth0 master ${brdev}
201 connect_ns router-2 eth1 - 2000:101::2/64 router-1 eth1 - -
202 ip netns exec router-1 ip link set dev eth1 master ${brdev}
245 for ns in host-1 host-2 router
259 create_ns router
262 router eth1 1.0.3.1/24 -
265 ip netns exec router ip addr add 1.0.1.1/24 dev eth1
266 ip netns exec router sysctl -qw \
270 router eth2 1.0.2.1/24 -