Lines Matching refs:ns

96 	local ns="testns1"
100 ip -n $ns link add name dummy1 type dummy
101 ip -n $ns link set dev dummy1 up
103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1
104 fib4_trap_check $ns "table local 192.0.2.1/32 dev dummy1" false
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
108 fib4_trap_check $ns "table main 192.0.2.1/32 dev dummy1" true
111 fib4_trap_check $ns "table local 192.0.2.1/32 dev dummy1" false
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
116 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" false
119 ip -n $ns route add table local 192.0.2.2/32 dev dummy1
120 fib4_trap_check $ns "table local 192.0.2.2/32 dev dummy1" false
123 fib4_trap_check $ns "table main 192.0.2.2/32 dev dummy1" true
128 ip -n $ns link del dev dummy1
193 local ns="testns1"
197 ip -n $ns link add name dummy1 type dummy
198 ip -n $ns link set dev dummy1 up
200 ip -n $ns route add table local 2001:db8:1::1/128 dev dummy1
201 fib6_trap_check $ns "table local 2001:db8:1::1/128 dev dummy1" false
204 ip -n $ns route add table main 2001:db8:1::1/128 dev dummy1
205 fib6_trap_check $ns "table main 2001:db8:1::1/128 dev dummy1" true
208 fib6_trap_check $ns "table local 2001:db8:1::1/128 dev dummy1" false
212 ip -n $ns route add table main 2001:db8:1::2/128 dev dummy1
213 fib6_trap_check $ns "table main 2001:db8:1::2/128 dev dummy1" false
216 ip -n $ns route add table local 2001:db8:1::2/128 dev dummy1
217 fib6_trap_check $ns "table local 2001:db8:1::2/128 dev dummy1" false
220 fib6_trap_check $ns "table main 2001:db8:1::2/128 dev dummy1" true
225 ip -n $ns link del dev dummy1