Lines Matching full:route
39 atf_set "descr" "Change a reject route to blackhole"
49 rump.route add 207.46.197.32 127.0.0.1 -reject
51 "rump.route -n show -inet | grep ^207.46"
53 rump.route change 207.46.197.32 127.0.0.1 -blackhole
68 atf_set "descr" "Change the gateway of a route"
82 rump.route add -net 192.168.0.0/24 10.0.0.1
84 "rump.route -n show -inet | grep ^192.168"
86 rump.route change -net 192.168.0.0/24 10.0.0.254
88 "rump.route -n show -inet | grep ^192.168"
101 atf_set "descr" "Change the ifa (local address) of a route"
117 rump.route add -net 192.168.0.0/24 10.0.0.1
119 "rump.route -n show -inet | grep ^192.168"
120 $DEBUG && rump.route -n show -inet
122 route to: 192.168.0.1
131 rump.route -n get 192.168.0.1 > ./output
136 # Change the local address of the route
138 rump.route change -net 192.168.0.0/24 10.0.0.1 -ifa 10.0.0.11
139 $DEBUG && rump.route -n show -inet
141 route to: 192.168.0.1
150 rump.route -n get 192.168.0.1 > ./output
166 atf_set "descr" "Change a route based on an interface (ifp)"
184 rump.route add -net 192.168.0.0/24 10.0.0.1
186 "rump.route -n show -inet | grep ^192.168"
187 $DEBUG && rump.route -n show -inet
189 route to: 192.168.0.1
198 rump.route -n get 192.168.0.1 > ./output
203 # Change a route based on an interface
205 rump.route change -net 192.168.0.0/24 10.0.0.1 -ifp shmif1
206 $DEBUG && rump.route -n show -inet
208 route to: 192.168.0.1
217 rump.route -n get 192.168.0.1 > ./output
233 atf_set "descr" "Change a route with -ifp and -ifa"
251 rump.route add -net 192.168.0.0/24 10.0.0.1
253 "rump.route -n show -inet | grep ^192.168"
254 $DEBUG && rump.route -n show -inet
256 route to: 192.168.0.1
265 rump.route -n get 192.168.0.1 > ./output
270 # Change a route with -ifa and -ifp
272 rump.route change -net 192.168.0.0/24 -ifa 10.0.0.1 -ifp shmif1
273 $DEBUG && rump.route -n show -inet
275 route to: 192.168.0.1
284 rump.route -n get 192.168.0.1 > ./output