This chapter provides instructions and information about configuring the IRIS HIPPI software. The configuration tasks are listed, then described in detail, in the sections of this chapter.
Within this chapter, there is a section that describes how the physical HIPPI boards (hippi0, hippi1, hippi2, and hippi3) are matched to HIPPI network interfaces (hip0, hip1, hip2, and hip3).
Before configuring the IRIS HIPPI software, you need to decide whether or not you want the driver to include support for the IP network stack. The configuration steps are slightly different depending on this decision.
The following steps configure the IRIS HIPPI driver for use as a non-IP network connection. Complete details for each step are provided in separate sections of this chapter.
Use inst or the System:SoftwareManager to install the IRIS HIPPI software from the CD-ROM, as explained in the IRIS HIPPI Release Notes. The inst command is documented in the online document IRIX Admin: Software Installation and Licensing that came with the system.
Optional:
Edit the /var/sysgen/system/hippi.sm or hippi_s.sm file to EXCLUDE the IP interface.
![]() | Note: If you exclude IP support from the driver, and later you want to use IP, you must redo the configuration steps. If you configure the software with IP, you only need to do the additional configuration steps to add IP functionality later. When the driver is built to support IP, but IP is not configured, some error messages are displayed each time the system is started. |
The system is ready to have its IRIS HIPPI hardware installed. When restarted (after the hardware installation), the system asks you to authorize rebuilding of the operating system. Answer yes, to build an operating system that includes the IRIS HIPPI driver. Then, reboot the system to start using the new operating system.
![]() | Note: If the hardware is already installed, rebuild the operating system as described in “Building a New Driver Into the Operating System”. |
The following steps configure the IRIS HIPPI driver with support for IP networking. Complete details for each step are provided in separate sections of this chapter.
Use inst or the System:SoftwareManager to install the IRIS HIPPI software from the CD-ROM, as explained in the IRIS HIPPI Release Notes. The inst command is documented in the IRIX Admin: Software Installation and Licensing that came with the system.
Edit the /var/sysgen/master.d/if_hip file to configure IRIS HIPPI driver parameters.
Verify that the /var/sysgen/system/hippi.sm file or the /var/sysgen/system/hippi_s.sm file has an INCLUDE statement for the IP interface.
Edit the /usr/etc/hippi.imap file to include all the endpoint destination I-fields.
Edit the IP configuration files (/etc/hosts and /etc/config/netif.options) to include IP network connection names and addresses.
Enable IP (that is, write ON into the /etc/config/network file).
The system is ready to have its IRIS HIPPI hardware installed. When restarted (after the hardware installation), the system asks you to authorize rebuilding of the operating system. Answer yes, to build an operating system that includes the IRIS HIPPI driver. Then, reboot the system to start using the new operating system.
![]() | Note: If the hardware is already installed, rebuild the operating system as described in “Building a New Driver Into the Operating System”. |
Use the command below to verify the version or to check if the IRIS HIPPI software has been installed.
% versions hippi I HIPPI date IRIS HIPPI, version |
The /var/sysgen/system/hippi.sm file or /var/sysgen/system/hippi_s.sm file tells the system's software which IRIS HIPPI modules to include when it builds the IRIS HIPPI driver into the operating system. Use the hippi.sm file when the copper-based IRIS HIPPI board for Challenge or Onyx is installed; use the hippi_s.sm file with the fiber-based HIPPI-Serial board for Origin2000 or Onyx2. The default file builds IP networking and, when available, BYPASS functionality into the driver.
![]() | Caution: Do not delete any entries in this file. The operating system (kernel) cannot link properly unless each entry exists, either as an INCLUDE or EXCLUDE. |
The following line in either the hippi.sm or hippi_s.sm file can be edited to build an IRIS HIPPI driver that does not support IP networking:
![]() | Note: When the driver is built with IP support, but the IP protocol stack is not enabled, each time the system is started some error messages are displayed; the HIPPI functionality is all right. |
For Origin2000 or Onyx2 systems only, the following line in the hippi_s.sm can be edited to build an IRIS HIPPI driver that does not support BYPASS functionality:
If you exclude IP or BYPASS functionality, then decide later that you want the function, you must undo the edit (or edits), then, rebuild (autoconfig) the operating system.
The /var/sysgen/master.d/if_hip file configures the IRIS HIPPI driver and board. Driver and board configuration is optional, because all parameters have default settings. The settings in this file affect all IRIS HIPPI boards installed in the system.
The IRIS HIPPI driver and board have very few configurable parameters (for example, the size for the maximum transmission unit and onboard IP checksumming). The specific items vary from release to release, so they are explained fully within the file.
The /usr/etc/hippi.imap file maps hostnames (or IP addresses) to HIPPI I-fields. Optionally, for systems with HIPPI boards that do not store a media access control (MAC) address[6] , a 6-byte universal IEEE address (called ULA or MAC address) can also be mapped. The file can contain up to 2048 lines.
Each time the HIPPI-LE upper layer protocol (ULP) module is about to program the HIPPI subsystem's source channel to issue a connection request, it obtains the I-field for its destination from a lookup table that has been loaded into memory at startup time. The lookup table maps IP addresses or hostnames to HIPPI I-fields. This table is generated (at startup time) from the hippi.imap file and can be modified in real time with the hipmap command.
Each I-field is a 32-bit value. Each line (entry) in the file can have any of the formats illustrated below:
hostname 0xXXXXXXXX
where hostname is the name of a system as listed in the /etc/hosts file and 0xXXXXXXXX is the 32-bit I-field, in hexadecimal notation. The following line is an example of this format:
hippi-goofy 0x01000001 #source address format for port1 |
x.x.x.x 0xXXXXXXXX
where x.x.x.x is the IP address in dotted decimal notation, and 0xXXXXXXXX is the 32-bit I-field in hexadecimal notation. The following line is an example of this format:
223.9.1.18 0x07001002 #logical address format |
hostname 0xXXXXXXXX XX:XX:XX:XX:XX:XX
where hostname is the name of a system as listed in the /etc/hosts file, 0xXXXXXXXX is the 32-bit I-field in hexadecimal format, and XX:XX:XX:XX:XX:XX is the 48-bit ULA (MAC address) in hexadecimal notation. The following line is an example of this format:
hippi-goofy 0x01000001 05:A6:70:9B:FF:8E |
![]() | Note: The ULA entry can only be used on a CHALLENGE or Onyx platform. Other platforms read the MAC address from the IRIS HIPPI board. |
x.x.x.x 0xXXXXXXXX XX:XX:XX:XX:XX:XX
where x.x.x.x is the IP address in dotted decimal notation, 0xXXXXXXXX is the I-field (32-bits in hexadecimal format), and XX:XX:XX:XX:XX:XX is the ULA or MAC address (48-bits in hexadecimal notation). The following line is an example of this format:
223.9.1.18 0x01000001 05:A6:70:9B:FF:8E |
![]() | Note: The ULA entry can only be used on a CHALLENGE or Onyx platform. Other platforms read the MAC address from the IRIS HIPPI board. |
The IRIS HIPPI software does not check or verify these values. It is the system administrator's responsibility to ensure that each entry is both valid and correct. The I-field value must be the exact I-field for use in the connection request; for example, it must contain the desired settings for the camp-on bit and, if logical addressing if used, the source's address.
Figure 2-1 is a template that can be used for developing each 32-bit I-field for a logical addressed environment; Figure 2-2 is for developing source addressed I-fields. The templates show the values that SGI recommends for use by the IRIS HIPPI-LE upper layer protocol.
![]() | Note: If the IRIS HIPPI source is connected directly to another HIPPI endpoint (no switch is involved), the lookup table on each system should contain only one line. This single I-field value at each system can be 0x00000000, if the destination implementation accepts this value. |
If IRIS HIPPI is already functioning, and you want to load additional entries into the map currently in memory, the following command can be invoked as superuser:
# /usr/etc/hipmap -f /usr/etc/filename |
If IRIS HIPPI is functioning, and you want to load an entirely new map into memory (and to erase the old entries), the following command can be invoked as superuser:
# /usr/etc/hipmap -D -f /usr/etc/hippi.imap |
To configure the IP networking interfaces, edit the /etc/hosts and /etc/config/netif.options files, as explained below.
Each time the IP software starts, it uses information from these two files to configure the IP interfaces.
![]() | Note: For additional details about enabling the IP networking software and configuring network interfaces, refer to the IRIX Site Administrator's Guide, which is available online through IRIS Insight™ or in hardcopy. |
The /etc/hosts file maps hostnames to network-layer IP addresses. There must be one entry for each IRIS HIPPI board. The entries should be similar to the examples below, which illustrate four IRIS HIPPI interfaces for a system whose hostname is goofy.:
223.9.1.2 hippi1-goofy.toons.com hippi1-goofy 223.9.2.4 hippi2-goofy.toons.com hippi2-goofy 223.9.3.16 hippi3-goofy.toons.com hippi3-goofy 223.9.4.32 hippi4-goofy.toons.com hippi4-goofy |
The /etc/config/netif.options file maps local hostnames (or IP addresses) to IRIS HIPPI network interfaces (for example, hip0, hip1, etc.). There must be a two-line entry for each IRIS HIPPI board that services the IP network stack. The first entry (if1addr and if1name) defines the primary interface; in most situations, the primary interface should be Ethernet or FDDI. Each hostname or IP address in this file must also be in the /etc/hosts file; the hostnames or IP addresses in the two files must be identical.
Systems that function as a client or server for bootp should configure Ethernet as their primary network interface. Any system that functions as a client or server for NFS, NIS, or other client/server program should configure the network interface over which the client/server functions occur as the primary network interface.
The example below illustrates a system with three IRIS HIPPI network interfaces, an FDDI interface (that is, xpi0), and a primary Ethernet interface. If this system's hostname is goofy, these IRIS HIPPI entries interwork with the examples of /etc/hosts file entries shown above.
if1name=et0 if1addr=$HOSTNAME if2name=xpi0 if2addr=fddi-$HOSTNAME if3name=hip0 if3addr=hippi1-$HOSTNAME if4name=hip1 if4addr=hippi2-$HOSTNAME if5name=hip2 if5addr=hippi3-$HOSTNAME |
![]() | Note: The use of the $HOSTNAME variable assumes that the system's hostname has been defined in the /etc/sys_id file. |
To automatically enable the IP network stack each time the system is started, edit the /etc/config/network file so that it contains the single word ON or on. If the file is missing, add the file or invoke chkconfig network on.
![]() | Note: Enabling IP networking does not result in IP over HIPPI; it only enables the IP software within the operating system to operate over whatever drivers are available to service it. |
This section describes how to rebuild the operating system. All the configuration steps listed in the “Overview of Configuration Steps” must be performed before the operating system is rebuilt.
For the IRIS HIPPI subsystem to be functional, the IRIX operating system (kernel) that is currently on the system must be rebuilt to include the IRIS HIPPI driver. When changes are made to any of the following files, or when new IRIS HIPPI software is installed, it is necessary to rebuild the operating system:
/var/sysgen/ioconfig/hippi
/var/sysgen/master.d/hps
/var/sysgen/master.d/hippi
/var/sysgen/master.d/hippibp
/var/sysgen/master.d/if_hip
/var/sysgen/system/hippi.sm
/var/sysgen/system/hippi_s.sm
The three sets of instructions below each build a new operating system and start it running. It is not important which set of instructions is used.
Instruction Set 1
% su Password: thepassword # /etc/init.d/autoconfig Automatically reconfigure the operating system (y or n)? y <log on> % su Password: thepassword # /etc/reboot .....<various messages are displayed on console>... configuring hip0 as hostname configuring hip1 as hostname |
Instruction Set 2
% su Password: thepassword # /etc/shutdown |
When the system shuts down, restart it. When this question is displayed, answer with yes or y.
Automatically reconfigure the operating system (y or n)? y <log on> % su Password: thepassword # /etc/shutdown |
Instruction Set 3
Use the same sequence as Set 2; however, instead of the /etc/shutdown command, use any of the following:
/sbin/init 0
/etc/halt
/etc/reboot