Lines Matching full:router
164 # Setup N1. host-1 and router-2 connect to a bridge in router-1.
266 # Setup N1. host-1 and router-2 connect to a bridge in router-1.
318 cleanup_ns $h1 $h2 $router
327 setup_ns h1 h2 router
330 create_ns $router
333 $router eth1 1.0.3.1/24 -
337 ip netns exec $router ip addr add 1.0.1.1/24 dev eth1
338 ip netns exec $router sysctl -qw \
342 $router eth2 1.0.2.1/24 -
393 setup_ns h1 h2 router
396 create_ns "$router"
398 ip -n "$router" link add name vrf100 up type vrf table 100
399 ip -n "$router" addr add 1.0.4.1/24 dev vrf100
402 "$router" eth1 1.0.1.1/24 -
407 ip -n "$router" link set dev eth1 master vrf100
408 ip -n "$router" addr add 1.0.3.1/24 dev eth1
409 ip netns exec "$router" sysctl -qw \
413 "$router" eth2 1.0.2.1/24 -
417 ip -n "$router" link set dev eth2 master vrf100