DCN PDF
DCN PDF
DCN PDF
Seminar on
TCP/IP
Karthikeyini S
(181CA119)
Sandhya S
(181CA149)
Dr. NGPASC
COIMBATORE | INDIA
Introduction to TCP/IP
TCP/IP
Dr. NGPASC
COIMBATORE | INDIA
• it was designed and developed by Department of Defense (DoD)
in 1960s and is based on standard protocols.
• It stands for Transmission Control Protocol/Internet Protocol.
• The TCP/IP model is a concise version of the OSI model.
• contains four layers, unlike seven layers in the OSI model.
Dr. NGPASC
COIMBATORE | INDIA
TCP/IP MODEL
2. Network layer
3. Transport
4. Application
Dr. NGPASC
COIMBATORE | INDIA
Functions of the layer:
1.Physical characteristics of interfaces
and media
2. Representation of bits]
3. Data rate
4. Synchronization of bits
5.Line configuration
6. Physical Topology
7. Transmission mode
8. Framing
9. Physical addressing
10. Flow control
11.Error control
12. Access control
Dr. NGPASC
COIMBATORE | INDIA
1.Physical characteristics of interfaces and media
Wired Wireless
Dr. NGPASC
COIMBATORE | INDIA
2.Represenation of bits:
•Physical layer receives the message from data link layer and convert into
number of bits.
•To be transmitted , the bits is encoded in to signals i.e, electrical or Optical.
3. Data Rate:
The Physical layer also defines the transmission rate i.e. the number of
bits sent per second.
4.Synchronization of bits:
•The physical layer provides the synchronization of the bits by providing a
clock. This clock controls both sender and receiver thus providing
synchronization at bit level.
5.Line Configuration:
•It defines the way how two or more devices can be connected physically.
Dr. NGPASC
COIMBATORE | INDIA
6. Topology:
It defines the way how network devices are arranged.
Dr. NGPASC
COIMBATORE | INDIA
7. Transmission mode:
• It defines the transmission mode whether it is simplex, half-duplex or
full-duplex mode between the two devices on the network.
1.Simplex
3.Full duplex:
2. Half duplex
Dr. NGPASC
COIMBATORE | INDIA
8. Framing:
The data link layer translates the physical's raw bit stream into
packets known as Frames. The Data link layer adds the header and
trailer to the frame. The header which is added to the frame contains
the hardware destination and source address.
9. Physical addressing:
The Data link layer adds a header to the frame that contains a
destination address. The frame is transmitted to the destination
address mentioned in the header.
10. Flow control :
• Flow control coordinates the amount of data that can be sent before
receiving acknowledgement
• It is one of the most important functions of data link layer.
11. Error control
Dr. NGPASC
COIMBATORE | INDIA
2.Internet layer / network layer
•An internet layer is the second layer of the TCP/IP model.
•An internet layer is also known as the network layer.
•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.
•Protocols used in the layers is IP Protocol, ARP protocol and ICMP
protocol.
•Function of the IP protocol are
1. IP Addressing
2. Host-to-host communication
3. Data Encapsulation and Formatting
4. Fragmentation and Reassembly
5. Routing:
Dr. NGPASC
COIMBATORE | INDIA
IP Addressing: This protocol implements logical host addresses known as
IP addresses. The IP addresses are used by the internet and higher layers
to identify the device and to provide internetwork routing.
Dr. NGPASC
COIMBATORE | INDIA
ARP Protocol
Dr. NGPASC
COIMBATORE | INDIA
ICMP Protocol
•ICMP stands for Internet Control Message Protocol.
•It is a mechanism used by the hosts or routers to send notifications regarding
datagram problems back to the sender.
•A datagram travels from router-to-router until it reaches its destination. If a
router is unable to route the data because of some unusual conditions such as
disabled links, a device is on fire or network congestion, then the ICMP protocol
is used to inform the sender that the datagram is undeliverable.
•An ICMP protocol mainly uses two terms:
•ICMP Test: ICMP Test is used to test whether the destination is reachable
or not.
•ICMP Reply: ICMP Reply is used to check whether the destination device is
responding or not.
•The core responsibility of the ICMP protocol is to report the problems, not
correct them. The responsibility of the correction lies with the sender.
•ICMP can send the messages only to the source, but not to the intermediate
routers because the IP datagram carries the addresses of the source and
Dr. NGPASC
COIMBATORE
destination | INDIA
but not of the router that it is passed to.
3.Transport layer
Dr. NGPASC
COIMBATORE | INDIA
Protocols used in the layers are
1.UDP
2.TCP
Dr. NGPASC
COIMBATORE | INDIA
Dr. NGPASC
COIMBATORE | INDIA
2. Transmission Control Protocol
• Transmission Control Protocol (TCP)It provides a full transport layer
services to applications.
•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 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, 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.
Dr. NGPASC
COIMBATORE | INDIA
4.Application layer
Dr. NGPASC
COIMBATORE | INDIA
Protocols used in the layers are
SMTP: SMTP stands for Simple mail transfer protocol. It is used for email
services, using this protocol a email containing data can be sent to
another email address.
Dr. NGPASC
COIMBATORE | INDIA
Dr. NGPASC
COIMBATORE | INDIA
Advantages of TCP/IP
Dr. NGPASC
COIMBATORE | INDIA