Data Communications Mam Notes
Data Communications Mam Notes
by
• Data Link Layer: Packets are framed and sent to the next device.
• Physical Layer: Frames are converted into bits and transmitted physically.
OSI Model (Contd..)
Physical Layer
• It is responsible for the actual physical connection between the devices.
• The physical layer contains information in the form of bits. It is responsible for transmitting individual
bits from one node to the next.
• Bit Synchronization
• Physical Topologies Eg: Hub, Repeater, Modem, and Cables are Physical
Layer devices.
• Transmission Mode
OSI Model (Contd..)
Data Link Layer (DLL)
• The data link layer is responsible for the node-to-node delivery of the message.
• The main function of this layer is to make sure data transfer is error-free from one node to another, over
the physical layer.
• Framing
• Physical Addressing
• Error Control
• Flow Control
• It also takes care of packet routing i.e. selection of the shortest path to transmit the packet, from the
number of routes available.
• Routing
• Logical Addressing
Eg: Network layer is implemented by networking devices such as routers and switches.
OSI Model (Contd..)
Transport Layer
• The transport layer provides services to the application layer and takes services from the network
layer.
• The transport layer also provides the acknowledgment of the successful data transmission and
re-transmits the data if an error is found.
2) Connectionless service
Session Layer
• This layer is responsible for the establishment of connection, maintenance of sessions, and
authentication, and also ensures security.
OSI Model (Contd..)
Presentation Layer
• Translation
• Encryption/ Decryption
• Compression
Application Layer
• This model defines how data is transmitted over networks, ensuring reliable communication between
devices.
• TCP/IP was designed and developed by the Department of Defense (DoD) in the 1960s and is based on
standard protocols.
• When one application layer protocol wants to communicate with another application layer, it
forwards its data to the transport layer.
• It creates a virtual circuit between the sender and receiver, and it is active for the duration of the
transmission.
• TCP is a reliable protocol as it detects the error and retransmits the damaged frames. Therefore, it
ensures all the segments/packets must be received and acknowledged before the transmission is
considered to be completed and a virtual circuit is discarded.
• At the sending end, TCP divides the whole message into smaller units known as segment/packet, and
each segment contains a sequence number which is required for reordering the frames to form an original
message.
• At the receiving end, TCP collects all the segments and reorders them based on sequence numbers.
TCP/IP Model (Contd..)
User Datagram Protocol (UDP)
• The main responsibility of the internet layer is to send the packets from any network, and they arrive at the
destination irrespective of the route they take.
• IP Addressing
• Host-to-host communication
• Data Encapsulation and Formatting: An IP protocol ensures that the data is sent and received securely, it
encapsulates the data into message known as IP datagram.
• Datagrams are data packets which contain adequate header information so that they can be individually
routed by all intermediate network switching devices to the destination.
• Routing
TCP/IP Model (Contd..)
Network Access Layer
• A network layer is the combination of the Physical layer and Data Link layer defined in the OSI
reference model.
• It defines how the data should be sent physically through the network.
• This layer is mainly responsible for the transmission of the data between two devices on the same
network.
• The functions carried out by this layer are encapsulating the IP datagram into frames transmitted by
the network and mapping of IP addresses into physical addresses.
• The protocols used by this layer are ethernet, token ring, FDDI, X.25, frame relay.
Data and Signal
• Data is an entity that conveys some meaning based on some mutually agreed up rules/convention
between the sender and receiver.
• Signal is an electric, electronic or optical representation of data, which can be sent over a
communication media.
• Propagation Time: Time required for a signal to travel from one point of transmission medium to
the other.
Propagation Time= Distance / Propagation Speed
• On the other hand, let the gain as it passes through an amplifier is hundred times at point three with respect
to point 2. Then the gain in dB is 10log10 (100/1) that is 20 dB, which is positive.
• It may be noted that the signal strength at point 3 with respect to point 1 can be obtained by adding the two
values: (-10) + 20 = 10dB.
Distortion
• Attenuation of all frequency components are not same. Some frequencies are passed without
attenuation, some are weakened and some are blocked. This leads to distortion.
Data Rate Limits
How fast the data can be sent over the channel?
• Bandwidth of channel: Bandwidth refers to the range of frequencies that a medium can pass without a
loss of one half of the power contained in the signal. (without much attenuation)
• Bandwidth of a medium decides the quality of the signal at the other end.
• A digital signal (usually aperiodic) requires a bandwidth from 0 to infinity. So it need a low pass
channel.
• Analog signals requires a bandpass channel.
Data Rate Limits (Contd..)
• Number of levels used in the signal
• Noise level in the channel