Exercises The Data Link Layer
3.7. Exercises
3.17 Explain the difference between synchronization at the physical layer and synchronization at the data link layer. 3.18 Describe what is meant by bit stuffing. Rewrite the following bit sequence after bit stuffing it: 0111110011101111111111010111. 3.19 Explain how the polling technique works. Describe an application for which polling may be appropriate. 3.20 Describe the role of frame sequence numbers and how they are used for acknowledgment purposes. 3.21 Assuming the generator polynomial x 5 + x 3 + x , what is the CRC code for the following bit sequence: 0110111001111011110111111010111? 3.22 Describe the role of T1 and T2 timers and how they can be used to handle a lost frame situation using the Selective Reject and G0-Back-N methods. 3.23 What problems are likely to occur in absence of a flow control scheme? 3.24 Using a diagram, illustrate how the sliding window protocol with a maximum transmitter window size of 5 and receiver window size of 2 operates for the following scenario: 1. Transmitter sends frames 1 and 2 www.pragsoft.com Chapter 3: The Data Link Layer 51 2. Transmitter receives ACK for frame 1 3. Transmitter sends frame 3 4. Transmitter receives ACK for frames 2 and 3 3.25 Describe the role of information, supervisory, and unnumbered frames in HDLC. Use a sequence diagram to illustrate the use of SREJ command in a data transfer situation. 52 Communication Networks Copyright © 2005 PragSoft4. The Network Layer
This chapter describes the network layer of the OSI model. The network layer handles the routing of data packets across the network, and defines the interface between a host and a network node. We will first discuss the use of network primitives for defining network services. Then we will look at two switching methods and their use for routing. This is followed by a description of data packets and their handling by the network layer. We will then turn our attention to the problem of interconnecting two networks, and discuss the protocol sublayering provided for this purpose. Finally, we will look at four widely-accepted standards for networking as well as internetworking. After completing this chapter you should be able to: • Understand the nature of network services and use network primitives to describe network service scenarios. • Describe how circuit switching works and appreciate its strengths and weaknesses. • Describe how packet switching works and distinguish between the virtual circuit and datagram methods and their packet formats. • Understand the three basic routing algorithms flooding, static routing, and dynamic routing and their characteristics. • Appreciate the importance of congestion control. • Appreciate the need for internetworking and the sublayers provided to support it. • Have a basic knowledge of network layer standards X.25, X.75, IP, and ISO 8473.Parts
» | Komputasi | Suatu Permulaan
» Introduction 1 The Physical Layer 18 The Data Link Layer 36 The Network Layer 52
» Integrated Services Digital Network 140 Broadband ISDN and ATM 161
» Network Components Network Types
» The Physical Layer The Data Link Layer
» The Network Layer The Transport Layer
» The Session Layer The Presentation Layer
» Service Primitives Sequence Diagrams
» Signal Types Modulation Transmission
» Space Division Multiplexing SDM Frequency Division Multiplexing FDM Time Division Multiplexing TDM
» RS-232 Physical Layer Standards
» Further Reading Summary Exercises
» Synchronous Protocols Asynchronous Protocols
» Acknowledgments Timers Link Protocol Functions
» Error Checking Link Protocol Functions
» Retransmission Flow Control Link Protocol Functions
» Sliding Window Protocol The Data Link Layer
» BSC Data Link Layer Standards
» HDLC Data Link Layer Standards
» Further Reading Summary The Data Link Layer
» Exercises The Data Link Layer
» Network Services The Network Layer
» Circuit Switching Switching Methods
» Packet Switching Switching Methods
» Packet Structure Routing Packet Handling
» Congestion Control Error Handling
» CCITT X.25 Network Layer Standards
» CCITT X.75 IP Network Layer Standards
» ISO 8473 Network Layer Standards
» Further Reading Summary The Network Layer
» supports three types of packets: data packets, control packets, and interrupt
» Network Types Transport Services
» Classes of Protocol Transport Protocol
» Splitting and Recombining Transport Protocol
» Flow Control Transport Protocol
» Error Checking Transport Protocol
» TCP Transport Layer Standards
» Further Reading The Transport Layer
» Session Layer Role Session Services
» Functional Units Session Services
» Activities and Dialogue Units
» Error Reporting and Resynchronization
» Session Layer Standards The Session Layer
» Further Reading The Session Layer
» Service Primitives Presentation Services
» Definitions in ASN.1 Abstract Syntax Notation One
» Basic Encoding Rules Abstract Syntax Notation One
» Presentation Protocol The Presentation Layer
» Presentation Standards The Presentation Layer
» Further Reading The Presentation Layer
» Application Entity Application Services
» Association Control Common Application Service Elements
» Reliable Transfer Common Application Service Elements
» Virtual Terminal Specific Application Service Elements
» Message Handling Systems Specific Application Service Elements
» File Transfer, Access, and Management
» Other Standards The Application Layer
» Further Reading The Application Layer
» Topologies and Access Protocols
» Logical Link Control IEEE 802 Standards
» Token Ring Protocol ANSI FDDI Standard
» Further Reading Local Area Networks
» A Simple Network Basic Concepts
» Networks Topologies Basic Concepts
» Switching Systems Basic Concepts
» Common Channel Signaling Signaling
» Signaling Data Link Signaling Link Control
» Signaling Network Functions Signaling System Number 7
» Signaling Connection Control Part
» User Parts Signaling System Number 7
» PBX Networks Private Telephone Networks
» Corporate Networks Private Telephone Networks
» Intelligent Networks Private Telephone Networks
» Further Reading Telephone Networks
» ISDN Channels Basic Concepts
» Functional Groupings and Reference Points
» ISDN Services Basic Concepts
» The Physical Layer Protocol Architecture
» The Network Layer Protocol Architecture
» Internetworking Integrated Services Digital Network
» ISDN Standards Integrated Services Digital Network
» Further Reading Integrated Services Digital Network
» B-ISDN Services Broadband ISDN
» B-ISDN User-Network Interface Broadband ISDN
» B-ISDN Protocol Architecture Broadband ISDN
» Channels and Paths Asynchronous Transfer Mode
» ATM Cells Asynchronous Transfer Mode
» SDH-Based Interface Physical Layer
» Cell-Based Interface Physical Layer
» Cell Delineation Physical Layer
» HEC Generation and Verification
» Cell Rate Decoupling Physical Layer
» Virtual Channel Identifier ATM Layer
Show more