home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / lan / driver6s / ibmtoken.doc < prev    next >
Text File  |  1990-03-15  |  4KB  |  97 lines

  1.      
  2.        File:   IBMTOKEN.DOC
  3.        Auth:   Brian Fisher
  4.        Date:   October 3 1989
  5.      
  6.        Purp:   Notes on IBMTOKEN.COM, the 'Ethernet' packet driver
  7.                for TCP/IP and NCSA Telnet.
  8.      
  9. ========================================================================
  10.      
  11.        IBMTOKEN is an Ethernet packet driver for the IBM Token Ring
  12.        Adapter card.  The IBM Lan support program must be installed before
  13.        you use IBMTOKEN.
  14.      
  15.        CONFIG.SYS - to install the LAN Support program and increase the
  16.        size of the stacks.  The default stack size is too small and leads
  17.        to crashes.
  18.      
  19.        device=C:\PCLAN\DXMA0MOD.SYS
  20.        device=C:\PCLAN\DXMC0MOD.SYS
  21.        device=C:\PCLAN\DXMT0MOD.SYS
  22.        stacks=9,512
  23.      
  24.        AUTOEXEC.BAT - to install IBMTOKEN and define NCSA config file:
  25.      
  26.        IBMTOKEN 0x61   0
  27.        SET CONFIGTEL=C:\CONFIG.TEL
  28.      
  29.      
  30.        CONFIG.TEL
  31.      
  32.        myip=xx.yy.zz.qq                # put your IP address here
  33.        netmask=255.255.255.0           # use your network mask here
  34.        hardware=packet                 # tell NCSA to use the packet driver
  35.                                        # interface
  36.        address=0                       # class for packet driver
  37.        ioaddr=0x61                     # vector given to IBMTOKEN
  38.      
  39.        mtu=1500                        # max IBMTOKEN can transmit
  40.        maxseg=1500                     # max IBMTOKEN can receive
  41.        rwin=536                        # max if NCSA can't do IP fragments
  42.      
  43.      
  44.        IBMTOKEN:
  45.      
  46.        IBMTOKEN <vector> <adapter>
  47.      
  48.        where    vector is the interrupt assigned to the packet driver
  49.                 interface
  50.      
  51.                 adapter is 0 for the first adapter card, and 1 if the
  52.                 second adapter card is to be used.
  53.      
  54.      
  55.      
  56.        When IBMTOKEN installs, the following occurs:
  57.      
  58.                1)   DIR.INITIALIZE is called to initialize the adapter.
  59.                2)   DIR.OPEN.ADAPTER is called to set up buffers for
  60.                     IBMTOKEN.
  61.                3)   RECEIVE is called to set up the receive service
  62.                     routines.
  63.                4)   DIR.STATUS is called to determine the address of the
  64.                     adapter.
  65.      
  66.                If any of these calls fails, the installation is aborted.
  67.      
  68.                IBMTOKEN may not install properly if the token ring adapter
  69.                has been in use by another program, and to closed properly.
  70.                If this is the case, reboot and run IBMTOKEN.
  71.      
  72.      
  73.        OPERATION:
  74.      
  75.        IBMTOKEN translates 'Ethernet' packet driver calls to 802.2 LLC
  76.        format packets for transmission.  Currently it supports IP and
  77.        ARP transmissions.  RARP and BOOTP probably won't work.
  78.      
  79.        IP packets are sent 'as is'.  ARP packets require a minor modification
  80.        before they are sent.  The hwr address space value must be changed from
  81.        1h to 6h.  On receive, the driver changes 6h back to 1h.  The size (60
  82.        is min for Ether) must be set to 28 or some token hosts won't accept
  83.        the transmission.
  84.      
  85.        Receive packets smaller than 60 bytes are rounded up so the upper
  86.        level will accept them.
  87.      
  88.        Token Ring source routing.  When the upper level call back routine
  89.        accepts a packet, its RIF is recorded in a table interal to IBMTOKEN.
  90.        When IBMTOKEN sees the destination address requires a RIF, the
  91.        info is pulled from the table and added to the MAC header for transmit.
  92.      
  93.        IBMTOKEN can handle a maximum of 32 source route entries.  One
  94.        default entry is present for the 'broadcast' address.  The first
  95.        source route received for an address is assumed to be the shortest.
  96.        Subsequent source routes from the same host are ignored.
  97.