Displays or assigns the Network Terminal Accelerator (NTX) network interface address.
ntx_ifcfg [ -d Device ] [ -i Address [ -m Netmask ] [ -e [ 802 | enet ] ] [ -b Broadcast ] [ -p on | off ]
The ntx_ifcfg command displays or assigns network interface addresses. If you do not specify any flags with this command, it displays the network address of the adapter identified by the /dev/rhp0 file.
The ntx_ifcfg command is used to configure the adapter's Internet address immediately after the adapter is downloaded. No Internet network activity takes place until the Internet address is assigned. You can use this command after the adapter is loaded to redefine the board's Internet address.
|-b Broadcast||Specifies the address that represents broadcasts to the network. By default, the Broadcast parameter is the address in which the host part appears as all ones.|
|-d Device||Sets the adapter raw device file name. The default is the /dev/rhp0 file.|
|-e [ 802 | enet ]|
|Configures the adapter board for either IEEE 802.3 or an Ethernet operation. To place the board in 802 mode, specify the 802 keyword. To place the board in Ethernet mode, specify the enet keyword. The default mode is Ethernet.|
|-i Address||Specifies the Internet address of the adapter board. You can specify the network interface addresses by name or using Internet dot notation.|
|-m Netmask|| Reserves a portion of the address for subdividing the network into subnetworks. The mask includes the network part of the local address and the subnet part. The subnet is taken from the host field of the address.
You can specify the mask as a single hexadecimal number, with either a leading 0x (with a dot-notation Internet address) or with a network name. The mask contains ones for the bit positions in the 32-bit address used for the network and subnet parts. The mask contains zeros for the host part. The mask should contain at least the standard portion, and the subnet field should be contiguous with the network portion.
|-p on | off|
|Turns promiscuous mode on or off. When promiscuous mode is on, the adapter acts as a network monitor and receives all well-formed frames, regardless of their destination address. The default is off.|
This command returns the following exit values:
|>0||An error occurred.|
Access Control: You must have root authority to run this command.
Auditing Events: N/A
To set the Internet address for the default host adapter, enter:
ntx_ifcfg -i 188.8.131.52
|/usr/bin/ntx_ifcfg||Contains the ntx_ifcfg command.|
|/dev/rhp0||Default NTX raw device file name.|
"Configuring the Network Terminal Accelerator" in AIX Versions 3.2 and 4 Asynchronous Communications Guide