Professional Documents
Culture Documents
M.K.Nema
TCP/IP was developed by US DOD for ARPA (Advance
Research Project Agency)
SESSION
OSI Model TRANSPORT TRANSPORT
TCP/IP Model
NETWORK NETWORK
DATA LINK DATA LINK
PHYSICAL PHYSICAL
TCP/IP Protocol Suite
FTP TFTP
A SMTP NFS
TELNET SNMP
HTTP DNS
T TCP UDP
D
Protocols defined by the underlying networks
P
Data Encapsulation
Application Data
UDP Message
IP Datagram
SEQUENCE NUMBER
ACKNOWLEDGEMENT NUMBER
UAP RS F
HELEN RCS S YI WINDOW SIZE
GKHT NN
OPTIONS PADDING
Internet Control Message
Protocol
• Internet Control Message Protocol is a mechanism
used by hosts and routers to send notification of
datagram problems back to the sender.
• Sends error messages only to the source and not to
intermediate routers.
• Sole function is to report problems, not to correct
them.
• ICMP uses echo/reply to test whether a destination is
reachable and responding.
ICMP..
• Echo request/reply (PING; Packet INternet
Gropher)
– Destination unreachable
• 0-Network unreachable
• 1-Host unreachable
• 2-Protocol unreachable
• 3-Port unreachable
• 4-Fragment needed but DF bit is set
• 5-Source route failed
• 6-Destination network unknown
ICMP…
• 7-Destination host unknown
• 8-Source host isolated
• 9-Communication with destination network
administratively prohibited
• 10-Communication with destination host
administratively prohibited
• 11-Network unreachable for type of service
• 12-Host unreachable for type of service
– Time exceeded message format
• 0-TTL exceeded
• 1-Fragment reassembly time exceeded
Internet Group Message Protocol
• Internet Group Message Protocol provides allows
for multicast to operate on an internetwork.
– Multicast is one-to-many communication.
– A message sent can be simultaneously received by a
group of hosts.
• Special type of Class-D IP addresses, starting with
1110, are reserved as multicast addresses.
Address Resolution Protocol
• Address Resolution Protocol is used to
translate 32 bits IP addresses to 48 bits
Ethernet addresses.
• A host’s physical address is determined by
broadcasting its IP address to all machines.
• The machine with matching IP address, in
broadcast message, sends its hardware
address to the machine originating broadcast.
ARP Operation
129.1.1.1 129.1.1.4
Diskless
work
station RARP
Server
08-00-39-00-2F-AB
223.1.2.1 223.1.2.3
08-00-39-00-2F-C3 223.1.2.2 08-00-10-99-AC-54
08-00-5A-21-A7-22
IPv4 Address
32 Bits
Network Host
8 8 8 8
Bits Bits Bits Bits
Class-B: N N H H
Class-C: N N N H
Present day Internet does not use Class full addressing, Instead
Classless addressing is used.