Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LCNET                               Aegis                                LCNET




NAME
     lcnet - display internet routing information

SYNOPSIS
     /etc/lcnet [options]

DESCRIPTION
     lcnet displays the list of known networks, their distance from the
     current node, the router used as the first hop from that network, and
     other information.

     The distance (hops) from remote networks is measured in intervening
     routers. The distances are all for one-way traffic; if a network is three
     hops away from yours, your requests pass through three routers to get to
     that network. The responses also pass through three routers on the way
     back.

     The -conn option shows you the full internet topology; that is, the list
     of networks and how the routers connect them together.

OPTIONS
     -local (default)
               Display the "First Hop" and "Hops" information for each network
               in the internet.  The first hop is the node ID of a router on
               your network. It is the first router used in sending packets
               from your network to the target network.  Other routers are
               also used if the target network is more than one hop away from
               your own.

     -full     Display information showing how up to date the routing table is
               (the "Age" and "Expiration" columns) in addition to the "First
               hop" and "Hops" information shown by the -local option.  -full
               also lists inaccessible networks.

     -conn     Show which routers are connected to each network, and which
               other networks those routers touch. This option displays the
               "Touching" information.

     -hw       Display the type of hardware used for each of the networks.

               The -conn and -hw options may take several seconds to execute
               if you have a large internet.

     -n node-spec
               Print another node's view of the internet. The outputs produced
               by -local and -full vary from node to node; -n affects these
               outputs.  The -n option does not affect the output produced by
               the -conn or -hw options, since the hardware and connectivity
               do not depend on a node's position in the internet.

     -c        The -c option suppresses the title over each output column. It
               also fills every line of the "Network" column produced by the
               -conn option, and every line of the "Hardware" column produced
               by the -hw option. These format changes make it easier to use
               lcnet's output as another program's input.

EXAMPLES
     In this example, the node is directly connected to network C0FFEE.
     Networks 5A1AD and ED1F1CE were connected in the past, but are not now
     accessible (perhaps because the routers are down).

     The expiration date and time for the "local" network are meaningless.

     $ /etc/lcnet -full
                First
     Network     Hop     Hops    Age  Expiration date/time
     ========   =====   =====    ===  ===================
         B020    4B6F       1    NEW  1987/06/16 14:33:21
       B00B00    4B6F       2    NEW  1987/06/16 14:33:21
        5A1AD    4B6F    gone    NEW  1987/06/16 14:33:21
       C0FFEE       0   local    NEW  1987/06/09 10:27:46
      ED1F1CE    4B6F    gone    NEW  1987/06/16 14:33:21
         D0D0    BAD1       1    NEW  1987/06/16 14:33:39


     The "Touching" information describes your internet completely.  This
     example includes several kinds of information:

     - Network DEFACED has one router, node 2A3B.
       That router connects DEFACED to EFFACED.
     - Network FACE0FF contains two routers, 31DC and 1371.
       Those routers connect FACE0FF to C0C0A and C0FFEE,
       respectively.


     $ /etc/lcnet -conn
                 Touching    Touching
     Network      Router     Network
     ========    ========    ========
         F00D        5C0B       DECAF
                     36CF      C0FFEE
        5A1AD        459B      C0FFEE
                     45BE     ED1F1CE
        B002E        3F0A      C0FFEE
        C0C0A        BAD1      B00B1E
                     56B0     EFFACED
                     31DC     FACE0FF
        DECAF        5C0B        F00D
       B00B1E        BAD1       C0C0A
       C0FFEE        36CF        F00D
                     459B       5A1AD
                     3F0A       B002E
                     1371     FACE0FF
      DEFACED        2A3B     EFFACED
      ED1F1CE        45BE       5A1AD
      EFFACED        56B0       C0C0A
                     2A3B     DEFACED
      FACE0FF        31DC       C0C0A
                     1371      C0FFEE


     $ /etc/lcnet -conn -c
         F00D        5C0B       DECAF
         F00D        36CF      C0FFEE
        5A1AD        459B      C0FFEE
        5A1AD        45BE     ED1F1CE
        B002E        3F0A      C0FFEE
        C0C0A        BAD1      B00B1E
        C0C0A        56B0     EFFACED
        C0C0A        31DC     FACE0FF
        DECAF        5C0B        F00D
       B00B1E        BAD1       C0C0A
       C0FFEE        36CF        F00D
       C0FFEE        459B       5A1AD
       C0FFEE        3F0A       B002E
       C0FFEE        1371     FACE0FF
      DEFACED        2A3B     EFFACED
      ED1F1CE        45BE       5A1AD
      EFFACED        56B0       C0C0A
      EFFACED        2A3B     DEFACED
      FACE0FF        31DC       C0C0A
      FACEOFF        1371      C0FFEE




SEE ALSO
     More information is available.  Type

     help  lcnode   For information on listing connected nodes

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026