1 / 25

Chapter 5 Network and Transport Layers

Chapter 5 Network and Transport Layers. S305 – Network Infrastructure. Network Layer. Computer 1. Computer 2. Dest . B C D E F G. Next B B D D D B. 5.4 Routing. Process of identifying what path to have a packet take through a network from sender to receiver Routing Tables

Télécharger la présentation

Chapter 5 Network and Transport Layers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 5Network and Transport Layers S305 – Network Infrastructure

  2. Network Layer Computer 1 Computer 2

  3. Dest. B C D E F G Next B B D D D B 5.4 Routing • Process of identifying what path to have a packet take through a network from sender to receiver • Routing Tables • Used to make routing decisions • Shows which path to send packets on to reach a given destination • Kept by computers making routing decisions • Routers • Special purpose devices used to handle routing decisions on the Internet • Maintain their own routing tables

  4. 5.4 Routing • 10.10.51.X Routing Table

  5. 5.4 Routing

  6. 5.4.1 Types of Routing • Centralized routing • Decisions made by one central computer • Used on small, mainframe-based networks • Decentralized routing • Decisions made by each node independently of one another • Information needs to be exchanged to prepare routing tables • Used by the Internet

  7. 5.4.2 Routing Protocols – how tables are set up • Static routing: • Uses fixed routing tables developed by network managers • Each node has its own routing table • Changes when computers added or removed • Dynamic routing or Adaptive routing: • Uses routing tables at each node that are updated dynamically • Based on routing condition information exchanged between routing devices • Types

  8. 5.4.2.1 Routing Information Protocol (RIP) • A dynamic distance vector interior routing protocol • Uses the least number of hops to decide how to route a packet • Operations: • Manager builds a routing table by using RIP • Routing tables broadcast periodically (every minute or so) by all nodes • When a new node added, RIP counts number of hops between computers and updates routing tables

  9. 5.4.2.1 Open Shortest Path First (OSPF) • A dynamic link state interior routing protocol • Uses a variety of information types to decide how to route a packet (more sophisticated) • e.g., number of hops, congestion, speed of circuit • Links state info exchanged periodically by each node to keep every node in the network up to date • Provides more reliable, up to date paths to destinations • Became more popular on Internet • More reliable paths • Less burdensome to the network

  10. 5.4.2.1 Other Interior Routing Protocols • Enhanced Interior Gateway Routing Protocol (EIGRP) • A dynamic link state protocol (developed by Cisco) • Records transmission capacity, delay time, reliability and load for all paths • Keeps the routing tables for its neighbors and uses this information in its routing decisions as well • Internet Control Message Protocol (ICMP) • Simplest and most basic • An error reporting protocol (report routing errors to message senders) • Limited ability to update routing tables

  11. 5.4.2 Exterior Routing Each network may be running a different protocol locally so how are they able to talk?

  12. 5.5.1 Sending Messages using TCP/IP • Required Network layer addressing information • Computer’s own IP address • Its subnet mask • To determine what addresses are part of its subnet • Local DNS server’s IP address • To translate URLs into IP addresses • IP address of the router (gateway) on its subnet • To route messages going outside of its subnet • Address information is obtained from a configuration file or provided by a DHCP server • Servers also need to know their own application layer addresses (domain names)

  13. 5.5.1 TCP/IP Configuration Information

  14. 5.5.1 Subnet Masks • Tells the computer what part of an Internet Protocol address to be used to determine whether the destination is on the same subnet or on a different subnet • Example • Subnet: 149.61.10.x • Subnet mask: 255.255.255.000 • Example • Subnets: 149.61.10.1-128, • Subnet mask 255.255.255.128

  15. 5.5.1 TCP/IP Network Example

  16. 5.5.1 TCP/IP Network Example

  17. 5.5.1 Moving Messages - TCP/IP and Layers • How layers are handled in a LAN: • Host Computers • Packets move through all layers • Gateways, Routers • Packet moves from Physical layer to Data Link Layer through the network Layer • At each stop along the way (e.g. from router to router): • Ethernet packets is removed and a new one is created for the next node • IP and above packets never change in transit (created by the original sender and destroyed by the final receiver)

  18. 5.5.1 Message Moving Through Layers

  19. 5.5.2 Known IP Address Transmit from A => E (A knows E’s IP Address) How many Hops will it take?

  20. 5.5.3 Unknown IP Address DNS Request DNS Response • Transmit from A => E (A doesn’t know E’s IP address) • How do we do this?

  21. 5.5.4 Unknown Data Link Address • Transmit from A => E (doesn’t know E’s Ethernet address) • An ARP request from D will occur once the message sent by A is received by D.

  22. 5.5.2 Known IP Address and Ethernet Address • Transmit from B => F (B knows F’s IP Address)

  23. 5.5.3 Unknown IP Address • Transmit from B => F (B doesn’t know F’s IP address)

  24. 5.5.4 Unknown Ethernet Address • Transmit from B => F (doesn’t know F’s Ethernet address)

  25. Implications for Management • Most organizations moving toward a single standard based on TCP/IP • Decreased cost of buying and maintaining network equipment • Decreased cost of training networking staff • Telephone companies with non-TCP/IP networks are also moving toward TCP/IP • Significant financial implications for telcos • Significant financial implications for networking equipment manufacturers

More Related