2_DataLinkLayer_spring2010

2_DataLinkLayer_spring2010 - Chapter 2 A Single Segment...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
TCP/IP Essentials A Lab-Based Approach Chapter 2 Chapter 2 A Single Segment Network A Single Segment Network Data Link Layer Data Link Layer Spring 2010
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Polytechnic Institute of NYU Slide 2 zjzhao Data Link Layer •In this lecture, we will focus on the Data Link Layer. •Main tasks of the data link layer: – Transfer network layer data from one machine to another machine via “a data link”. – Convert the raw bit stream of the physical layer into groups of bits – “ Frames ”. – Perform flow control between sender and receiver. TCP/IP Suite Application Layer Transport Layer Network Layer Data Link Layer Physical Layer
Background image of page 2
Polytechnic Institute of NYU Slide 3 zjzhao Types of Networks Point-to-point network • Each link connects two end points: hosts or any network devices • Usually for long distance connections • Examples: dialup, POS (Packet over SONET/SDH), GbE (Gigabit Ethernet) Broadcast network • A number of stations share a common transmission medium • Local networks • Examples: CSMA/CD Ethernet, WLAN (Wireless Local Area Network) Broadcast Network Point-to-Point Network
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Polytechnic Institute of NYU Slide 4 zjzhao Multiple Access •Network topology –Point-to-point Æ N(N-1)/2 links to connect N nodes –Broadcast •Medium access control (MAC) protocols –Rules to share a medium –Carrier Sense Multiple Access/Collision Detection (CSMA/CD) – Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA)
Background image of page 4
Polytechnic Institute of NYU Slide 5 zjzhao Point-to-Point Networks • The Point-to-Point Protocol ( PPP ) is a data link protocol • The main purpose of PPP is encapsulation and transmission of IP datagrams, or other network layer protocol data, over a serial link. • Currently, PPP is used by most dial-up Internet access, Digital Subscriber Loop (DSL), and cable broadband services.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Polytechnic Institute of NYU Slide 6 zjzhao Point-to-Point Protocol (PPP, RFC 1661) PPP consists of two types of control protocols: •Link Control Protocol ( LCP ) – Responsible for agreeing on PPP encapsulation options, packet size limits, and detecting common mis-configuration errors over the data link – Optional features to provide peer authentication, detect link status •Network Control Protocol ( NCP ) – PPP supports a family of NCPs and treat each network protocol like an interface – IP Control Protocol ( IPCP , RFC 1332), used for configure the link to transmit IP datagrams
Background image of page 6
Polytechnic Institute of NYU Slide 7 zjzhao PPP Encapsulation PPP frame format •Flag: mark the beginning and ending of a frame •Protocol: used to multiplex different protocol data •No addressing, only two end hosts. Network Control Data 8021 Link Control Data C021 IP Datagram 0021 1 byte 2 bytes 1500 bytes 2 bytes 1 byte 1 byte 1 byte 7E 03 FF 7E Flag CRC Data Protocol Ctrl. Addr. Flag
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Polytechnic Institute of NYU Slide 8 zjzhao Local Area Networks • Local area networks (LANs) typically connect computers within a building or a campus. • Many LANs are broadcast networks.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/04/2010 for the course EE ee taught by Professor Ee during the Spring '10 term at Istanbul Technical University.

Page1 / 53

2_DataLinkLayer_spring2010 - Chapter 2 A Single Segment...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online