1 / 33

Part I. Overview of Data Communications and Networking

Part I. Overview of Data Communications and Networking. Chapter 2. Network Models. COMP 3270 Computer Networks Computing Science Thompson Rivers University. Chapter Contents. Layered tasks Internet model ISOC OSI (Open Systems Interconnection) model ISO. Learning Objectives.

garrym
Télécharger la présentation

Part I. Overview of Data Communications and Networking

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. Part I. Overview of Data Communications and Networking Chapter 2. Network Models COMP 3270 Computer Networks Computing Science Thompson Rivers University

  2. Chapter Contents • Layered tasks • Internet model • ISOC • OSI (Open Systems Interconnection) model • ISO

  3. Learning Objectives • List the five layers in the Internet network model. • Relate the two adjacent layers in terms of service user, service provider, and interfaces. • Interpret encapsulation and decapsulation. • List the four address types in the Internet network model, with the corresponding layer in which each address types is mainly used. • Show the change of addresses in a packet that is delivered to a destination through three different physical networks, given an example of a network of networks. • Identify main roles and functions in each layer in the Internet network model. • Identify what kind of information is added in each layer. • State the purpose of framing. • List the three types of control.

  4. 1. Layered Tasks • Sender, Receiver, and Carrier • Hierarchy: layers • Interface and Service: a layer uses the services of the next lower layer through interfaces

  5. Example: sending a letter House House Mail box Mail box Post office Post office

  6. 2. The Internet Model • Layered Architecture • Peer-to-Peer Processes • Encapsulation

  7. Layered Architecture • 5 layer model • Only upper 3 layers are standardized by IETF. • Application • Transport • Network • Data link layer is standardized by mostly IEEE Project 802. • Ethernet: 802.3 • WLAN: 802.11a, 802.11b, 802.11.g, … • The concept of layered architecture: Layer n+1 uses the servicesprovided by the layer n and the layer n provides the services for layer n+1, through the interfacebetween the layers n and n+1. • An interface is usually implemented as a set of functions. • TCP/IP protocol suite • ☺How many protocols do you know?

  8. Peer-to-peer processes ☺Protocol? Service? Interface? Encapsulation? ☺No 5 layers?

  9. Encapsulation and decapsulation ☺What kind of information is included in headers? Encapsulation Decapsulation

  10. Some questions • ☺A layer is software? • ☺A protocol is software? • ☺Can one protocol exist over two or more layers? • ☺Can several protocols exist in the same layer? • ☺What is an advantage of the layer model? • Easy to understand • Easy to standardize • Easy to implement • Less development cost

  11. 3. Layers in the Internet Model • Application • Transport • Network • Data link • Physical • Bottom-up approach in our study from now on

  12. Physical layer Bit stream To handle mechanical and electrical specifications of the hardware interface and transmission media

  13. Physical • Main responsibility/role: Node-to-node delivery of bit streams • Specific topics/duties: • Physical characteristics of hardware interfaces and transmission media • Representation of bits – encoding/decoding • Data transmission rate • Synchronization of bits • Implemented on NICs (Network Interface Cards)

  14. Data link layer

  15. Node-to-node delivery ☺Does the data link layer decide the next hop? At B, to C or E?

  16. ☺What type of line configuration? ☺What type of physical topology? ☺Is it node-to-node delivery? ☺How can the frame find the host 87? 0x800 Protocol ID ☺What other information does the header and the trailer contain?

  17. Data link • Main responsibility/role: Node-to-node (or also called hop-to-hop) delivery of frames • Specific topics/duties: • Framing • In a frame, • Framing information • Source address • Destination address [passed from the upper layer] • Upper layer protocol id [passed from the upper layer] – IP, ARP, … • Error controlling code • Payload • Physical addressing • ☺ Can a computer have several physical addresses? • Flow control • Error control • MAC (Medium Access Control) especially in multi-point line configuration • Implemented on NICs • ☺ Which layer decides the next node?

  18. Network layer

  19. Host-to-host delivery B decides the next hop E with f3. f2 f1 f3 Host-to-host delivery f1 f3 ☺Two data link entities?

  20. Example [Routing] Forwarding Routing Forwarding Not F ☺How many physical networks? ☺What information is changed? Routing Forwarding

  21. In the previous figure we want to send data from a node with network address A and physical address 10, located on one LAN, to a node with a logical (network) address P and physical address 95, located on another LAN. Because the two devices are located on different networks, we cannot use physical addresses only; the physical addresses only have local jurisdiction. What we need here are universal (globally unique) addresses that can pass through the LAN boundaries. The logical (network) addresses have this characteristic. But Ethernet addresses are globally unique. ☺Why can’t we use Ethernet addresses for routing in the network layer?

  22. Network • Main responsibility/role: Host-to-host (or also called source-to-destination) delivery of packets • Specific topics/duties: • Logical (or also called network) addressing • ☺Can a computer have several logical addresses? • In a packet, • Source address • Destination address • Upper layer protocol id – TCP or UDP, … • Error control information • … • Forwarding • ☺It decides the next hop using ? and how ? • Using route command; record of the forwarding (or called routing) table: destination, gateway, metric, interface, … • Then, it hands packets down to the data link layer. • ☺Data link layer knows only physical addresses, then who finds the physical address of the next node? • ARP (Address Resolution Protocol) • Using arp command; • Routing • Implemented in [system] software

  23. Transport layer ☺How can the network layer at the destination deliver the message to a specific protocol, i.e., TCP or UDP, in the transport layer?

  24. End-to-end delivery of a message [ ] Or also called end-to-end delivery

  25. It should know the destination port and address, and the transport layer protocol that it uses. Segmentation Upper layer protocol id included

  26. The previous figure shows an example of transport layer communication. Data coming from the upper layers have port numbers j and k (j is the address of the sending process, and k is the address of the receiving process). Since the data size is larger than the network layer can handle, the data are split into two packets, each packet retaining the port numbers (j and k). Then in the network layer, logical (network) addresses (A and P) are added to each packet.

  27. Transport • Main responsibility/role: End-to-end (process-to-process) delivery of messages (or datagrams) • Specific topics/duties: • Port addressing • ☺What does a port number represent? • ☺Why don’t we use process ids instead? • From the upper layer, with the destination logical (network) address • Note: Connection association • Segmentation and reassembly • Connection control -> ordered delivery • Flow control • Error control • Congestion control

  28. Application layer

  29. Summary of duties [ ]

  30. Blue color: given from the upper layerGreen color: decided in the layer

  31. OSI model

More Related