Manipulates the Network Terminal Accelerator (NTX) routing tables.
ntx_route [ -f ] [ -n ] [ -d Device ] [ { add | delete } [ host | net ] { Destination | default } Gateway ]
The ntx_route command manipulates the network routing tables on the host adapter. You can use this command to:
When using the ntx_route command, you must distinguish between routes to a host from routes to a network. To identify the route destination as a network, specify the net keyword. To identify a route destination as a host, specify the host keyword. If you do not specify a keyword, the ntx_route command uses the Destination parameter to determine the type of route. If the Destination parameter contains a local address that is part of INADDR_ANY, the command assumes the destination is network. Otherwise, the command assumes the destination is a host.
The keyword default is available for gateways to use after all other routes have been attempted (the destination is set to INADDR_ANY).
Destination | Specifies the destination host or network. |
Gateway | Specifies the network gateway to which packets should be addressed. |
This command returns the following exit values:
0 | Successful completion. |
>0 | An error occurred. |
Access Control: You must have root authority to run this command.
To add destination to the routing table, enter:
ntx_route add Destination Gateway
/usr/bin/ntx_route | Contains the ntx_route command. |
/dev/rhp0 | Default NTX raw device file name. |
Files: /dev/rhp.
"Configuring the Network Terminal Accelerator" in AIX Versions 3.2 and 4 Asynchronous Communications Guide