lab course routerlab
play

Lab Course RouterLab RIP - Routing Information Protocol (RFC 2453) - PowerPoint PPT Presentation

Lab Course RouterLab RIP - Routing Information Protocol (RFC 2453) Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf 1 Monday, May 4, 2009 Miscellaneous Feedback Any other thing that needs


  1. Lab Course “RouterLab” RIP - Routing Information Protocol (RFC 2453) Some of the slides come from: http://www.ietf.org/proceedings/07dec/slides/IDRTut-0.pdf 1 Monday, May 4, 2009

  2. Miscellaneous • Feedback • Any other thing that needs discussion? RIP 2 Monday, May 4, 2009

  3. Internet Routing • There is no single.... - Routing Protocol - Routing Configuration - Routing State, - Routing Management • ....... for the entire Internet! • Routing System is a collection of many components hopefully operating in a consistent manner RIP 3 Monday, May 4, 2009

  4. Internet Routing (I) • All routing systems have the same basic approach: - I tell you what I know and you tell me what you know! • All routing systems aim at: - Avoid loops - Avoid dead-ends - Find “optimal” (or “best”) path ‣ for any definition of optimality RIP 4 Monday, May 4, 2009

  5. Internet Routing (II) • Distance Vector • Link State - I tell you all my “best” - I announce to everyone routes for all about my links and the destinations that I addresses I originate on know and you tell me each link and listen to yours. everyone ʼ s announcement. - Build simplified - Build full topology topology from local perspective - E.g. OSPF - E.g. RIP RIP 5 Monday, May 4, 2009

  6. RIP (Distance Vector) • I tell you all my “best” routes for all destinations that I know and you tell me yours • Build simplified topology from local perspective • If any of your routes better than mines I ʼ ll use you for those destination • I ʼ ll let all my other neighbors know RIP 6 Monday, May 4, 2009

  7. RIP (Distance Vector) • Is an instantiation of the Bellman-Ford Algorithm - Define D x (Y) := cost of the least-cost path from X to Y - Then: d ( me ) ( Dst ) = min { d ( me ) ( n x ) + d ( n x ) ( Dst ) } All my ( neighbors ) Wait for an update Recompute Costs Issue periodic update RIP 7 Monday, May 4, 2009

  8. RIP Advertisements • Every 30 seconds Response Message • Each containing network-distance pairs • Max 25 pairs per Message • Request Message to ask for full or partial dumps - Used for example for new links RIP 8 Monday, May 4, 2009

  9. RIP • Very simple • Verbose (and slow) during convergence - Good news can travel fast - Bad news can travel slow • Hard to detect loops • Flat • Does not scale (16 hops = infinity) RIP 9 Monday, May 4, 2009

  10. Good news Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 4 1 RIP 10 Monday, May 4, 2009

  11. Good news 1 Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 4 1 RIP 10 Monday, May 4, 2009

  12. Good news 1 Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 1 4 1 RIP 10 Monday, May 4, 2009

  13. Good news 1 Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 2 1 5 1 5 • Node 1 Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to 2 3 2 3 1 1 1 4 1 RIP 10 Monday, May 4, 2009

  14. Good news 1 Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 1 2 2 1 5 1 5 1 2 • Node 1 Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to 2 3 2 3 2 3 1 1 1 1 1 4 1 RIP 10 Monday, May 4, 2009

  15. Bad news (count to infinity) Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 4 1 RIP 11 Monday, May 4, 2009

  16. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 4 1 RIP 11 Monday, May 4, 2009

  17. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to 1 2 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 6 4 1 RIP 11 Monday, May 4, 2009

  18. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 5 7 1 1 5 • Node 1 Cost from 1 to Cost from 1 to 2 3 6 4 1 RIP 11 Monday, May 4, 2009

  19. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 7 1 5 1 5 • Node 1 Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to 2 3 2 3 8 6 6 1 4 1 RIP 11 Monday, May 4, 2009

  20. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 1 2 7 9 1 5 1 5 1 7 • Node 1 Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to 2 3 2 3 8 6 6 1 4 1 RIP 11 Monday, May 4, 2009

  21. Bad news (count to infinity) INF Time • Node 3 Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to Cost from 3 to 1 2 1 2 1 2 7 9 1 5 1 5 1 7 • Node 1 Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to Cost from 1 to 2 3 2 3 2 3 8 10 6 6 1 8 1 4 1 RIP 11 Monday, May 4, 2009

  22. RIP enhancements • Split Horizon (mandatory) - Don ʼ t announce route to neighbor from which route learned • Split Horizon with Poisoned Reverse (optional) - instead tell him the route is not reachable • Triggered updates (mandatory) - If the cost of an entry of the routing table changes a partial update is issued right away RIP 12 Monday, May 4, 2009

  23. Worksheet 3 • Use same VLANs topology like in Question 1 Work Sheet 2 • Target: logical networks communicate using RIP - Plus additional 10.20.30.0/24 networks announced by loadgen102-xxx (preconfigured) • Readings: ‣ Cisco RIP ‣ Juniper RIP ‣ RFC 2453 ‣ man iptables RIP 13 Monday, May 4, 2009

Recommend


More recommend