Lines Matching full:router
91 # Caller must set up foo-ns, bar-ns, and router-ns
93 # (foo in foo-ns, foo1 and bar1 in router-ns, and
102 ip -n router-ns address add $2/$5 dev foo1 || return 1
103 ip -n router-ns link set foo1 up || return 1
104 ip -n router-ns address add $3/$5 dev bar1 || return 1
105 ip -n router-ns link set bar1 up || return 1
107 echo 1 | ip netns exec router-ns tee /proc/sys/net/ipv4/ip_forward
152 ip netns add router-ns
153 ip link add foo netns foo-ns type veth peer name foo1 netns router-ns
154 ip link add bar netns bar-ns type veth peer name bar1 netns router-ns
161 ip netns pids router-ns | xargs -r kill -9
164 ip netns del router-ns