home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / dcom / sys / cisco / 1563 < prev    next >
Encoding:
Text File  |  1992-11-07  |  7.9 KB  |  154 lines

  1. Newsgroups: comp.dcom.sys.cisco
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!munnari.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!megadata!andrew
  3. From: andrew@megadata.mega.oz.au (Andrew McRae)
  4. Subject: Re: re: advertising static routes
  5. Message-ID: <1992Nov6.052714.18648@megadata.mega.oz.au>
  6. Originator: andrew@noah
  7. Sender: news@megadata.mega.oz.au
  8. Organization: Megadata P/L, North Ryde, Sydney, Aust.
  9. References: <720752998.10981@news.Colorado.EDU>
  10. Date: Fri, 6 Nov 1992 05:27:14 GMT
  11. Lines: 141
  12.  
  13. I would appreciate some net.feedback on this matter; bear with
  14. this posting, as it may seem complicated, but the situation is
  15. fundamentally straight forward.
  16.  
  17. We have been dealing with some cisco router config problems that reflect
  18. some of these issues that people have raised here, and part of
  19. our struggle has been that the manual is too sketchy when it
  20. comes to some basic examples and explanation of how to set some
  21. things up. The basic problem we saw is that when you use
  22. ip unnumbered addressing on serial lines, you have to play some
  23. nasty games to get RIP routing working, and even then you come across
  24. some insurmountable obstacles (these may be bugs, I don't know).
  25. We are running 8.3(3), and we have the following network
  26. configuration (sorry about the size of diagram, hard to make it smaller).
  27.  
  28.  
  29.                  Ethernet 192.55.2.x
  30.      ---+-----------------------------------+------------- net1
  31.         |IP 192.55.2.20                     |IP 192.55.2.20
  32.         |                                   |
  33.         |        Ethernet 192.55.1.x        |
  34.         |    --+----------------------------|-------+----- net2
  35.         |      |IP 192.55.1.20              |       |IP 192.55.1.21
  36.         |      |                            |       |
  37.      +------------+                      +-------------+
  38.      |    mgs1    |                      |    mgs2     |
  39.      +------------+                      +-------------+
  40.            |                                    |
  41.            | Serial 9600 link                   | Serial 9600 link
  42.            |                                    |
  43.      +------------+                      +-------------+
  44.      |            |    Serial 9600 link  |             |
  45.      |    cgs1    |----------------------|    cgs2     |
  46.      +------------+                      +-------------+
  47.            |192.55.10.1                         |192.55.11.1
  48.            |                                    |
  49.            | Ethernet 192.55.10.x               | Ethernet 192.55.11.x
  50.      ------+---+---------                -------+---+-------------
  51.                |                                    |
  52.                | IP 192.55.10.2                     | IP 192.55.11.2
  53.        +----------------+                  +----------------+
  54.        |   Annex T/S    |                  |    Annex T/S   |
  55.        +----------------+                  +----------------+
  56.           |  |  |  |  |                       |  |  |  |  |
  57.           | 2400 Baud asynch                  | 2400 Baud asynch
  58.           | Compressed SL/IP                  | Compressed SL/IP
  59.           | IP 192.55.100.1                   | IP 192.55.101.1
  60.        +---------------+                   +---------------+
  61.        |   Remote      |                   |   Remote      |
  62.        |   Telemetry   |                   |   Telemetry   |
  63.        +---------------+                   +---------------+
  64.  
  65. Essentially we have four routers, with the two MGS's on dual Ethernets
  66. for redundancy; they each have a serial line (all HDLC encap) to
  67. separate CGS's. The CGS's are triangulated so that any one serial line
  68. can fail and you still have a path anywhere. This is only a portion of the
  69. net; eventually there will be 12 CGS's, so to simplify the routing and
  70. addressing, we decided to use ip unnumbered addressing on the serial
  71. lines, where the serial line used the same IP address as the Ethernet
  72. the router was connected to; the idea being that each router/terminal
  73. server cluster was a single net, advertising a static route to the
  74. boxes on the SL/IP side of the terminal server. *BIG MISTAKE*!
  75.  
  76. The problem with this is that the router will not broadcast a route
  77. to its *own* net on the serial line e.g. When cgs1 broadcasts routes
  78. via RIP to both serial lines, it *will not* include the network 192.55.10.0
  79. in its tables, and so nobody else knows how to get to that network. Nothing
  80. I did convinced the router to include the network in its routing updates.
  81. The only way I saw to overcome this problem was to install a
  82. static route in the routers informing it what the net number of the router
  83. it was connected to e.g. for cgs1:
  84.  
  85.     ip route 192.55.1.0 serial 0
  86.     ip route 192.55.11.0 serial 1
  87.  
  88. And cgs2 had:
  89.  
  90.     ip route 192.55.1.0 serial 0
  91.     ip route 192.55.10.0 serial 1
  92.  
  93. And all this worked, *except* when you failed one of the serial links.
  94. Again, by example, if the link between mgs1 and cgs1 failed, then
  95. mgs1 would stop advertising the route to cgs1, and hosts would change
  96. their routing tables to go via mgs2 (all well and good). Mgs2 would pass the
  97. packets to cgs2, which would route them to cgs1 - OK, the packet got there
  98. fine, but when a packet is returned, cgs1 still has a static route to
  99. 192.55.1.0 via serial 0, EVEN THOUGH THAT INTERFACE IS DOWN. The static
  100. route is *not* overridden even when the router has failed the serial line
  101. (and yes, the router *does* show that interface as down).
  102.  
  103. There is some talk in the manual about using administrative distance to
  104. override static routes, and so I set up some distances; lo and behold
  105. when you fail the serial link, the routers *do* override the static route
  106. correctly, but when the link is restored the static route is not restored,
  107. so the dynamic route (no longer the best one) is never removed.
  108.  
  109. After some discussion with the local cisco support (and hearing a few
  110. times `yes, it *should* all work'), we put a different IP address (with
  111. different net number) on all the serial interfaces, and removed the
  112. static routes to the interfaces. *This* works, but it makes the
  113. routing tables much bigger, and everthing looks more complicated.
  114.  
  115. SPECULATION *ON*
  116.  
  117. We are seeing two problems here, one a routing issue (possibly
  118. not a bug), and a static route override bug.
  119.  
  120. Since the IP interfaces are unnumbered, and use the Ethernet IP address,
  121. the router thinks that the serial interface has the same network number
  122. as the Ethernet, and so it *will not* broadcast a route to a network to the
  123. interface that is addressed as that network number, just as it will
  124. not broadcast a network route to the Ethernet that network is on e.g
  125. if a router ethernet interface is 192.55.10.1, then it obviously
  126. will not include a route to network 192.55.10.0 in its RIP advertisement
  127. broadcast on *that* network. The difference is that with a
  128. serial line it is making a wrong assumption, as the router on the
  129. other end of the link does not exist on the same network number,
  130. unlike an Ethernet. The other router, of course, does not know how
  131. to get to that network because the first router is not advertising it, unless
  132. you configure it with a static route to that network pointing to the
  133. serial interface.
  134.  
  135. Is this a bug? Possibly it is just a bad assumption, but a safe and
  136. conservative one.
  137.  
  138. The other problem seems more straight forward. When you have a static
  139. route to an interface, and that interface goes down, then the static
  140. route is never overridden, except if you play games with admin. distances,
  141. and then the route is never restored once the link comes up. The frustrating
  142. thing is that the router *knows* the interface is down, but it still
  143. maintains that route in the routing table, even though the interface
  144. is down *and* an alternative path exists. This seems like a bug; if
  145. not a bug, then certainly a difference in opinion about how
  146. static routes to interfaces should operate under interface failure.
  147.  
  148. Am I expecting too much from the routers?
  149.  
  150. Andrew McRae            inet:    andrew@megadata.mega.oz.au
  151. Megadata Pty Ltd,        uucp:    ..!uunet!megadata.mega.oz.au!andrew
  152. North Ryde  2113        Phone:    +61 2 805 0899
  153. NSW    AUSTRALIA        Fax:    +61 2 887 4847
  154.