Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: NetWare 4.1/9000 Installation and Administration Guide > Chapter 8 Managing NetWare

Configure a NetWare/IP Network

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NetWare/IP consists of server and client software that enables NetWare servs to use TCP/ IP Transmission Control Protocol Internetwork Protocol) instead of, or in addition to, IPX.

NetWare/IP enables the following:

  • Nodes on an existing IP network to have transparent access to NetWare services and applications.

  • NetWare networks to use TCP/IP for their transport protocol.

  • The interconnecting of TCP/IP and IPX networks so that users on both networks can access NetWare resources on either network.

  • With NetWare/IP, services look the same to NetWare clients and applications, regardless of whether IPX or IP is used as the transport protocol. The NetWare/IP modules use UDP to encapsulate IPX packets in IP packets. Figure 8-1 illustrates the encapsulated packet structure

.

Figure 8-1 NWIP Packet Structure Example

NWIP Packet Structure Example

Both NetWare servers and NetWare clients must be configured to use IP as the transport protocol. For information about configuring NetWare clients to use IP, see Document ID 2921058 on the Novell WWW site: http://www.novell.com.

NOTE: NetWare/IP is only supported with intra-NetWare clients.

NetWare/IP for NetWare 4.1/9000 servers is based on, and dependent upon, the NetWare/IP 2.2 product currently available for native NetWare servers. This section first describes the NetWare/IP dependencies and then the NetWare/IP modules for NetWare 4.1/9000 servers.

NetWare/IP Dependencies

NetWare/IP requires the following support services, which are not included in the NetWare/IP for NetWare/9000 modules.

NameDescriptionSource
Domain Name System (DNS)Provides a centralized database of host-to-address mappingUNIX serverNative NetWare/IP server
Domain SAP/ RIP Service (DSS)Maintains and distributes SAP and RIP information for the NetWare/IP networkNative NetWare/IP server

Domain Name System (DNS)

A DNS server maintains a centralized database of host names and addresses, and TCP/IP nodes use the DNS database to locate nodes on the network.

The native NetWare/IP modules allow the native NetWare server to become a DNS server. However, NetWare/IP can use the standard DNS server found on TCP/IP networks. Since DNS server functionality comes with most UNIX operating systems, the NetWare/IP modules for NetWare/9000 do not include DNS functionality.

NetWare/IP uses only a few of the features of DNS. It requires that you create and set up a special NetWare/IP domain. The domain is created like any other domain, but is different than others in that it cannot have any subdomains or hosts. It becomes a logical domain for all the NetWare/IP servers on the network, regardless of their physical location. The NetWare/IP domain unites these servers into a single domain. Figure 8-2 illustrates this concept.

Figure 8-2 Example Showing NetWare/IP Domain

Example Showing NetWare/IP Domain

The DNS server can be either a native NetWare server or an HP-UX server. Figure 8-2 illustrates it as a HP-UX server. NetWare/IP servers and clients use the DNS server to find the nearest DSS server in the NetWare/IP domain. The DSS servers, DSS1 and DSS2, must be native NetWare servers.

Domain Sap/RIP Service (DSS)

The DSS server maintains the database of SAP and RIP information, and NetWare/IP servers use UDP (User Datagram Protocol) packets to exchange SAP and RIP information with the DSS server. NetWare clients use the DSS server to obtain the IP address of their preferred NetWare server or tree so they can log in to the network.

On an IPX network, NetWare servers broadcast SAP and RIP information every 60 seconds. On a NetWare/IP network, NetWare/IP servers download their SAP and RIP information from the DSS database. At configurable intervals, the NetWare/IP server synchronizes its SAP and RIP information with the DSS server; and DSS servers, with other DSS servers.

The DSS server has the responsibility of maintaining an accurate list of IPX networks and services. NetWare/IP servers are configured to inform the DSS server when they initialize, when they are going down, and periodically (interval is configurable) that their services and networks are still available. If the NetWare/IP server fails to send the periodic "alive" message, the DSS server removes that server's services from its database.

NWIP Modules for NetWare/9000

The NetWare/IP (NWIP) software consists of an NWIPD daemon and an NWIP driver. The configuration parameters for NWIP are stored in the NWCM database and can be configured with SAM.

NWIPD Daemon

When the NWIPD daemon is initialized, it opens the NWIP driver and the UDP port designated for IPX emulation and links this port to the NWIP driver. It then opens the UDP port designated for the SAP/RIP emulation and links this port to the NWIP driver.

After initialization, NWIPD is responsible for the following tasks:

  • Obtaining SAP/RIP updates from the DSS server

  • Forwarding the updates to the NWIP driver

  • Detecting any discrepancies between local SAP/RIP information and the DSS server

  • Forcing a complete SAP or RIP download from the DSS server when a discrepancy is detected or when scheduled to do so with a SAM parameter

  • Maintaining the information files—RIP, SAP, and configuration

These files and their purpose are described below.

Configuration File

The NWIPD daemon saves the configuration parameters downloaded from the DSS server to the nwipparam.sav file located in the /etc/opt/netware4 directory.

The first time NWIPD daemon is started, if it cannot contact a DSS server, it cannot come up. SAM allows a list of DSS servers to be configured for NWIPD. If none of these servers are available, NWIPD will contact an DNS server for the addresses of other DSS servers. Once a DSS server is contacted, NWIPD downloads the configuration information to a file. Thereafter, if a DSS server is not available when NWIPD comes up, it uses the configuration information in the file to start up.

SAP and RIP Files

The NWIPD daemon downloads the SAP and RIP information from the DSS server. The DSS server maintains a version number with the SAP and RIP information and updates the version number whenever the SAP or RIP information changes. The NWIPD daemon sends periodic requests to the DSS server for the version number. When the version number is different from the one stored by the NWIPD daemon, the updated SAP and RIP information is downloaded from the DSS server to the NWIPD daemon.

When the NWIPD daemon is first initialized, it requests a transfer of all SAP and RIP information. After that, the DSS server sends only changed information. A complete transfer of information is done only when a mismatch is detected after a transfer. An NWCM parameter controls the interval between updates. The default is five minutes.

The NWIPD daemon stores the RIP information and version number in the nwiprip.sav file located in the /etc/opt/netware4 directory, and the SAP information and version number in the nwipsap.sav file located in the /etc/opt/netware4 directory. When the NCPS server goes down and then comes back up, the NWIPD daemon reads the RIP and SAP information from their files and sends this information to the NWIP driver which forwards it to the IPX driver. The IPX driver forwards the RIP packets to the RIP driver and the SAP packets to the SAP daemon so they can populate their information tables. The NWIPD then contacts the DSS server for updates and sends these to the NWIP driver for forwarding up the IPX stack.

If your network is fairly stable, only a few packets are needed to keep the SAP and RIP agents fully informed of available services and networks.

NWIP Driver

The NWIP driver is a streams multiplexor which tunnels all IPX traffic coming down from the IPX driver to UDP, and the traffic with encapsulated IPX packets coming up from UDP to the IPX driver.

The NWIP driver provides a Data Link Provider Interface (DPLI) at the top to which the IPX driver is bound. This is the interface the IPX driver expects from a LAN driver. The NWIP driver uses the Transport Provider Interface (TPI) at the bottom to which UDP and the rest of the TCP/IP stack is bound.

The NWIP driver performs the following tasks:

  • Intercepts all IPX packets going from IPX to DLPI and sends them to the UDP/IP stack

  • Sends incoming packets from the UDP ports (the NWIP driver binds to) to the IPX driver

  • Injects the SAP/RIP packets coming from the NWIPD daemon to the IPX driver

  • Forwards SAP/RIP packets from the IPX driver to the DSS server

The NWIP driver uses source (incoming or outgoing), packet types, and ioctls to perform these tasks.

Adding a NetWare/IP Network

In Native NetWare, the NetWare/IP product enables NetWare servers and clients to use TCP/IP as their transport protocol. The NetWare/IP product on NetWare 4.1/9000 functions in a similar fashion.

Server Prerequisites

NetWare/IP requires a Domain SAP and RIP Server, a DSS server. The HP 9000 server cannot function as a DSS server because this functionality was not implemented in NetWare 4.1/9000. You must use a native NetWare server as the DSS server. See the NetWare/IP Adminstrators Guide in the native NetWare documentation set for more information.

After you have configured a native NetWare server to use TCP/IP and have set up that server to be a DSS server, you are ready to install and configure the NetWare 4.1/9000 server to use TCP/IP as its protocol.

On UNIX, The Domain Name Server (DNS) partitions an IP internet into zones or domains. All NetWare servers using TCP/IP as their protocol must be in the same NetWare/IP domain.

NetWare/IP will be installed automatically as part of the NetWare 4.1/9000 product. However, after installation, NetWare/IP needs to be configured as the transport protocol. You can do this by following the steps below.

Before Netware/IP can be used, the parameters associated with NetWare/IP must be configured.

Configuring NetWare/IP

The NetWare/IP configuration can be performed only by the root user or owner of the system.

To configure NetWare/IP:

  1. Complete the NetWare/IP Worksheet (see below).

  2. For each system:

    • Configure the NetWare/IP network.

    • Configure the IP address mapping for that system.

  3. Restart NetWare on each system for the changes to be effective.

NWIP can co-exist with IPX/SPX on the standard NetWare network. Any system can be configured to use both NWIP and IPX stacks simultaneously.

The current implementation of NWIP does not function as a forwarding gateway. All the SAP/RIP information received from the IPX stack will not be sent to the NWIP database by the NCPS. But it will forward all the SAP/RIP information received from the NWIP database to the IPX side.

Each step is described in the section following.

NetWare/IP Network Configuration

  1. Log into the system as root.

  2. At the HP-UX prompt, type: sam

  3. Double click Networking and Communications at the SAM main window.

  4. Double click NetWare at the Networking and Communications window.

  5. Double click Networking Configuration at the NetWare window.

  6. Add NetWare/IP. Choose Set Up NetWare/IP from the "Actions" menu.

    1. Enter the external Network Address of your network.

      All systems that communicate using NetWare/IP have the same network address. Enter that address here. This new number specifies a unique number designating the address for the network and can be up to eight hexadecimal digits in length.

    2. Enter the NetWare/IP Domain Name that you have chosen for your NetWare/IP network.

      All systems that communicate using NetWare/IP use the same NetWare/IP domain name.

    3. Enter the Database Sync Interval (default is 300 seconds).

      This field indicates the interval, in seconds, at which the NetWare/IP database transfer server will check and, if necessary, download the latest version of the SAP/RIP Domain SAP Server (DSS) records. The minimum value is 120 and the maximum value is 1800.

    4. Enter the NetWare/IP Max Retries.

      This field indicates the maximum number of UDP retransmissions NetWare/IP will attempt at startup. The default is 1. The range is 0 to 50.

    5. Enter the NetWare/IP UDP Port.

      This field indicates the UDP port number used by this NetWare/IP installation. HP recommends that you not change the default value.

    6. Enable/disable Nearest Server Query Broadcast.

      This field indicates whether NetWare/IP should broadcast Nearest Server Queries to the local network.

    7. Optionally, enter the Preferred Domain SAP Server.

      The Preferred Domain SAP Server is where the server will update its latest SAP/RIP information. This server contains SAP/RIP information.

      The list of Preferred Domain SAP Servers can contain up to five DSS servers. The NetWare/IP server will attempt to contact the DSS servers on this list in sequence before querying a DNS name server for all available DSS servers.

    8. Optionally, enter the NetWare/IP Server(s).

  7. Return to the NetWare menu in SAM.

Logging and Tracing

The NWIP daemon logs all its activities, warnings, and errors in the log file nwipd.log in the standard NetWare 4.1/9000 log directory (/var/opt/netware4/log), and also on the console.

There are four levels of messages that will be logged by the daemon. The command line switch can be used for setting the level of messages that you want logged. When logging to the file, the current file will be renamed as nwipd.log.old after the pre-defined amount of lines are logged (300). A new log file will be created thereafter. This will prevent the log file from growing too large.

The four internal levels of logging are

  • ERROR

  • WARNING

  • INFO

  • DEBUG

The format of the Message logged to the file is as follows:

<Label>: <Date>: <Type>: <Message>

Where Label is always UX:nwipd, Date gives the date and time at which the message is generated and Type is given as one of ERROR, WARNING and INFO. DEBUG messages get logged as INFO.

Examples of typical logged messages are given below:

UX:nwipd: Fri Aug 16 12:09:43 1996: ERROR: No devices configured (lan_1_adapter) for NW/IP

UX:nwipd: Fri Aug 16 12:09:43 1996: ERROR: Exiting with error code: 1

The messages will be read from a message catalog and can be customized for different locales.

The NWIP driver provides tracing facility. The traces can be seen through the utility strace.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997 Hewlett-Packard Development Company, L.P.