HP 3000 Manuals

The protocols file [ Configuring and Managing MPE/iX Internet Services ] MPE/iX 5.5 Documentation


Configuring and Managing MPE/iX Internet Services

The protocols file 

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 the 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 the protocols file 

Once you have created the symbolic link between PROTOCOL.NET.SYS and
/etc/protocols, you may use either a POSIX or 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 (36957-90154)



MPE/iX 5.5 Documentation