home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / tcpip / ibmpc / 7735 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.0 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!sgiblab!spool.mu.edu!agate!doc.ic.ac.uk!pipex!bnr.co.uk!uknet!gdt!aber!aberfa!pcg
  2. From: pcg@aber.ac.uk (Piercarlo Grandi)
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: Re: KA9Q NOS and slip
  5. Message-ID: <PCG.93Jan27201743@csthor.aber.ac.uk>
  6. Date: 27 Jan 93 20:17:43 GMT
  7. References: <Jan21.213205.29492@roxi.rz.fht-mannheim.de>
  8. Sender: news@aber.ac.uk (USENET news service)
  9. Organization: University College of Wales, Aberystwyth
  10. Lines: 51
  11. In-Reply-To: tneser@mzes.sowi.uni-mannheim.de's message of 23 Jan 93 01: 09:46 GMT
  12. Nntp-Posting-Host: thor.dcs.aber.ac.uk
  13.  
  14.  
  15. >>> On 23 Jan 93 01:09:46 GMT, tneser@mzes.sowi.uni-mannheim.de (Thomas
  16. >>> Neser) said:
  17.  
  18. Neser> [ ... a PC runs NOS and is on an Ethernet; he wants another PC
  19. Neser> to connect to the first via SLIP ... ]
  20.  
  21. Well, this is probably a kind of FAQ.
  22.  
  23. What you have to do is to setup the second PC to use the slip packet
  24. driver, and the first PC as a gateway between SLIP and Ethernet.
  25.  
  26. To do this is relatively easy actually; let's say that pc 1 is on
  27. ethernet and pc 2 is the one connected to it via slip.
  28.  
  29. A minimal autoexec.nos on pc 1 might be:
  30.  
  31.     ip address <ipaddr-1>
  32.  
  33.     attach packet 0x7d eth0 8 1500
  34.     ifconfig eth0 netmask <netmask-1>
  35.     ifconfig eth0 broadcast <broadcast-1>
  36.     route add default eth0 <ipaddr-gw>
  37.  
  38.     attach asy 0x3f8 4 slip com1 2048 512 9600 cv
  39.     route add com1 <ipaddr-2> direct
  40.  
  41.     rip add <broadcast-1> 300 1
  42.     start rip
  43.  
  44. The last two lines may be replaced, but this is rather controversial,
  45. with the following:
  46.  
  47.     arp publish <ipaddr-2> ether <etheraddr-1>
  48.  
  49. This is proxy ARP. If the other machines on the ethernet understand RIP,
  50. proxy ARP should be avoided.
  51.  
  52. A minimal autoexec.nos on pc 2 might be:
  53.  
  54.  
  55.     ip address <ipaddr-2>
  56.  
  57.     attach asy 0x3f8 4 slip com1 2048 512 9600 cv
  58.  
  59.     route add default com1 <ipaddr-11>
  60.  
  61. This is about all there is to it. CTS/RTS flow control may/may not be
  62. useful, and Van Jacobson header compression will most certainly be
  63. useful. Your serial ports may well support speeds higher than 9600 baud,
  64. especially if they are 16550AFN based.
  65.