Documente Academic
Documente Profesional
Documente Cultură
Group Presentation
Group - 06
TCP / IP
[Transmission Control Protocol / Internet Protocol]
Group partners
EE/08/7100 EE/08/7104 EE/08/7115 ET/08/7274 ET/08/7282 G.A.H.S. GANEPOLA W.E.R. PRABHASH M.W.L. MADUSHANI I. S. GALABADA G.A.H.P. GANEPOLA
OBJECTIVES
Introduction about TCP/IP The Origins and History of TCP/IP TCP/IP over OSI layer TCP/IP Protocols
To explain protocols in APPLICATION Layer To explain protocols in TRANSPORT Layer To explain protocols in INTERNET Layer To explain protocols in NETWORK Layer
TCP/IP
An industry standard suite of protocols providing communication in a heterogeneous environment. It provides a routable, enterprise networking protocol and access to the Internet and its resources
TCP/IP Protocols
TCP/IP is a large collection of different communication protocols.
APPLICATION
HTTP FTP SMTP POP DNS
TRANSPORT
TCP UDP
INTERNET
IP ICMP IGMP ARP RARP
NETWORK ACCESS
Ethernet PPP ATM
APPLICATION LAYER
HTTP Server
CGI Program
http://www.webopedia.html
protocol to be used Target host
Web Browser
Database
TRANSPORT LAYER
Functions OF TCP
Flow Control
flow control is the technique for assuring that a transmitting entity does not overwhelm a receiving entity with data
Data Recovery
If segments are lost they can be recovered by asking for retransmission.
Guaranteed Delivery
Receive the ACK message from other party. fully reliable and guaranteed that it has been delivery .
Send SYN (seq=100 ctl=SYN) SYN received SYN received Send SYN, ACK 2 (seq=300 ack=101 ctl=syn,ack)
TCP Datagram
Bit 0 Source port (16) Bit 15 Bit 16 Destination port (16) Bit 31 Sequence number (32) Acknowledgement number (32)
Header length (4)
20 Bytes
Options (0 or 32 if any)
Data (varies)
Push Reset
Synchronize
Finish
UDP Datagram
Bit 0 1
Source port (16) Bit 15 Bit 16 Destination port (16) Bit 31 8 Bytes
Length (16)
Data (if any)
Checksum (16)
UDP Applications
Used in time sensitive applications Stateless nature is useful for servers that answer small queries from huge clients Unlike TCP ,UDP is compatible with packet broadcasting (sending to all network) and multicasting(Sending to all on local network)
UDP IS USED IN
Voice over IP
Online games
INTERNET LAYER
Internet Protocol
IP - Internet Protocol
A protocol in a Internet Layer in TCP/IP Protocol stack. It is a OSI Layer three Protocol(Network layer) PDU is a packet known as an IP datagram. It provides a connectionless service. It provides the basic packet delivery service. The current version of IP is IPv4. A new version, called IPv6 or IPng, is under development.
ARP is a general-purpose protocol that can be used to map any type of hardware address to any type of protocol address. However, for most practical purposes, all anyone really cares about using ARP for, these days, is converting the IP address of a remote machine into an Ethernet address. It's the device driver for the Ethernet controller that needs this information. How an ARP request works
This allows a physical machine in a local area network to request its IP address from a gateway server's Address Resolution Protocol (ARP) table
A network administrator creates a table in a local area network's gateway router that maps MAC address to corresponding IP address
When a new machine is set up, its RARP client program requests from the RARP server on the router to be sent its IP address.
IP Data Packet
An Internet Protocol version 4(IPv4) & Internet Protocol version 6 (IPv6) data packet comprises of two main parts: Header Payload
IP Header
IP Packet Structure
Version version number of the internet protocol Ex IPv4 (32 bit address) IPv6(128 bit address) IHL- Internet Header Length This no indicates how many 32 bit rows present in the header of the IP packet. Ex 5 rows Bits = 5*32 = 160 bits Type of service This defines for IP data gram service Ex bit 3 expected delay bit 5 reliability
IP Packet Structure
Total length This specify the total no of bytes in the whole datagram including the header Time to Live-TTL This is the maximum no of hops or time allow for this IP data gram.when this life time expires the next router will remove it from the internet. Checksum(16 bits) Use for error checking the header Protocol Whether to pass up to TCP of UDP Source IP Address 32 bit IP address of sending host
IP Packet Structure
Destination IP Address 32 bit IP address of recepient host Options & Padding Other optional bytes used in the header as necessary Ex- IPSec bytes(IP Security) Data Field This field Carries the actual user data from upper layer(TCP/UDP)
IP Addressing
Each physical network should have a unique network address.This is called Net ID. Every computer within that network should have a unique host ID number.therefore an IP address is in 2 parts
Network 32 bits Host
Ex 158.108.2.71
IP Classes
Class A 8 bits
8 bits
8 bits
8 bits
Host
8 bits
Network Class C
Host
8 bits
8 bits
8 bits
8 bits
Network
Host
The Network Access Layer is the lowest layer of the TCP/IP protocol hierarchy.
Point-to-Point Protocol (PPP) Ethernet Frame Relay Asynchronous Transfer Mode (ATM)
Ethernet
Ethernet is a family of network access layer frame-based computer networking technologies There are several types of Ethernet networks in use throughout the world. The most common are: Local Area Network (LAN) Wide Area Network (WAN) Virtual LAN (VLAN)
Web browsing
Web browsing
The act of viewing information is called browsing and viewing the information on WWW is called web browsing. There are several types of browsers but the one thing they have in common is that they carry out the same function; they transfer hypertext. Here are some familiar common web browsers: Google chromium Mozilla Fire Fox Microsoft Internet Explorer
Thank you