home *** CD-ROM | disk | FTP | other *** search
/ PC Press: Internet / PC_PRESS.ISO / software / dos / misc / inar-100.exe / README next >
Encoding:
Text File  |  1995-05-21  |  8.5 KB  |  191 lines

  1. Documentation to INAR 1.00 (InterNet Access Router)
  2. ===================================================
  3.  
  4. INAR is a fast, easy to configure freeware package that makes a
  5. dedicated IP router out of any 80x86 PC running MS-DOS. To communicate
  6. with the network interface hardware it uses packet drivers that comply
  7. with FTP Software, Inc's packet driver specifications (Rev. 1.09). If
  8. you have more than one computer at your site and want to connect your
  9. LAN segment to the Internet and/or other LAN/WAN segments, this
  10. package is for you!
  11.  
  12. Here's a list of INAR's most prominent features:
  13.  
  14.   - Up to eight interfaces.
  15.   - The router component is written in assembler so it is very fast.
  16.   - Propagates routing information via RIP (incl. "poisoned reverse").
  17.   - Selective default route propagation.
  18.   - Interfaces and static routes can be marked as hidden (to RIP) and
  19.     unreachable.
  20.   - Transient static routes to provide boot-time default routing
  21.     until RIP takes over.
  22.   - Supports static routes with variable subnet masks in the same
  23.     IP net to ensure economic use of precious Internet IP numbers.
  24.   - Allows source routes to enforce local routing policies.
  25.   - Source IP address (reverse route) checking to enhance network
  26.     security.
  27.   - Proxy ARP (for all known routes).
  28.   - Global broadcast forwarding between subnets of the same IP net.
  29.   - Can send status messages to a UNIX syslog daemon.
  30.   - BOOTP forwarding.
  31.   - ISDN and point-to-point interfaces do not need an extra IP address.
  32.   - Multiple transmission protocols and dialin/dialout links on the
  33.     same ISDN interface.
  34.   - A single non-cryptic, easy-to-understand configuration file for
  35.     all software components.
  36.   - Comes with packet drivers for the most common ethernet cards as
  37.     well as with drivers for ISDN and SLIP/CSLIP.
  38.   - Includes sample config files for the most common cases.
  39.  
  40. The router component was derived from the very popular PCroute. Many
  41. thanks to Vance Morrison (morrison@cs.uiuc.edu) for releasing the
  42. original version some years ago, and for giving me (Uwe Doering,
  43. inar@geminix.snafu.de) permission to work on it and release my
  44. version to the public as well. The configuration program (CF.EXE),
  45. which holds all the parts of this package together, was written
  46. by me from scratch.
  47.  
  48. The ethernet packet drivers that are part of this distribution have
  49. been taken from the Crynwr Software (info@crynwr.com) collection
  50. (PKTD11).
  51.  
  52. The ISDN driver (ISPA 1.8.6, with hardware independent CAPI interface)
  53. was developed by Herbert Hanewinkel (heha@biochem.mpg.de).
  54.  
  55. The author of the SLIP/CSLIP drivers (SLIPPER 1.5) is Peter R. Tattam
  56. (peter@psychnet.psychol.utas.edu.au).
  57.  
  58. Note that the copyrights of the original authors stay intact and aren't
  59. affected in any way by the INAR distribution. However, the INAR package
  60. as a whole can be freely copied and used.
  61.  
  62. As you can see, this package has several authors. I decided to not
  63. re-invent the weel but to rather concentrate on areas that were not
  64. so well covered, that is, enhancing the IP router and writing a
  65. configuration program. The idea was to add a selected set of packet
  66. drivers and roll out a package that would be almost plug-and-play.
  67.  
  68.  
  69. WHERE TO FIND WHAT?
  70. -------------------
  71.  
  72. INAR 1.00 is available via anonymous FTP from ftp.fu-berlin.de
  73. (160.45.10.6), file `/pc/msdos/network/inar/inar-100.exe' (self-
  74. extracting LHA file).
  75.  
  76. The INAR distribution unpacks to a directory tree:
  77.  
  78.     BIN        (executable programs)
  79.     DOC        (documentation to the various parts)
  80.     SAMPLES    (sample config files for the most common cases)
  81.     SRC        (source code, if available)
  82.  
  83.  
  84. WHY DO I NEED AN IP ROUTER?
  85. ---------------------------
  86.  
  87. At larger sites with many computers you can't connect all computers to
  88. the same network segment. The number of connected devices is limited
  89. because you wouldn't want to have the data traffic of all computers on
  90. a single segment. The bandwidth of an Ethernet segment, for instance,
  91. is only 10 MBit/s and with enough computers you could easily saturate
  92. the network so that noone gets his work done anymore.
  93.  
  94. To avoid these problems, one usually splits the Local Area Network
  95. (LAN) into separate segments. Each segment gets its own set of IP
  96. network numbers and they are connected to each other by IP routers.
  97. An IP router passes IP packets from one segment to another only if
  98. the sending and the receiving device are on different segments while
  99. the data traffic between devices on the same segment is kept local.
  100. Additionally, if an IP router is connected to the Internet via a
  101. point-to-point connection, it acts as a concentrator for the Internet
  102. data traffic which it transfers over a communication line.
  103.  
  104.  
  105. HOW TO SET UP THE ROUTER
  106. ------------------------
  107.  
  108. You need a single configuration file that contains all the informations
  109. about the router and the packet drivers. The configuration syntax is
  110. shown in the file `SYNTAX.DOC' and is described in detail in the file
  111. `CONFIG.DOC'. Also, there are sample config files for common cases that
  112. you may want to use as a starting point.
  113.  
  114. After you have edited the config file to reflect your local conditions
  115. you just need to run the configuration program (CF.EXE) with the name
  116. of your config file as the argument. For instance
  117.  
  118.     CF CONFFILE
  119.  
  120. The configuration program generates the files `P?.CFG', `INAR.BAT'
  121. and, if you use ISDN, the files `ISPA?.CFG'. Look into `INAR.BAT'
  122. and make sure that all programs that are called in this batch file
  123. are present in the directory in which you want to run INAR.
  124.  
  125. Now prepare the computer's `CONFIG.SYS' and `AUTOEXEC.BAT' files in a
  126. way that it starts everything that is necessary to run INAR. For
  127. instance, make sure that if you use ISDN, the CAPI driver that comes
  128. with the ISDN card is started before you run INAR. When everything is
  129. in place, add the lines
  130.  
  131.     CD \INAR
  132.     CALL INAR
  133.  
  134. to the end of the `AUTOEXEC.BAT' file. For this example I've assumed
  135. that all INAR files are located in the `INAR' subdirectory. Now you
  136. can reboot, and if you didn't make any errors INAR should start
  137. automatically and your IP router is up and running.
  138.  
  139. To test it you should start with `ping'ing the IP addresses of the
  140. router's interfaces, and if this works, try to reach hosts connected
  141. to the other interfaces. Also, if you use the Routing Information
  142. Protocol (RIP), verify that your computer's routing table contains
  143. entries that were provided by the router. Under UNIX, you do that
  144. with `netstat -rn'. Note that up to 30 seconds may pass between
  145. RIP updates, so, for instance, a routing change in a remote part
  146. of your network will need some time until it has been propagated
  147. to your computer.
  148.  
  149.  
  150. CONNECTING TO THE INTERNET
  151. --------------------------
  152.  
  153. All computers that communicate directly with the Internet have to have
  154. official Internet IP numbers. There are Internet providers all over
  155. the world who will sell you Internet connectivity. So the first step
  156. is to find a provider who is willing to connect you. This provider
  157. gives you a range of official IP numbers, a netmask matching the range
  158. of numbers and the IP address of the gateway router he connects you
  159. to.
  160.  
  161. You can now assign each of the computers on your LAN (plus the INAR
  162. router itself) a unique IP address from the range of IP numbers you've
  163. got from the provider. Note that the first and the last address in this
  164. IP net must not be used. The last address is the broadcast address of
  165. your IP net. RIP, for instance, propagates its routing informations
  166. via this broadcast address. So if you want to use RIP you should make
  167. sure that all computers on the same LAN segment (including your INAR
  168. router) have an identical netmask and broadcast address.
  169.  
  170. At this point, you need to set up the connection to the Internet
  171. provider. If you are connected via the analogue telephone network you
  172. could use the SLIP/CSLIP driver (without on-demand dialup) that comes
  173. with INAR. If you have an ISDN connection you may want to use the ISPA
  174. driver (with on-demand dialup) bundled with INAR. You then have to
  175. make sure that your ISDN driver "speaks" the same transmission
  176. protocol as your provider's gateway. With ISPA you have the choice
  177. between serveral protocols (look at the ISPA docs and the sample
  178. config files).
  179.  
  180. For further provider dependent informations please ask your Internet
  181. provider. After all, if it is a commercial provider, you pay him to
  182. support you.
  183.  
  184.  
  185. BUG REPORTS
  186. -----------
  187.  
  188. Please send bug reports to `inar@geminix.snafu.de'. Although my
  189. spare time is limited, I'll try my best to answer as many emails
  190. as I can.
  191.