Flags

The route default is a host (a single computer on the network). When the -net or -host parameter is not specified, but the network portion of the address is specified, the route is assumed to be to a network. The host portion of the address is "0" (zero).

Item Description

-f

Purges all entries in the routing table that are not associated with network interfaces.

-i

Enables workload-partition-specific routing for the workload partition (WPAR). By default, outgoing network traffic from a WPAR is routed as if it were being sent from the global environment:

  • Traffic between addresses that are hosted on the same global system is sent through the loopback interface.
  • Routing table entries that are configured in the global system, including the default route, are used to transmit workload partition traffic.

If you enable WPAR-specific routing by specifying the -i flag, then the WPAR creates and uses its own routing table for the outgoing traffic. Routing entries are created automatically for each of the network addresses of the WPAR to accommodate broadcast, loopback, and subnet routes.

-n

Displays host and network names numerically, instead of symbolically, when reporting results of a flush or of any action in verbose mode.

-q

Specifies quiet mode and suppresses all output.

-C

Specifies preference for ioctl calls over routing messages for adding and removing routes.

-v

Specifies verbose mode and prints additional details.

-net

Indicates that the Destination parameter should be interpreted as a network.

-netmask

Specifies the network mask to the destination address. Ensure this option follows the Destination parameter.

-host

Indicates that the Destination parameter should be interpreted as a host.

-prefixlen n

Specifies the length of a destination prefix. This is the number of bits in the netmask.

-@WparName

Displays the network statistics that are associated with the WPAR, that is, @WparName flag. If the @WparName flag is not specified, then the network statistics for all the WPARs are displayed.