route Flashcards
route
Route manipulates the kernel’s IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured with the ifconfig(8) program.
route
- A family
- F, Operate using FIB
- C, Operate using the routing cache.
- v, verbose
- n, Show numerical address.
- e, Use netstat format.
del, delete a route.
add, add a route.
target, The destination network or host.
- net, the target is a network.
- host, target is host.
netmask NM, Set the netmask.
gw GW route packets via a gateway.
metric M
set the metric field in the routing table (used by routing daemons) to M.
mss M sets MTU (Maximum Transmission Unit) of the route to M bytes.
window W
set the TCP window size for connections over this route to W bytes.
irtt I set the initial round trip time (irtt) for TCP connections over this route to I milliseconds (1-12000).
reject, Install a blocking route, which will force a route lookup to fail.
mod, dyn, reinstate
Install a dynamic or modified route.
dev If, Force the route to be associated with the specified device.