Share 1.1.2 - Concept of Network and TCP - IP Model
Share 1.1.2 - Concept of Network and TCP - IP Model
Share 1.1.2 - Concept of Network and TCP - IP Model
Broadband Faculty
Advanced Level Telecom Training Centre (ALTTC)
Bharat Sanchar Nigam Limited (BSNL)
Agenda
• Internet
• Comparison of TCP/IP & OSI
• Data Encapsulation
• TCP-IP Protocol Suite
• TCP/IP Protocol Documents
• TCP-IP Protocol Suite (IPv4 vs IPv6)
Application Data
FTP TFTP
A SMTP NFS
TELNET SNMP
HTTP DNS
T TCP UDP
N ICMP IGMP IP ARP RARP
D
Protocols defined by the underlying networks
P
SEQUENCE NUMBER
ACKNOWLEDGEMENT NUMBER
U A P R S F
HELEN R C S S Y I WINDOW SIZE
G K H T N N
PORT DESCRIPTION
20 File Transfer-Data
21 File Transfer-Control
23 Telnet
25 SMTP
80 WWW
Sender 0 1 Receiver
SN-95426
2 AN-00000 SN-16780 3
1 0 000B AN- 95427
1 1 000B
SN-95427
AN-16781
4 0 1 000B
SN - 95880
Sender 6 AN -17334
Receiver
0 1 1 0B SN - 17334
AN - 95881
0 1 0 0B
WAIT
SN - 17334
AN - 95881 6
SN - 95881 0 1 1 0B
AN -17334
0 1 0 0B
0 0
6-Finish; 0- Closed
Window Size
OPTIONS PADDING
1500 B
IP TCP Data
512 B 512 B 476 B
IP IP TCP Data IP Data IP Data
DF=0; MF=1; Offset=0 DF=0; MF=1; Offset=64 DF=0; MF=0; Offset=128
IP TCP Data
Concept of Network and TCP/IP Model 34
Fragmentation
• Only the receiver host reassembles the datagram
• The destination machine starts a reassembly timer for
about 60-120 seconds.
• If not all fragments were received, then hosts discard
the packets and sends a time exceeded ICMP message
to the source machine
• If a single fragment is lost during a transmission, the
entire packet must be resent
Concept of Network and TCP/IP Model 35
IP Header……
• Time to live-TTL (8 Bits)
– Assigns a life to an IP datagram
• Protocol (8 Bits)
– Specifies the protocol that runs on the top of IP.
– TCP-6; EGP-8; UDP-17; OSPF-89
• Header Checksum (16 Bits)
– Error detection field for IP header
– As each router decrements the TTL, the checksum is calculated
by each router
Concept of Network and TCP/IP Model 36
IP Header…….
• Source Address of Host (32 Bits)
– IP Address of the Originating Machine
• Destination Address of Host (32 Bits)
– IP Address of the Destination Machine
• Options
– Security:
• Specifies how secret the datagram is
– Strict Source Routing(SSR):
• Gives the complete path to be followed
– Loose Source Routing(LSR):
• Gives the list of routers not to be missed
A.B.C.D E.F.G.H
A.B.C.D E.F.G.H
129.1.1.1 129.1.1.4
Diskless
work RARP
station 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
ICMP
IPv6
SOURCE ADDRESS
(128 Bits)
DESTINATION ADDRESS
(128 Bits)