tcp ip
TRANSCRIPT
![Page 1: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/1.jpg)
TCP/IP
![Page 2: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/2.jpg)
TCP/IP Transmission Control
Protocol/Internet Protocol (TCP/IP) Developed by the Defence
Advanced Research Projects Agency (DARPA).
Advanced Research Projects Agency (ARPA). 1969
Now the de facto standard for internetwork communications
![Page 3: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/3.jpg)
TCP/IP
PROCESS/APPLICATION
TRANSPORT
INTERNET
NETWORKACCESS
UPPER LAYER
LOWER LAYER
![Page 4: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/4.jpg)
TCP/IP AND OSI LAYER
PROCESS/APPLICATION
TRANSPORT
INTERNET
NETWORKACCESS
Presentation
Session
Transport
Network
Data Link
Application
Physical
![Page 5: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/5.jpg)
TCP/IP
PROCESS/APPLICATION
TRANSPORT
INTERNET
NETWORKACCESS
TELNET FTP LPD SNMP TFTP SMTP NFS XWINDOWS
TCP UDP
ICMP ARP RARPIP
ETHERNET FAST ETHERNET TOKEN RINGFDDI
![Page 6: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/6.jpg)
APPLICATION LAYER Telnet File transfer Protocol (FTP) Trivial File Transfer Protocol (TFTP) Network File Sharing (NFS) Line Printer Daemon (LPD) X Window Simple Network Management Protocol (SNMP) Domain Name Service (DNS) Dynamic Host Configuration Protocol (DHCP) BootP (Bootstrap Protocol)
![Page 7: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/7.jpg)
FTP APPLICATION
![Page 8: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/8.jpg)
Telnet application
![Page 9: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/9.jpg)
SNMP MANAGEMENT SERVICE
![Page 10: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/10.jpg)
TRANSPORT LAYER
Ensure that segment divered will be acknowledged to the sender
Provide for retransmission of any segment that are not acknowledged
Put segment back into their correct sequence at the destination
Provide congestion avoidance and control
![Page 11: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/11.jpg)
TRANSPORT LAYER
Transmission Control Protocol (TCP) - Connection-Oriented
User Datagram Protocol (UDP) - Connection-less
![Page 12: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/12.jpg)
Transmission Control Protocol (TCP)
TCP is a connection-oriented transport layer protocol that provides data transmission
connection is established between both ends before the transfer of information can begin
![Page 13: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/13.jpg)
Transmission Control Protocol (TCP)
Flow Control…
![Page 14: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/14.jpg)
PROCESS/APPLICATION
TRANSPORT
![Page 15: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/15.jpg)
Establishing a Connection with a Peer System
![Page 16: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/16.jpg)
Transmission Control Protocol (TCP) FLOW CONTROL
![Page 17: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/17.jpg)
Transmission Control Protocol (TCP) Three way hand shake
![Page 18: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/18.jpg)
Transmission Control Protocol (TCP)
![Page 19: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/19.jpg)
Transmission Control Protocol (TCP)
Windowing
![Page 20: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/20.jpg)
Transmission Control Protocol (TCP)
TCP Sequence and Acknowledgment
![Page 21: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/21.jpg)
Transmission Control Protocol (TCP)
TCP SEGMENT FORMAT
![Page 22: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/22.jpg)
Transmission Control Protocol (TCP)
Source port – Number of the port that sends data Destination port – Number of the port that receives data Sequence number – Number used to ensure the data
arrives in the correct order Acknowledgment number – Next expected TCP octet HLEN – Number of 32-bit words in the header Reserved – Set to zero Code bits – Control functions, such as setup and termination
of a session Window – Number of octets that the sender will accept Checksum – Calculated checksum of the header and data
fields Urgent pointer – Indicates the end of the urgent data Option – One option currently defined, maximum TCP
segment size Data – Upper-layer protocol data
![Page 23: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/23.jpg)
The following protocols use TCP: - FTP - HTTP - SMTP - Telnet - ICMP
Transmission Control Protocol (TCP)
![Page 24: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/24.jpg)
USER DATAGRAM PROTOCOL (UDP)
UDP is a simple protocol that exchanges datagrams without guaranteed delivery
UDP does not use windows or ACKs
UDP is designed for applications that do not need to put sequences of segments together
![Page 25: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/25.jpg)
USER DATAGRAM PROTOCOL (UDP)
UDP SEGMENT
![Page 26: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/26.jpg)
USER DATAGRAM PROTOCOL (UDP)
Source port – Number of the port that sends data
Destination port – Number of the port that receives data
Length – Number of bytes in header and data
Checksum – Calculated checksum of the header and data fields
Data – Upper-layer protocol data
![Page 27: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/27.jpg)
USER DATAGRAM PROTOCOL (UDP)
The following protocols use UDP:
- TFTP - SNMP - DHCP - DNS
![Page 28: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/28.jpg)
TRANSPORT LAYER
![Page 29: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/29.jpg)
INTERNET LAYER
IP (Internet Protocol) ARP/RARP (Address Resolution
Protocol)/(Reverse Address Resolution Protocol)
ICMP (Internet Control Message Protocol )
![Page 30: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/30.jpg)
ICMP (Internet Control Message Protocol )
![Page 31: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/31.jpg)
ICMP (Internet Control Message Protocol )
![Page 32: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/32.jpg)
IP (Internet Protocol)
IP Public
IP Private
![Page 33: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/33.jpg)
IP (Internet Protocol)
IP Public
![Page 34: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/34.jpg)
IP (Internet Protocol)
IP Private
Class A 10.0.0 – 10.255.255.255Class B 172.16.0.0 –
172.31.255.255Class C 192.168.0.0 –
192.168.255.255
![Page 35: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/35.jpg)
ARP/RARP
ARP (Address Resolution Protocol)
RARP (Address Resolution Protocol)
![Page 36: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/36.jpg)
NETWORK ACCESS LAYER
FDDI ETHERNET FAST ETHERNET FRAME RELAY
![Page 37: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/37.jpg)
192.168.30.0/24
255.255.255.0 1111111.11111111.1111111.11000000
1= network ID0= HOST
![Page 38: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/38.jpg)
NO IP RANGE
NETWORK ID BROADCAST
0 1-62 0 63
1 65-126 64 127
2 129-190 128 191
3 192-254 192 255
Network 1 Network 2
/24/26
255.255.255.192
![Page 39: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/39.jpg)
192.168.20.0/24KEBUTUHAN 5 NETWORK
1. 1. 1. 0. 0.0.0.0128.64.32.16.8.4.2.0
/27
255.255.255.224
![Page 40: TCP IP](https://reader036.vdocuments.site/reader036/viewer/2022062406/55ceb1aabb61eb531e8b460d/html5/thumbnails/40.jpg)
NO IP RANGE
NETWORK ID BROADCAST
0 1-30 0 31
1 33-62 32 63
2 65-94 64 95
3 97-126 96 127
4 129-158 128 159
5 161-190 160 191
6 193-222 192 223
7 225-254 224 255