Lines Matching refs:route
67 # route chapter
70 route -p <f-stack proc_id> [-46dnqtv] command [[modifiers] args]
74 Add a default route:
76 ./sbin/route -p 0 add -net 0.0.0.0/0 192.168.1.1
78 A shorter version of adding a default route can also be written as:
80 ./sbin/route -p 0 add default 192.168.1.1
82 Add a static route to the 172.16.10.0/24 network via the 172.16.1.1 gate-
85 ./sbin/route -p 0 add -net 172.16.10.0/24 172.16.1.1
87 Change the gateway of an already established static route in the routing
90 ./sbin/route -p 0 change -net 172.16.10.0/24 172.16.1.2
92 Display the route for a destination network:
94 ./sbin/route -p 0 show 172.16.10.0
95 ./sbin/route -p 0 -6 show ::/0
97 Delete a static route from the routing table:
99 ./sbin/route -p 0 delete -net 172.16.10.0/24 172.16.1.2
103 ./sbin/route -p 0 flush
105 FreeBSD uses `netstat -rn ` to list the route table which we havn't ported,
108 ./sbin/route -p 0 -d -v flush
110 Note that, if you want to modify the route table, you must use `-p` to execute the same command for…
112 For more details, see [Manual page](https://www.freebsd.org/cgi/man.cgi?route).