Data_Communication_Overview_1736055051305879120677a190b433a9
Data_Communication_Overview_1736055051305879120677a190b433a9
Sachin Tripathi
IIT(ISM), Dhanbad
Course Objective
10
0
OSI Feature
⚫ Open system standards over the world
⚫ Rigorously defined structured, hierarchical network model
⚫ Complete description of the function
⚫ Provide standard test procedures
10
1
OSI Layers
OS I Model
Data unit Layer Function
7.Application Network process to application
Data representation, encryption
Data 6.Presentation
Host and decryption
layers 5.Session Interhost communication
End-to-end connections and
Segments 4.Transport
reliability, Flow control
Path determination and logical
Packet 3.Network
addressing
Media
Frame 2.Data Link Physical addressing
layers
Media, signal and binary
Bit 1.Physical
transmission
10
2
Layer1: Physical Layer
⚫ The Physical Layer defines the electrical and physical
specifications for devices. In particular, it defines the
relationship between a device and a physical medium.
⚫ This includes the layout of pin, voltages, cable specification,
hubs, repeaters, network adapters, host bus adapters, and
more.
10
3
Layer1: Physical Layer
⚫ The major functions and services performed by
the Physical Layer are:
⚫ Establishment and termination of a connection to
a communication medium.
⚫ Participation in the process whereby the communication
resources are effectively shared among multiple users. For
example, flow control.
⚫ Modulation, or conversion between the representation
of digital data in user equipment and the corresponding
signals transmitted over a communications channel.These
are signals operating over the physical cabling (such as
copper and optical fiber) or over a radio link.
10
4
Layer1: Physical Layer con.
⚫ The same applies to local-area networks, such
as Ethernet, token ring , FDDI(Fiber Distributed
Data Interface),
ITU-T( International Telecommunication Union
Telecommunication Standardization Sector) and
IEEE802.1I.
⚫ Personal area networks such as Bluetooth and IEEE
802.15.4.
10
5
Layer 2: Data Link Layer
⚫ The Data Link Layer provides the functional and
procedural means to transfer data between network
entities and to detect and possibly correct errors that
may occur in the Physical Layer.
⚫ Originally, this layer was intended for point-to-point
and point-to-multipoint media, characteristic of
wide area media in the telephone system.
⚫ The data link layer is divided into two sub-layers by
IEEE.
10
6
Layer 2: Data Link Layer
⚫ One is MediaAccess Control (MAC) and another is Logical
Link Control (LLC).
⚫ Mac is lower sub-layer, and it defines the way about the
media access transfer, such as CSMA/CD/CA(Carrier
Sense Multiple Access/Collision Detection/Collision
Avoidance)
⚫ LLC provides data transmission method in different
network. It will re-package date and add a new header.
10
7
Layer 3: Network Layer
⚫ The Network Layer provides the functional and procedural
means of transferring variable length data sequences from a
source to a destination via one or more networks, while
maintaining the quality of service requested by theTransport
Layer.
10
8
Layer 3: Network Layer
⚫ The Network Layer performs
⚫ network routing functions,
⚫ perform fragmentation and reassembly,
⚫ report delivery errors.
⚫ Routers operate at this layer—sending data throughout the
extended network and making the Internet possible.
10
9
Layer 4: Transport Layer
11
0
Layer 5: Session Layer
⚫ The Session Layer controls the dialogues (connections)
between computers.
⚫ It establishes, manages and terminates the connections
between the local and remote application.
⚫ It provides for full-duplex, half-duplex, or simplex operation,
and establishescheckpointing, adjournment, termination,
and restart procedures.
11
1
Layer 5: Session Layer
⚫ The OSI model made this layer responsible for graceful close
of sessions, which is a property of theTransmission Control
Protocol, and also for session check pointing and recovery,
which is not usually used in the Internet Protocol Suite.The
Session Layer is commonly implemented explicitly in
application environments that use remote procedure calls.
11
2
Layer 6: Presentation Layer
⚫ The Presentation Layer establishes a context between
Application Layer entities, in which the higher-layer
entities can use different syntax and semantics, as long as
the presentation service understands both and the mapping
between them.
⚫ This layer provides independence from differences in data
representation (e.g., encryption) by translating from
application to network format, and vice versa.
⚫ This layer formats and encrypts data to be sent across a
network, providing freedom from compatibility problems.
⚫ It is sometimes called the syntax layer.
11
3
Layer 7: Application Layer
⚫ The application layer is the OSI layer closest to the end user,
which means that both the OSI application layer and the user
interact directly with the software application.
⚫ Application layer functions typically include:
⚫ identifying communication partners,
⚫ determining resource availability,
⚫ synchronizing communication.
11
4
Layer 7: Application Layer
⚫ Identifying communication partners
⚫ Determines the identity and availability of communication
partners for an application with data to transmit.
⚫ Determining resource availability
⚫ Decide whether sufficient network or the requested
communication exist.
⚫ Synchronizing communication
⚫ All communication between applications requires
cooperation that is managed by the application layer.
11
5
Layer 7: Application Layer
⚫ Some examples of application layer implementations include
⚫ HypertextTransfer Protocol (HTTP)
⚫ FileTransfer Protocol (FTP)
⚫ Simple MailTransfer Protocol (SMTP)
11
6
Introduction TCP/IP
⚫ The Internet Protocol Suite (commonly known
as TCP/IP) is the set of communications
protocols used for the Internet and other similar
networks.
⚫ It is named from two of the most important
protocols in it:
⚫ theTransmission Control Protocol (TCP) and
⚫ the Internet Protocol (IP), which were the first two
networking protocols defined in this standard.
11
7
TCP/IP Layers
OSI TCP/IP
Application Layer
Application Layer
Presentation Layer TELNET, FTP, SMTP, POP3, SNMP,
NNTP, DNS,NIS, NFS, HTTP, ...
Session Layer
11
8
TCP/IP Stack
11
9
TCP/IP Encapsulation
12
0
TCP/IP Some Protocol
Layer Protocol
DNS,TFTP,TLS/SSL, FTP,Gopher, HTTP, IMAP, IRC, NNTP, POP3,
SIP,SMTP, SMPP, SNMP, SSH,Telnet, Echo, RTP,PNRP, rlogin, ENRP
Application
Routing protocols like BGP and RIP which run over TCP/UDP,
may also be considered part of the Internet Layer.
Transport TCP, UDP, DCCP, SCTP, IL, RUDP, RSVP
IP (IPv4, IPv6), ICMP, IGMP, and ICMPv6
Internet OSPF for IPv4 was initially considered IP layer protocol since it
runs per IP-subnet, but has been placed on the Link since RFC
2740.
Link ARP, RARP, OSPF (IPv4/IPv6), IS-IS, NDP
12
1
Introduction to Computer Networks
• Host addressing
• Connection model
• Message forwarding
NETWORK ADDRESSES
• Host addressing
• Connection model
• Message forwarding
34
SWITCHING
C E
A B H
G
MSG 1
D F
MSG 2
CIRCUIT SWITCHING -
BENEFITS
C E
A B H
G
MSG 1
MSG 2 D F
MESSAGE SWITCHING
C E
A B H
G
MSG 1
MSG 2 D F
MESSAGE SWITCHING
- BENEFITS
C E
A B H
G
D F
5 4 3 2 1
PACKET SWITCHING
C E
3
A B H
G
D F
1 2 4 5
PACKET SWITCHING
C E
A B H
G
D F
1 2 4 5 3
PACKET SWITCHING
C E
A B H
G
D F 5 4 3 2 1
DATAGRAM PACKET
SWITCHING - BENEFITS
• Cost effective as storage requirements are
minimum and inexpensive
• Less transmission delay
• Packets can be routed around problem
links
• Optimal use of communication link (or
bandwidth)
DATAGRAM PACKET SWITCHING -
CONSIDERATIONS
A Y
D F
5 4 3 2 1
VIRTUAL CIRCUIT PACKET
SWITCHING - BENEFITS
• Host addressing
• Connection model
• Message forwarding
ROUTING SCHEMES
ROUTING SCHEMES
PC 1
Routers Operate at Layer 1,2 & 3 PC 2
7 APPLICATION APPLICATION 7
6 PRESENTATION PRESENTATION 6
5 SESSION SESSION 5
4 TRANSPORT TRANSPORT 4
3 NETWORK NETWORK NETWORK NETWORK 3
2 DATA LINK DATA LINK DATALINK DATA LINK 2
1 PHYSICAL PHYSICAL PHYSICAL PHYSICAL 1
ROUTERS AND OSI
MODEL
• Rapid convergence
– Convergence is the process of agreement, by
all routers, on optimal routes
• Flexibility
– should quickly and accurately adapt to a
variety of network circumstances
ROUTING METRICS
• Path length
• Reliability
• Delay
• Bandwidth
• Load
• Communication cost
AUTONOMOUS
SYSTEMS
• BOOKS:
– Andrew S Tanenbaum, Computer Networks,
Pearson Education
– Behrouz A. Forouzan, Data Communications and
Networking, Tata McGraw
• ONLINE RESOURCES
– docwiki.cisco.com
– en.wikipedia.org
TOPICS
193
Transport Layer Duties
194
▪ Process to Process Delivery
▪ Congestion Control and QoS
195
Types of Data Deliveries
196
Port Number
197
IP Address Vs. Port Number
198
IANA Range
199
Socket Address
200
Multiplexing and Demultiplexing
201