[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 4

ntx_route Command

Purpose

Manipulates the Network Terminal Accelerator (NTX) routing tables.

Syntax

ntx_route-f ] [ -n ] [ -d Device ] [ { adddelete } [ hostnet ] { Destinationdefault } Gateway ]

Description

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).

Flags

-d Sets the adapter raw device file name. The default is the /dev/rhp0 file.
-f Flushes the routing tables of all gateway entries. If this flag is used in conjunction with one of the other flags or keywords, the ntx_route command flushes the gateways before performing other actions.
-n Displays host and network names as Internet addresses. The default is to display the simple host or network name.

Parameters

Destination Specifies the destination host or network.
Gateway Specifies the network gateway to which packets should be addressed.

Exit Status

This command returns the following exit values:

0 Successful completion.
>0 An error occurred.

Security

Access Control: You must have root authority to run this command.

Auditing Events: N/A

Examples

To add destination to the routing table, enter:

ntx_route add Destination Gateway

Files

/usr/bin/ntx_route Contains the ntx_route command.
/dev/rhp0 Default NTX raw device file name.

Related Information

Files: /dev/rhp.

"Configuring the Network Terminal Accelerator" in AIX Versions 3.2 and 4 Asynchronous Communications Guide


[ Previous | Next | Contents | Glossary | Home | Search ]