NTX_IFCFG(1) — USER COMMANDS
NAME
ntx_ifcfg − configure NTX network interface parameters
SYNOPSIS
ntx_ifcfg [−d device] [−i address [−m netmask] [−e 802|enet]] [−b broadcast] [−p on|off]
DESCRIPTION
Ntx_ifcfg displays or assigns the MVME339 network interface addresses. Ntx_ifcfg is normally run immediately after the Network Terminal Software has been downloaded in order to set the MVME339 board’s Internet address. No Internet network activity will take place until the Internet address is assigned. Ntx_ifcfg may also be used at a later time to redefine the MVME339 board’s Internet address.
The network interface addresses may be specified by name or by Internet dot notation.
OPTIONS
−bSpecify the address to be used to represent broadcasts to the network. The default broadcast address is the address in which the host part appears as all 1’s.
−dSet the MVME339 raw device file name. This option will override the default MVME339 device name of /dev/xedt/mvme338_c0.
−iSpecify the Internet address of the MVME339 board.
−mSpecify how much of the address to reserve for subdividing the network into subnetworks. The mask includes the network part of the local address and the subnet part, which is taken from the host field of the address. The mask can be specified as a single hexadecimal number with either a leading 0x, with a dot-notation Internet address, or with a network name. The mask contains 1’s for the bit positions in the 32-bit address which are to be used for the network and subnet parts, and 0’s for the host part. The mask should contain at least the standard portion, and the subnet field should be contiguous with the network portion.
−eConfigure the MVME339 board for either IEEE 802.3 or Ethernet operation. If the 802 option is given, the board is placed in 802 mode. If already in 802 mode, specifying the enet option will convert the board from 802 mode back to Ethernet mode. The default mode is Ethernet.
−pTurn promiscuous mode on or off. When promiscuous mode is on, the MVME339 will act as a network monitor and receive all well-formed frames, regardless of their destination address.
EXAMPLES
The following example sets the Internet address for the default MVME339 host adapter:
ntx_ifcfg -i 192.6.153.99
FILES
/dev/xedt/mvme339_c0
~/include/ntx/net.h