


NETWORKS(5)               FILE FORMATS                NETWORKS(5)



NAME
     networks - network name data base

DESCRIPTION
     The networks file contains information regarding  the  known
     networks  which comprise the TCP/IP. For each network a sin-
     gle line should be present with the following information:

          _o_f_f_i_c_i_a_l-_n_e_t_w_o_r_k-_n_a_m_e    _n_e_t_w_o_r_k-_n_u_m_b_e_r _a_l_i_a_s_e_s

     Items are separated by any number of blanks and/or TAB char-
     acters.  A `#' indicates the beginning of a comment; charac-
     ters up to the end of the line are not interpreted  by  rou-
     tines  which search the file.  This file is normally created
     from the official network data base maintained at  the  Net-
     work  Information Control Center (NIC), though local changes
     may be required to bring it up to date regarding  unofficial
     aliases and/or unknown networks.

     Network number may be  specified  in  the  conventional  `.'
     notation using the inet_network () routine from the Internet
     address manipulation library, inet(3N).  Network  names  may
     contain  any  printable  character other than a field delim-
     iter, NEWLINE, or comment character.

FILES
     /etc/networks

SEE ALSO
     getnetent(3N), inet(3N)

BUGS
     A name server should be used instead of a  static  file.   A
     binary  indexed  file  format  should  be available for fast
     access.




















Sun Release 4.1   Last change: 18 December 1989                 1



