communication systems
play

Communication Systems OSPF, BGP University of Freiburg Computer - PowerPoint PPT Presentation

Communication Systems OSPF, BGP University of Freiburg Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer Open Shortest Path First (OSPF) Last lecture: OSPF as an example of Link State Routing algorithm


  1. Communication Systems OSPF, BGP University of Freiburg Computer Science Computer Networks and Telematics Prof. Christian Schindelhauer

  2. Open Shortest Path First (OSPF) ‣ Last lecture: OSPF as an example of Link State Routing algorithm ‣ Router contains a routing directory (called a "routing database"). ‣ Exchange Link state advertisements ‣ Route computation using Dijkstra’s algorithm ‣ Advertisements disseminated to entire AS (via flooding explained before) ‣ Utilizes the Hello protocol for advertising state information between neighbors ‣ Neighbors exchange Hello packets periodically Communication Systems Computer Networks and Telematics 2 Prof. Christian Schindelhauer University of Freiburg

  3. OSPF – Hierarchy ‣ OSPF can cope with large networks (no restrictions as with RIP) ‣ Two-level hierarchy: local area, backbone • local area: aggregation of routers, hosts • backbone: distributes routing information between different areas • area border routers: advertise distances in own area to other area border routers • boundary routers: connect to other Autonomous Systems (talked about later on) Communication Systems Computer Networks and Telematics 3 Prof. Christian Schindelhauer University of Freiburg

  4. OSPF – Hierarchy (Example) ‣ Routers 1 – 4 and 8 – 11 are within the same area ‣ Routers 5,6,7 are backbone routers and form an additional area Communication Systems Computer Networks and Telematics 4 Prof. Christian Schindelhauer University of Freiburg

  5. OSPF – Protocol Operation ‣ Hello packets used to find adjacencies • Adding neighbours to the local list • Flood network with LSA (Link State Advertisement introduced beginnig of this lecure) to propagate information • Each router forwards only new information • Hello packets check state of neighbours • No response → router down → LSA flood → update of routing tables → fast convergence Communication Systems Computer Networks and Telematics 5 Prof. Christian Schindelhauer University of Freiburg

  6. OSPF – routing tables ‣ Steps for building routing table for Router A: )&34 %&'%'&'&()*+ 3%4 !"#$ %&'()*+#, -#'".")/# 0 12345 0460646427082395 ! 3,4 3*4 046:646427:823052; 04696464279823:5 %&','&'&()%+ %&'*'&'&(),+ : 12345 0460646427082395 04696464279823:52; 046:646427:82305 046<646427:=2>82302?202@2:52; # " 9 12345 0460646427082395 046:646427:82305 046<646427:=2>82302?202@2:52; %&'-'&'&()%+ %&'.'&'&()/+ 04696464279823:5 046A6464279=2B823:2?2C2@2045 < 12345 04606464270823952; 2 $ 046:646427:82305 04696464279823:5 046A6464279=2B823:2?2C2@2045 %&'0'&'&(),+ %&'1'&'&(),+ 046<646427:=2>823:5 046D646427:=2>=2%82302?202?2:2@2<5 5(6786797:;9(;7:;<;=>7(7:;6=79(;?<;(<67(@AB79;(CA9;D(A:7(AE(;?797(=9 (6786797:;9(;7:;<;=>7(7:;6=79(;?<;(<67(@AB79;(CA9;D(A:7(AE(;?797(=9 5 FA>7G(;A(CA:E=6F7G(@=9;(<;(7:G(AE(7<C?(9;78' FA>7G(;A(CA:E=6F7G(@=9;(<;(7:G(AE(7<C?(9;78' Communication Systems Computer Networks and Telematics 6 Prof. Christian Schindelhauer University of Freiburg

  7. Routing Algorithms – Routing Mechanisms &$'&'$'$"#+% !"#$%&'()*'+,-./'&"#$,-0'$.1/% )&* !"#$% ! )(* )+* &$'('$'$")(*"#&% &$'+'$'$")+*"#(% &$'('$'$"#&% &$'+'$'$"#(% &$','$'$")(-".*"#(% &$'&'$'$")&*"#+% 4 . &$'/'$'$")(-".-"0*"#,% &$'1'$'$")(-".-"0-"2*"#/% &$'3'$'$")+-"4*"#&$% &$','$'$"#&% &$'3'$'$"#5% 2 0 &$'/'$'$"#(% &$'1'$'$"#(% Communication Systems Computer Networks and Telematics 7 Prof. Christian Schindelhauer University of Freiburg

  8. Typology: Routing Strategies – (non)adaptive Routing ‣ Routing algorithms are grouped into two major classes ‣ Nonadaptive routing algorithms do not base their routing decisions on (continuous) measurements or estimates of current bandwidth usage and topology • no need for specific measurement service run continuously or scheduled ‣ The routes to use are computed in advance, off-line and downloaded to routers when network is coming up ‣ That is the typical scenario for networked end systems – normally the system administrator provides the routes during machine setup ‣ Or the routing information is transferred via DHCP (centralized setup of networking resources) Communication Systems Computer Networks and Telematics 8 Prof. Christian Schindelhauer University of Freiburg

  9. Adaptive Routing ‣ Routing done that way often named static (type of routing discussed yet falls into that category) ‣ Adaptive algorithms change their routing decisions to reflect changes in traffic/bandwidth usage and topology ‣ Algorithms differ in where they get their information ... • Locally from own measurements or from adjacent routers • Or (globally) from all routers ‣ ... and when changes are executed • Every Δ T seconds when network load changes • Or changes in topology occur • Or event driven ... ‣ Last two lectures examples of main dynamic routing concepts Communication Systems Computer Networks and Telematics 9 Prof. Christian Schindelhauer University of Freiburg

  10. Link State versus Distant Vector – Comparison ‣ Principle: Periodic advertisement of the routes in their routing tables ‣ Example: RIP (II) ‣ Advantages • Simpler - Easy to configure ‣ Disadvantages • Large routing tables • High network traffic overhead • Does not scale (very well), maximum of 15 hops • High convergence time Communication Systems Computer Networks and Telematics 10 Prof. Christian Schindelhauer University of Freiburg

  11. Link State versus Distant Vector – Comparison ‣ Principle: exchange link state advertisements (LSAs) ‣ LSAs are advertised upon startup and when changes in the internetwork topology ‣ Advantages • Smaller routing tables • Low network overhead • Ability to scale • Lower convergence time ‣ Disadvantages • Complex • More difficult to configure Communication Systems Computer Networks and Telematics 11 Prof. Christian Schindelhauer University of Freiburg

  12. Routing Protocols – IGP / EGP ‣ After theoretical introduction and some practical experiments • We know by now: Different implementations for dynamic LAN routing ‣ Taxonomy – dynamic routing could be divided into • Interior Gateway Protocols (IGP) • Exterior Gateway Protocols (EGP) ‣ Autonomous system (AS definition) - unit of routing policy, either a single network or a group of networks that is controlled by a common network administrator on behalf of a single administrative entity (such as a university, a business enterprise, or a business division) ‣ AS is also sometimes referred to as a routing domain Communication Systems Computer Networks and Telematics 12 Prof. Christian Schindelhauer University of Freiburg

  13. Routing – Interior Gateway Protocols ‣ Routing within Autonomous System (AS) ‣ Always finds shortest path within AS ‣ Most common IGPs: • RIP (II) • OSPF (just introduced) • ISIS (Intermediate System to Intermediate System) Communication Systems Computer Networks and Telematics 13 Prof. Christian Schindelhauer University of Freiburg

  14. Other Routing Protocols ‣ ISIS - Intermediate system to ‣ Enhanced Interior Gateway Routing intermediate system Protocol ( EIGRP ) - Cisco proprietary routing protocol deploying multiple • Link-state routing protocol metrics invented by DEC, standardized in 1992 • Diffusing Update Algorithm (DUAL) for guaranteed loop-free operation • Operates by reliably flooding and a mechanism for fast topology information throughout a convergence network of routers ‣ Others, like OLSF (check online and • Each router then independently the literature) builds a picture of the network's topology • IS-IS uses Dijkstra's algorithm Communication Systems Computer Networks and Telematics 14 Prof. Christian Schindelhauer University of Freiburg

  15. Routing – Exterior Gateway Protocols ‣ What happens in large scale: Routing between different AS ‣ Routing protocols and tables may differ between different AS ‣ Most common EGP: BGP(4) (Border Gateway Protocol) ‣ Example: A,B,C autonomous systems - C.b, A.a, A.c and B.a EGP routers – small letters IGP routers Communication Systems Computer Networks and Telematics 15 Prof. Christian Schindelhauer University of Freiburg

  16. Exterior Gateway Protocols – Principles ‣ You tell me all the address prefixes you can reach, but don’t tell me the path you use to get there • I’ll tell you the same ‣ If anything changes, please let me know ‣ If you tell me an address I’ll send you traffic destined to that address. • If I tell you an address I will accept traffic destined to that address ‣ Beside that: Hide network internal topologies Communication Systems Computer Networks and Telematics 16 Prof. Christian Schindelhauer University of Freiburg

Recommend


More recommend