Docsity

Computer Networks and Security, Lecture notes of Computer Networks

Partial preview of the text

Download Computer Networks and Security and more Lecture notes Computer Networks in PDF only on Docsity!

All slides are customized by Engr. Vernon Degala. For educational purposes only.All slides are customized by Engr. Vernon Degala. For educational purposes only.

Module 10: Intermediate TCP/IP

inspired by Cisco Networking Academy Computer Networks and Security CCNA 2: Routers and Routing Basics

ORIGINAL COPY

All slides are customized by Engr. Vernon Degala. For educational purposes only.

Transport Layer: TCP Operation

  • IP addresses allow for the routing of packets between networks. However, IP makes no

guarantees about delivery. The transport layer is responsible for the reliable transport

of and regulation of data flow from source to destination. This is accomplished through

the use of sliding windows and sequencing numbers along with a synchronization

process. The process ensures that each host is ready and willing to communicate.

Synchronization or three way handshake

  • TCP is connection-oriented protocol. Prior to data transmission, the two communicating hosts go through a synchronization process to establish a virtual connection for each session between hosts. This synchronization process ensures that both sides are ready for data transmission and allows the devices to determine the initial sequence numbers for that session. This process is known as three way handshake. Client A is the initiating host. Client B is the other host. Note: This case, TCP Window Size = 1. Actual window sizes are much larger, typically thousands of bytes.

All slides are customized by Engr. Vernon Degala. For educational purposes only.

Port Numbers

Port numbers have the following assigned ranges:

  • The Well Known Ports are those from 0 through 1023 (Public ports)
  • The Registered Ports are those from 1024 through 49151
  • The Dynamic and/or Private Ports are those from 49152 through 65535

Reserved TCP and UDP Port Numbers