home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / ppp / 1134 < prev    next >
Encoding:
Text File  |  1993-01-28  |  3.2 KB  |  92 lines

  1. Newsgroups: comp.protocols.ppp
  2. Path: sparky!uunet!charon.amdahl.com!amdahl!rtech!pacbell.com!ames!saimiri.primate.wisc.edu!sdd.hp.com!hpscit.sc.hp.com!cupnews0.cup.hp.com!hppad.waterloo.hp.com!rypma
  3. From: rypma@waterloo.hp.com (Ted Rypma)
  4. Subject: Re: Need help routing with PPP
  5. Sender: news@waterloo.hp.com (NetNews)
  6. Message-ID: <C1JqzD.5rn@waterloo.hp.com>
  7. Date: Thu, 28 Jan 1993 04:26:01 GMT
  8. References: <C1Iw05.7Ey@cerc.wvu.wvnet.edu>
  9. Organization: HP Panacom Div Waterloo ON Canada
  10. X-Newsreader: TIN [version 1.1.4 PL6]
  11. Lines: 79
  12.  
  13. Ernest Clinton Arbaugh Jr (cea@cerc.wvu.wvnet.edu) wrote:
  14. : I've got PPP running on a pair of SPARCstations, but  I can't seem 
  15. : to get them to route.   Here's basically what things look like:
  16. : (Greatly simplified.)
  17. : Local Site    Remote Site 
  18. : +----+        +----+
  19. : |  A |--------|  D |
  20. : +----+  PPP   +----+
  21. :    |            |
  22. :    |   <.   .>  |
  23. :    |     \ /    |
  24. : +----+    Y   +----+
  25. : |  B |    |   |  E |
  26. : +----+    |   +----+
  27. :    |      |
  28. :    |  <- Ethernet
  29. :    |
  30. : +----+
  31. : |  C |
  32. : +----+
  33.  
  34. When PPP is started up on A and D, somehow A must publish the route to 
  35. the D/E network to hosts B and C, and D must publish the route to the A/B/C
  36. network to E. (A and D, of course, have no problems with each other, but
  37. have no knowledge of the other's second interface.) Routing protocols do
  38. exist and can, I suppose, handle the situation, but I have had very little
  39. luck dynamically adding routes when SLIP/PPP start up.
  40.  
  41. To get around this, we have added static routes for hosts on multiple
  42. different networks to reach each other through the PPP/SLIP gateway hosts.
  43. This works well for us.
  44.  
  45. If there is only a single remote host, the gateway host on the multi-host
  46. network can respond to ARP's for the single remote if told to do so,
  47. but that doesn't work very well when there are multiple remote machines.
  48.  
  49. An example gated.conf entry found on ALL our hosts on the main (25.4.0.0)
  50. network is as follows:
  51.  
  52.     static {
  53.     192.61.63 gateway 25.5.4.6;
  54.     192.61.59 gateway 25.5.4.2;
  55.     192.61.58 gateway 25.5.1.27;
  56.     192.61.57 gateway 25.5.4.50;
  57.     192.61.56 gateway 25.5.4.101;
  58.     192.61.55 gateway 25.5.4.58;
  59.     192.61.54 gateway 25.5.4.43;
  60.     default gateway 25.5.1.1;        <== Cisco
  61.     };
  62.  
  63.     propagate proto rip {
  64.     proto static {
  65.         announce default;
  66.     };
  67.     };
  68.  
  69. Each line of static route lists the two interfaces on a host with a
  70. (in this case SLIP, but PPP shouldn't differ) serial link. We subnet
  71. the class C address so that the SLIP link itself takes two addresses
  72. and most of the rest are available on the remote end Ethernet. In
  73. some cases, the remote end consists of only one host and no Ethernet
  74. and in others, there are a number of hosts and devices on the far end.
  75.  
  76. The gated protocol seems unable to deal with subnets so we simply send
  77. everything to the gateway (on network 25.5.0.0) and allow them to route
  78. appropriately.  (The gateway hosts also have static routes to direct all
  79. 192.61.xx.0 traffic to the remote end of the SLIP link, which then
  80. forwards if necessary on its Ethernet interface.  Lots of routes, but
  81. once they are set up, it all works flawlessly.
  82.  
  83. Regards,
  84.  
  85. Ted Rypma
  86. HP Panacom Division
  87. Waterloo, Ontario
  88.  
  89. (All opinions expressed are mine and not my employer's.)
  90.