Docsity

Data Link Protocols-Computer Networking-Lecture Slides, Slides of Computer Network Management and Protocols

Partial preview of the text

Download Data Link Protocols-Computer Networking-Lecture Slides and more Slides Computer Network Management and Protocols in PDF only on Docsity!

1

Data Link Protocols

Relates to Lab 2. This module covers data link layer issues, such as local area networks(LANs) and point-to-point links, Ethernet, and the Point-to-Point Protocol(PPP).

docsity.com

TCP/IP Suite and OSI Reference Model^ • The TCP/IP protocol stack does notdefine the lower layers of a completeprotocol stack• In this lecture, we will address howthe TCP/IP protocol stacksinterfaces with the data link layer

docsity.com

Two types of networks at the data link layer

  • Broadcast Networks: All stations share a single

communication channel

  • Point-to-Point Networks: Pairs of hosts (or routers) are

directly connected

-^

Typically, local area networks (LANs) are broadcast and wide areanetworks (WANs) are point-to-point

Broadcast Network

Point-to-Point Network

docsity.com

Local Area Networks^ •

Local area networks (LANs) connect computers within abuilding or a enterprise network

-^

Almost all LANs are broadcast networks

-^

Typical topologies of LANs are

bus

or

ring

or

star

•^

We will work with Ethernet LANs. Ethernet has a bus or startopology.

Bus LAN

Ring LAN

docsity.com

IEEE 802 Standards

  • IEEE 802 is a family of standards for LANs, which definesan LLC and several MAC sublayers

docsity.com

Ethernet^ •

Speed:

10Mbps -10 Gbps

•^

Standard:

802.3, Ethernet II (DIX)

•^

Most popular physical layers for Ethernet:

  • 10Base

Thick Ethernet:

10 Mbps coax cable

  • 10Base

Thin Ethernet:

10 Mbps coax cable

  • 10Base-T

10 Mbps Twisted Pair

  • 100Base-TX

100 Mbps over Category 5 twisted pair

  • 100Base-FX

100 Mbps over Fiber Optics

  • 1000Base-FX

1Gbps over Fiber Optics

  • 10000Base-FX

1Gbps over Fiber Optics (for wide area links)

docsity.com

•^

Starting with 10Base-T, stations are connected to a hub in astar configuration

Star Topology

Hub

docsity.com

Ethernet Hubs vs. Ethernet Switches^ •^

An

Ethernet switch

is a packet switch for Ethernet frames

  • Buffering of frames prevents collisions.• Each port is isolated and builds its own collision domain -^

An

Ethernet Hub

does not perform buffering:

  • Collisions occur if two frames arrive at the same time.

HighSpeed Backplane

CSMA/CDCSMA/CDCSMA/CDCSMA/CD

CSMA/CDCSMA/CDCSMA/CDCSMA/CD

OutputBuffers

InputBuffers

CSMA/CDCSMA/CDCSMA/CDCSMA/CD

CSMA/CDCSMA/CDCSMA/CDCSMA/CD

Hub

Switch

docsity.com

Ethernet II, DIX Encapsulation (RFC 894)

802.3 MAC

destinationaddress

6

sourceaddress

6

type^2

data 46-

CRC^4

08002

IP datagram38-

08062

ARP request/reply

28

PAD^10

08352

RARP request/reply

28

PAD^10

docsity.com

IEEE 802.2/802.3 Encapsulation (RFC 1042)

802.3 MAC

destinationaddress

6

sourceaddress

6

length^2

DSAPAA^1

SSAPAA^1

cntl^031

org code

0 3

type^2

data 38-

CRC^4

802.2 LLC

802.2 SNAP

-^ destination address, source address:

MAC addresses are 48 bit

-^ length

: frame length in number of bytes

-^ DSAP, SSAP

: always set to

0xaa

-^

Ctrl:

set to 3

-^ org code:

set to 0

-^ type field

identifies the content of thedata field

-^ CRC:

cylic redundancy check

08002

IP datagram38-

08062

ARP request/reply

28

PAD^10

08352

RARP request/reply

28

PAD^10

docsity.com

Data Link Protocols for Point-to-Point links^ •

SLIP (Serial Line IP)

  • First protocol for sending IP datagrams over dial-up links (from
  • Encapsulation, not much else

•^

PPP (Point-to-Point Protocol):^ •

Successor to SLIP (1992), with added functionality

-^

Used for dial-in and for high-speed routers

•^

HDLC (High-Level Data Link) :^ •

Widely used and influential standard (1979)

-^

Default protocol for serial links on Cisco routers

-^

Actually, PPP is based on a variant of HDLC

docsity.com

PPP - IP encapsulation^ •^

The frame format of PPP is similar to HDLC and the 802.2 LLC frameformat:

-^

PPP assumes a duplex circuit

-^

Note: PPP does not use addresses

-^

Usual maximum frame size is 1500

docsity.com

PPP Support protocols^ •

Link management:

The link control protocol (LCP) is

responsible for establishing, configuring, and negotiating adata-link connection. LCP also monitors the link quality and isused to terminate the link.

-^

Authentication:

Authentication is optional. PPP supports two

authentication protocols: Password Authentication Protocol(PAP) and Challenge Handshake Authentication Protocol(CHAP).

-^

Network protocol configuration:

PPP has network control

protocols (NCPs) for numerous network layer protocols. The IPcontrol protocol (IPCP) negotiates IP address assignmentsand other parameters when IP is used as network layer.

docsity.com

Switched networks^ •

Some data link technologies can be used to buildcomplete networks, with their own addressing, routing,and forwarding mechanisms. These networks are oftencalled switched networks.

-^

At the IP layer, a switched network may like a point-to-point link or like a broadcast link

docsity.com