networking network layer
play

Networking Network layer Three concepts Naming A way to identify - PowerPoint PPT Presentation

Networking Network layer Three concepts Naming A way to identify the source/destination E.g., house address Routing Finding how to move towards the destination E.g., which airplane should the stuff go on


  1. Network layer — Forwarding Packet Switched forwarding • Hop-by-hop forwarding • Each router has a “look-up table” (forwarding information base) • What should be stored in this table? • Prefix-based forwarding (longest-prefix matching)

  2. Network layer — Forwarding Packet Switched forwarding • Hop-by-hop forwarding • Each router has a “look-up table” (forwarding information base) • What should be stored in this table? • Prefix-based forwarding (longest-prefix matching) • Maps prefixes to the next-hop

  3. Network layer — Forwarding

  4. Network layer — Forwarding Packet Switching

  5. Network layer — Forwarding Packet Switching • Goods:

  6. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization

  7. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources

  8. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem

  9. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem • No per-connection state

  10. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem • No per-connection state • No set-up cost

  11. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem • No per-connection state • No set-up cost • Not-so-goods:

  12. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem • No per-connection state • No set-up cost • Not-so-goods: • Packet header overhead

  13. Network layer — Forwarding Packet Switching • Goods: • No resource underutilization • A source can send more if others don’t use resources • No blocked connection problem • No per-connection state • No set-up cost • Not-so-goods: • Packet header overhead • Network failures become a problem

  14. Networking — Network layer Three concepts • Naming • A way to identify the source/destination • E.g., house address • Routing • Finding “how to” move towards the destination • E.g., which airplane should the stuff go on • Forwarding • Actually “moving” towards the destination • E.g., Using airplane/truck/rail

  15. Network layer — Example 3 B 2 Dest. 1 A 1 7 C

  16. Network layer — Routing

  17. Network layer — Routing Lets come up with a routing scheme

  18. Network layer — Routing 3 B 2 Dest. 1 A 1 7 C

  19. Network layer — Routing A wants to find a path to 3 Dest. B 2 {(A, 0)} Dest. 1 A 1 7 C

  20. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} A wants to find a path to 3 Dest. B 2 {(A, 0)} Dest. 1 A 1 7 C

  21. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} A wants to find a path to 3 Dest. B 2 {(A, 0)} Dest. 1 A 1 7 C A wants to find a path to Dest. {(A, 0), (C, 7)}

  22. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} Path to A wants to Dest. find a path to {(A, 0), (B, 2), 3 Dest. B (D, 3)} 2 {(A, 0)} Dest. 1 A 1 7 C A wants to find a path to Dest. {(A, 0), (C, 7)}

  23. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} Path to A wants to Dest. find a path to {(A, 0), (B, 2), 3 Dest. B (D, 3)} 2 {(A, 0)} Dest. 1 A Path to 1 Dest. 7 C {(A, 0), (C, 7), (D, 1)} A wants to find a path to Dest. {(A, 0), (C, 7)}

  24. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} Path to A wants to Dest. find a path to {(A, 0), (B, 2), 3 Dest. B (D, 3)} 2 {(A, 0)} Dest. 1 A Path to 1 Dest. 7 C {(A, 0), (C, 7), (D, 1)} A wants to find a A wants to find a path to Dest. path to Dest. {(A, 0), (B, 2), (C, 1)} {(A, 0), (C, 7)}

  25. Network layer — Routing A wants to find a path to Dest. {(A, 0), (B, 2)} Path to A wants to Dest. find a path to {(A, 0), (B, 2), 3 Dest. B (D, 3)} 2 {(A, 0)} Dest. 1 A Path to 1 Dest. 7 C {(A, 0), (C, 7), Path (D, 1)} A wants to find a to Dest. A wants to find a path to Dest. {(A, 0), (B, 2), path to Dest. {(A, 0), (B, 2), (C, 1)} (C, 1), {(A, 0), (C, 7)} (D, 1)}

  26. Network layer — Routing

  27. Network layer — Routing Attempt 1: Dynamic Source Routing

  28. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d

  29. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header

  30. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router

  31. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination

  32. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header

  33. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header • Broadcast the Route Request Packet

  34. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header • Broadcast the Route Request Packet • Else

  35. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header • Broadcast the Route Request Packet • Else • Respond with a Route Reply packet

  36. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header • Broadcast the Route Request Packet • Else • Respond with a Route Reply packet • Put known path in the packet header

  37. Network layer — Routing Attempt 1: Dynamic Source Routing • Broadcast a Route Request Packet for destination d • Put source ID in the packet header • At each router • If a path not known to the destination • Put its {ID, cost} in the packet header • Broadcast the Route Request Packet • Else • Respond with a Route Reply packet • Put known path in the packet header • Challenge?

  38. Network layer — Routing 3 B 2 Dest. 1 A 1 7 C

  39. Network layer — Routing 3 B 2 Dest. 1 A 1 {(A-B, 0), 7 (A-C, 7)} C

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend