• No results found

20160410-u5-partial-notes.pdf

N/A
N/A
Protected

Academic year: 2020

Share "20160410-u5-partial-notes.pdf"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)

Syllabus: Unit 5

Framing

Flow and Error Control protocols

Noisy and Noiseless channels

HDLC

Point to point protocols.

(2)

Data link control

DLC (Data Link Control) deals with procedures for communication

between two adjacent nodes (

node-to-node communication

) no

matter whether the link is dedicated or broadcast

It includes:

(3)

Framing

Physical layer is responsible for:

Converting bits into signals

Transmitting them over physical medium as electrical signals Bit synchronization

Sender and receiver should use same bit duration

Sender and receiver must understand order of bit sequence

Data link layer is responsible for:

Pack bits intoindependently distinguishable frames Adds address of sender and receiver during framing

Destination address defines where to go!

(4)

Frame Size

Usually the whole message is not framed in a single frame

Even a single bit error will corrupt the message

Frame size can be fixed or variable

Fixed size frames does not need definition of frame boundary Variable Size framing requires definition of frame boundaries Two approaches are used to define boundaries:

(5)

Character/Byte oriented framing

Data is a byte (8 bits) defined by a coding system like ASCII

Header and trailers are also multiples of bytes

Header has source and destination address as well as other control

information

Trailer has redundant bits for error detection

Separation of frames is performed using a byte ling

flags

Flags are added at beginning and end of message bye

(6)

Character/Byte oriented framing

Was popular when only text was exchanged as data

Flags could be chosen to be any character which is not used as text

With audio, video and other data, choice of flag character is a serious

issue

Solution:

Byte Stuffing

Special byte is added to the data section of the frame when there is a character which is same as character for flag

Since the data section is stuffed with an extra byte so it is termed as byte stuffing

This byte is usuallyescape character ESC

(7)

Byte stuffing

(8)

Bit oriented Framing

Data section of frame is a sequence of bits

It also has usual header and Trailer

Delimiter/Flag is a special 8-bit pattern 01111110 to define beginning

and end of frame

What if flag bit pattern appears in data

Bit stuffing

A single bit is stuffed in the bit pattern to make it look different from the flag

An extra zero is added if 011111 appears so that it becomes 0111110 instead of flag

(9)

Bit stuffing

(10)

Flow and error control

Flow control + Error control = Data link control

Flow control

Data link layer at sender and receiver ensureflow control usingbuffers Buffers are set of memory locations that can hold packets at sender and receiver

Two buffers (one at sender and one at receiver end)

When buffer at receiver is full, it sends a request to receiver for not pushing data into the same

Error control

(11)

Connection

DLC can be connectionless or connection oriented

Connectionless

There is no relationship between frames Each frame is independent

Frames arenot numbered and there is no ordering.

Connection-oriented

Duringsetup phase, a logical connection is established between two nodes

(12)

DLC protocols

(13)

Simple protocol

(14)

Stop-and-wait

(15)
(16)

Noisy Channel

Practically speaking, channels are rarely noiseless

Noisy channels uses:

(17)

Stop-and-wait Automatic Repeat Request

(18)
(19)

HDLC

High-level Data Link Control

HDLC is a bit-oriented protocol for communication over

point-to-point and multi-point links. It implements the ARQ

mechanisms

Two modes

Normal mode (NRM)

Primary station can send commands and secondary stations can only respond

Asynchronous balanced mode (ABM)

(20)

HDLC transfer modes

(21)

HDLC frames

Information frames

Supervisory frames

Unnumbered frames

(22)

HDLC frames

(23)

Point-to-point protocol

Mostly used on internet communication at data-link layer

It is byte oriented protocol

(24)
(25)

Link Control Protocol

Responsible for:

Establishing Maintaining Configuring Terminating

links

Also responsible for negotiating mechanisms to set options between

two end points

(26)

Authentication protocols

PAP (Password Authentication Protocol)

The user who wants to access the system sends an authentication identification (username) and a password

System checks validity of identification and password and further either accepts or denies the connection

CHAP (Challenge Handshake Authentication Protocol)

System sends user a challenge value

User applies predefined function which takes challenge value and user’s own password and creates a result which is sent to the system

System performs the same and compares the two. If they match, the connection is allowed and denied otherwise

(27)
(28)
(29)

Network Control Protocols

PPP is a multi-network-layer protocol.

It can carry a network layer data packet from protocols defined by

Internet, OSI, Xeros, DECnet etc.

(30)

WWW

World Wide Web

Distributed client-server service

Client uses abrowser can access a service using aserver

Services provided aredistributed over many locations calledwebsites Each website hold one or manywebpages

(31)

References

Related documents

Counts of peru extrediction usa greece dollars and notify the most newsworthy in the united states are of extradition between the same way people of money.. Question of kidnapping

2 .2 Potential Application of Effective Microbes as a Biological Control 6 2 .3 Changing Pattern of Controlling Bacterial Leaf Blight Disease 7 2.4 Impacts of bacterial Leaf

Ernst & Young Associates LLP is one of the Indian client serving member firms of EYGM Limited. For more information about our organization, please visit

3PL two CLF togehter go 「彼ら二人は一緒に行きます。」 2.4 人称詞の人称と数のまとめ

As the New Testament presents the Lord Jesus Christ as its theme, so Isaiah presents the Lord Jesus Christ as his theme. Isaiah has been called the 5th evangelist; the Book of

In addition to the above antiprotozoal and antimicrobial activities, both the crude extracts from annona plants and the individual alkaloids have shown potent

Furthermore, we quantitatively analyzed the total flavonoids, orientin and isoorientin content of the extracts from Vaccinium bracteatum Thunb. These substances provided the

In the lower two-thirds of the hypocotyl (Fig.  4 c and Supplemental Fig. 6b), 10 and 100 μM ACC reduced the number and percentage of adventitious roots, while GR24 only