Technical data

route
-lock
Locks the metric specified by the next modifier specified on the command line. A
locked metric is not modified by the kernel. The following metrics can be locked:
mtu
,
hopcount
,
recvpipe
,
sendpipe
,
ssthresh
,
rtt
, and
rttvar
.
-lockrest
Locks the metrics specified by all the modifiers that follow on the command
line. A locked metric is not modified by the kernel. The following metrics can be
locked:
mtu
,
hopcount
,
recvpipe
,
sendpipe
,
ssthresh
,
rtt
, and
rttvar
.
-mtu size
Sets this route’s maximum transmission unit (MTU) (in bytes) to the value
specified by size.
-netmask mask
Specifies the subnet mask to use for the routing entry. Networks that use a
nonstandard subnet must include this modifier. Specify this modifier after any
optional modifiers. Do not specify this modifier if you specify a CIDR bitmask
(/bitmask). Do not specify this modifier with the
change
command.
-nofragtopmtu
Specifies that IP datagram fragmentation is disabled for this route.
-nopmtudisc
Specifies that path MTU discovery is disabled for this route.
-olddev device
Specifies the old interface device that you want to change in the routing entry.
Use this modifier with the
change
command only to move a route from one
interface to another.
-oldgateway name
Specifies the old gateway that you want to change in the routing entry. Use this
modifier with the
change
command only.
-precedence value
Sets the precedence of the route to the value specified by value. Among equivalent
routes to the same destination, the route with the lower precedence is preferred.
-recvpipe bandwidth
Sets this route’s inbound delay bandwidth product (in bytes) to the value specified
by bandwidth.
-reject
Specifies that this route is a reject route. Packets sent to reject routes are
dropped, and messages designating the route as unreachable are sent to the
packet originators. This is different from a normal route, which allows packets
to be forwarded out on it. You must specify
127.0.0.1
(localhost) as the gateway
argument.
-rtt time
Sets this route’s round-trip time (in microseconds) to the value specified by time.
-rttvar variance
Sets this route’s round-trip time variance (in microseconds) to the value specified
by variance.
Troubleshooting Utilities Reference A–33