HPlogo Configuring and Managing MPE/iX Internet Services: HP 3000 MPE/iX Computer Systems > Chapter 1 Introduction to Internet Services

Protocols File

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

The protocols file contains a list of protocols known to the system, plus the identification number and one or more aliases for each. It is unlikely that you will need to edit the protocols file, but you may need to install and link it.

Creating and Linking Protocols File

You may already have a protocols file installed on your system. If you know that you have such a file, and it is accessible by the POSIX file name /etc/protocols you may skip these steps.

If not, follow the steps below to create and link the protocols file, PROTOCOL.NET.SYS. If you have such a file, but are unsure whether or not it is linked, perform step 2 only.

  1. Use the COPY command to create the protocols file. Enter:

    :COPY PROTSAMP.NET.SYS, PROTOCOL.NET.SYS

    Make sure that you enter the singular form of protocol in the new MPE file name. That is, "PROTOCOL" and not "PROTOCOLS" should appear on the right side of the COPY command.

  2. Create a symbolic link from /etc/protocols in the POSIX name space to PROTOCOL.NET.SYS. Enter:

    :NEWLINK /etc/protocols, PROTOCOL.NET.SYS

    Again, make sure that you enter the singular form of protocol in the new MPE file name PROTOCOL.NET.SYS.

Viewing Protocols File

Use an MPE text editor to open the file. It is unlikely that you will need to edit the file, but you can look at it now to familiarize yourself with its contents.

# This file associates protocol numbers with official protocol names and
# aliases. This allows the user to refer to a protocol by a symbolic
# name instead of a number. For each protocol a single line should be
# present with the following information:
#
# The form for each entry is:
# <official protocol name> <protocol number> <aliases>
#
# See the Configuring and Managing MPE/iX Internet Services Manual
# for more information (HP Part No. 32650-90835).
#
# Note: The entries cannot be preceded by a blank space.
#
11 tcp 6 TCP # transmission control protocol
12 udp 17 UDP # user datagram protocol

Other Sources of Information

You may find the following books useful when you are working with Internet Services:

  • Unix Network Programming written by W. Richard Stevens. New Jersey: Prentice Hall, 1990

  • Telnet/iX User's Guide

Feedback to webmaster