SlideShare a Scribd company logo
1
Version 3.0
Module 9
TCP/IP Protocol and
IP Addressing
2
Version 3.0
History of TCP/IP
• The U.S. Department of Defense (DoD) created the TCP/IP
reference model because it wanted a network that could survive
any conditions.
• The TCP/IP model has since become the standard on which
the Internet is based.
• In 1992 the standardization of a new generation of IP, often
called IPng, was supported by the Internet Engineering Task
Force (IETF). IPng is now known as IPv6.
3
Version 3.0
The TCP/IP model has four layers: The Application layer,
Transport layer, Internet layer, and Network Access layer.
TCP/IP Model
4
Version 3.0
Application Layer
• The application layer of the TCP/IP model handles
high-level protocols, issues of representation,
encoding, and dialog control.
• The Application layer of the TCP/IP model has
protocols to support file transfer, e-mail, and remote
login, and many other applications.
5
Version 3.0
Application Layer
6
Version 3.0
Application Layer
• File Transfer Protocol (FTP)
• Trivial File Transfer Protocol (TFTP) – TFTP is a connectionless service
that uses the User Datagram Protocol (UDP).
• Network File System (NFS) – NFS is a distributed file system protocol
suite developed by Sun Microsystems that allows file access to a remote
storage device such as a hard disk across a network.
• Simple Mail Transfer Protocol (SMTP) – SMTP administers the
transmission of e-mail over computer networks.
• Terminal emulation (Telnet) – Telnet provides the capability to remotely
access another computer.
• Simple Network Management Protocol (SNMP) – SNMP is a protocol
that provides a way to monitor and control network devices, and to
manage configurations, statistics collection, performance, and security.
• Domain Name System (DNS) – DNS is a system used on the Internet for
translating names of domains and their publicly advertised network nodes
into IP addresses.
7
Version 3.0
Transport Layer
• The transport layer provides transport services from the source
host to the destination host.
• The transport layer constitutes a logical connection between the
endpoints of the network, the sending host and the receiving
host.
• End-to-end control is the primary duty of the transport layer
when using TCP.
8
Version 3.0
Transport Layer
9
Version 3.0
Transport Layer
Transport services include all the following services:
• TCP and UDP
– Segmenting upper-layer application data
– Sending segments from one end device to another end
device
• TCP only
– Establishing end-to-end operations
– Flow control provided by sliding windows
– Reliability provided by sequence numbers and
acknowledgments
10
Version 3.0
Internet Layer
• The purpose of the Internet layer is to select the best path
through the network for packets to travel.
• The main protocol that functions at this layer is the
Internet Protocol (IP).
11
Version 3.0
Internet Layer
The following protocols operate at the TCP/IP Internet layer:
• IP provides connectionless, best-effort delivery routing of
packets. IP is not concerned with the content of the
packets but looks for a path to the destination.
• Internet Control Message Protocol (ICMP) provides
control and messaging capabilities.
• Address Resolution Protocol (ARP) determines the data
link layer address, MAC address, for known IP addresses.
• Reverse Address Resolution Protocol (RARP) determines
IP addresses when the MAC address is known.
12
Version 3.0
Network Access Layer
• The network access layer is also called the host-to-
network layer.
• It includes the LAN and WAN technology details
13
Version 3.0
Comparing OSI and TCP/IP
Both have application layers,
though they include very different
services
TCP/IP combines the presentation
and session layer into its
application layer Combines the
Data Link and Physical layer into
the Network Access Layer
Both have comparable transport
and network layers
TCP/IP appears simpler because it
has fewer layers
Packet-switched, not circuit-
switched, technology is assumed
TCP/IP transport layer using UDP
does not always guarantee reliable
delivery of packets as the transport
layer in the OSI model does
14
Version 3.0
Comparing OSI and TCP/IP
The OSI model is used as a guide for
understanding the communication process.
15
Version 3.0
Addressing
• Each computer in a TCP/IP network must be given a
unique identifier, or IP address.
– This address, operates at Layer 3
• All computers also have a unique physical address, known
as a MAC address. These are assigned by the
manufacturer of the network interface card.
– MAC addresses operate at Layer 2 of the OSI model.
16
Version 3.0
IPv4 Addresses
• An IP address is a 32-bit sequence of 1s and 0s
• Every IP address has two parts
– The network portion
– The host portion
• An IP address is an hierarchical address
• IP addresses are divided into classes to define the large,
medium, and small networks
– Class A
– Class B
– Class C
17
Version 3.0
IP Classes of Addresses
18
Version 3.0
19
Version 3.0
Reserved IP Addresses
• Certain host addresses
are reserved and cannot
be assigned to devices on
a network
– Network address – Used
to identify the network itself
– Broadcast address – Used
for broadcasting packets to
all the devices on a network
20
Version 3.0
Private Addresses
• With the rapid growth of the Internet, public IP addresses
were beginning to run out.
• Solutions to expand the number of IP addresses available
for public use include:
– classless interdomain routing (CIDR)
– IPv6
– Private IP addresses
21
Version 3.0
Private Addresses
• Internet requires translation of the private addresses to
public addresses.
• This translation process is referred to as Network Address
Translation (NAT)
22
Version 3.0
Subnetting
• To create a subnet address, a network administrator
borrows bits from the host field and designates them as
the subnet field
• The minimum number of bits that can be borrowed is two
• The maximum number of bits that can be borrowed can be
any number that leaves at least two bits remaining, for the
host number
23
Version 3.0
IPv4 and IPv6
• IPv6 uses 128 bits rather
than the 32 bits
• Provides 640 sextrillion
addresses
• IPv6 addresses are 128
bits long, written in
hexadecimal form, and
separated by colons. IPv6
fields are 16 bits long.
24
Version 3.0
Assigning IP Addresses
• Network administrators use two methods to
assign IP addresses.
– Static
• Administratively assigned
– Dynamic
• Automatically assigned
25
Version 3.0
Static IP Addresses
• Static assignment works best on small, infrequently
changing networks
• Good recordkeeping is critical to prevent problems which
occur with duplicate IP addresses
• Servers should be assigned a static IP address so
workstations and other devices will always know how to
access needed services
• Other devices that should be assigned static IP addresses
are network printers, application servers, and routers
26
Version 3.0
RARP
• Reverse Address Resolution Protocol (RARP) associates
a known MAC addresses with an IP addresses
• A network device, such as a diskless workstation, might
know its MAC address but not its IP address. RARP
allows the device to make a request to learn its IP address
• Devices using RARP require that a RARP server be
present on the network to answer RARP requests
27
Version 3.0
BOOTP
• The bootstrap protocol (BOOTP) operates in a client-server
environment
• BOOTP packets can include the IP address, as well as the
address of a router, the address of a server, and vendor-
specific information
• One problem with BOOTP is that it was not designed to provide
dynamic address assignment.
• With BOOTP, a network administrator manually creates a
configuration file for every host on the network that contains a
BOOTP profile along with an IP address assignment in it
28
Version 3.0
DHCP
• Dynamic host configuration protocol (DHCP) is the successor to
BOOTP
• Unlike BOOTP, DHCP allows a host to obtain an IP address
dynamically without the network administrator having to set up
an individual profile for each device
• A range of IP addresses must be set-up on a DHCP server
• As hosts come online, they contact the DHCP server and
request an address. The DHCP server chooses an address and
leases it to that host
• The major advantage that DHCP has over BOOTP is that it
allows users to be mobile
29
Version 3.0
ARP
• Address Resolution Protocol (ARP)
– Automatically maps IP to unknown MAC address
• For TCP/IP communications, a datagram on a local-area
network must contain both a destination MAC address and
a destination IP address. These addresses must be
correct and match the destination MAC and IP addresses
of the host device
• For communications between two LAN segments TCP/IP
has a variation on ARP called Proxy ARP that will provide
the MAC address of an intermediate device for
transmission outside the LAN to another network segment
30
Version 3.0
ARP
•Some devices will keep tables
that contain MAC addresses and
IP addresses of other devices that
are connected to the same LAN.
•These are called Address
Resolution Protocol (ARP) tables.
•ARP tables are stored in RAM
memory, where the cached
information is maintained
automatically on each of the
devices

More Related Content

What's hot

TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
Mukesh Tekwani
 
transport layer
transport layer transport layer
transport layer
usman19
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
Manoj Kumar
 
Network layer
Network layerNetwork layer
Network layer
Hasib Shaikh
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Dr. SELVAGANESAN S
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point ProtocolPhan Vuong
 
OSI model and TCP/IP model
OSI model and TCP/IP modelOSI model and TCP/IP model
OSI model and TCP/IP model
Rubal Sagwal
 
Data link layer
Data link layer Data link layer
Data link layer
Mukesh Chinta
 
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
PRINCE KUMAR
 
Computer networking
Computer networkingComputer networking
Computer networking
Maulik Togadiya
 
Data link layer
Data link layerData link layer
Data link layer
Hassanein Alwan
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)
sonangrai
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
Meenakshi Paul
 
Computer Networks - Unit 1 PPT
Computer Networks - Unit 1 PPTComputer Networks - Unit 1 PPT
Computer Networks - Unit 1 PPT
KalpanaC14
 
Internetworking
InternetworkingInternetworking
InternetworkingRaghu nath
 
TCP Model
TCP ModelTCP Model
TCP Model
manojkum22
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
Naiyan Noor
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
BE Smârt
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
tmavroidis
 
Token ring
Token ringToken ring
Token ring
selvakumar_b1985
 

What's hot (20)

TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
transport layer
transport layer transport layer
transport layer
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Network layer
Network layerNetwork layer
Network layer
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
 
OSI model and TCP/IP model
OSI model and TCP/IP modelOSI model and TCP/IP model
OSI model and TCP/IP model
 
Data link layer
Data link layer Data link layer
Data link layer
 
Tcp ip tutorial
Tcp ip tutorialTcp ip tutorial
Tcp ip tutorial
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Data link layer
Data link layerData link layer
Data link layer
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
Computer Networks - Unit 1 PPT
Computer Networks - Unit 1 PPTComputer Networks - Unit 1 PPT
Computer Networks - Unit 1 PPT
 
Internetworking
InternetworkingInternetworking
Internetworking
 
TCP Model
TCP ModelTCP Model
TCP Model
 
Chapter 4 data link layer
Chapter 4 data link layerChapter 4 data link layer
Chapter 4 data link layer
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Transport Layer
Transport LayerTransport Layer
Transport Layer
 
Token ring
Token ringToken ring
Token ring
 

Viewers also liked

TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Modelfarhan516
 
Finacial Management
Finacial ManagementFinacial Management
Finacial Management
Sagar Vetal
 
Financial management ppt @ mba
Financial management ppt @ mbaFinancial management ppt @ mba
Financial management ppt @ mba
Babasab Patil
 
Financial Management Lesson Notes
Financial Management Lesson NotesFinancial Management Lesson Notes
Financial Management Lesson Notes
Ekrem Tufan
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
sanjoysanyal
 
TCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet ProtocolTCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet Protocol
We Learn - A Continuous Learning Forum from Welingkar's Distance Learning Program.
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
Importance of Financial Management
Importance of Financial ManagementImportance of Financial Management
Importance of Financial Management
Dr. Vickram Aadityaa
 
ppt on financial management
 ppt on financial management ppt on financial management
ppt on financial management
Aanchal
 
Financial Management
Financial ManagementFinancial Management
Financial Management
shart sood
 

Viewers also liked (12)

TCP/IP Model
TCP/IP ModelTCP/IP Model
TCP/IP Model
 
Finacial Management
Finacial ManagementFinacial Management
Finacial Management
 
TCP/IP(networking)
TCP/IP(networking)TCP/IP(networking)
TCP/IP(networking)
 
Financial management ppt @ mba
Financial management ppt @ mbaFinancial management ppt @ mba
Financial management ppt @ mba
 
Financial Management Lesson Notes
Financial Management Lesson NotesFinancial Management Lesson Notes
Financial Management Lesson Notes
 
TCP/IP Basics
TCP/IP BasicsTCP/IP Basics
TCP/IP Basics
 
TCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet ProtocolTCP/IP – Transmission Control Protocol/ Internet Protocol
TCP/IP – Transmission Control Protocol/ Internet Protocol
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Financial management
Financial managementFinancial management
Financial management
 
Importance of Financial Management
Importance of Financial ManagementImportance of Financial Management
Importance of Financial Management
 
ppt on financial management
 ppt on financial management ppt on financial management
ppt on financial management
 
Financial Management
Financial ManagementFinancial Management
Financial Management
 

Similar to Tcp ip

Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
Taymoor Nazmy
 
Лекц 7
Лекц 7Лекц 7
Лекц 7Muuluu
 
ADDRESSING PADA TCP IP
ADDRESSING PADA TCP IPADDRESSING PADA TCP IP
ADDRESSING PADA TCP IP
Jennifer Daniel
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
AnyapuPranav
 
TCPIP SLIDES.ppt
TCPIP SLIDES.pptTCPIP SLIDES.ppt
TCPIP SLIDES.ppt
aymenshykh
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
ssuser957b41
 
Internetworking
InternetworkingInternetworking
Internetworking
Mahendhirakumar C
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 klAzhar Ali
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
BIT DURG
 
Presentation on network_protocols
Presentation on network_protocolsPresentation on network_protocols
Presentation on network_protocols
IUBAT
 
Tcp ip
Tcp ipTcp ip
Tcp ip
Dhani Ahmad
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IPPiero Fraternali
 
Web technology unit I - Part B
Web technology unit I - Part BWeb technology unit I - Part B
Web technology unit I - Part B
SSN College of Engineering, Kalavakkam
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
Waqas Ahmed Nawaz
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
Dawood Faheem Abbasi
 
Ch 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewCh 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts Review
Sam Bowne
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
Atharaw Deshmukh
 
Networking essentials lect1
Networking essentials lect1Networking essentials lect1
Networking essentials lect1
Roman Brovko
 

Similar to Tcp ip (20)

Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 
ADDRESSING PADA TCP IP
ADDRESSING PADA TCP IPADDRESSING PADA TCP IP
ADDRESSING PADA TCP IP
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
TCPIP SLIDES.ppt
TCPIP SLIDES.pptTCPIP SLIDES.ppt
TCPIP SLIDES.ppt
 
IP Routing.pptx
IP Routing.pptxIP Routing.pptx
IP Routing.pptx
 
Internetworking
InternetworkingInternetworking
Internetworking
 
Basic ip and networking ver 3 kl
Basic ip and networking ver 3 klBasic ip and networking ver 3 kl
Basic ip and networking ver 3 kl
 
Internet Protocol.pdf
Internet Protocol.pdfInternet Protocol.pdf
Internet Protocol.pdf
 
Presentation on network_protocols
Presentation on network_protocolsPresentation on network_protocols
Presentation on network_protocols
 
Tcp ip
Tcp ipTcp ip
Tcp ip
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
Web technology unit I - Part B
Web technology unit I - Part BWeb technology unit I - Part B
Web technology unit I - Part B
 
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
CCNA (R & S) Module 01 - Introduction to Networks - Chapter 9
 
TCP/IP and UDP protocols
TCP/IP and UDP protocolsTCP/IP and UDP protocols
TCP/IP and UDP protocols
 
Ch 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts ReviewCh 2: TCP/IP Concepts Review
Ch 2: TCP/IP Concepts Review
 
Protocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol SuiteProtocols and the TCP/IP Protocol Suite
Protocols and the TCP/IP Protocol Suite
 
Chapter 6 - Networking
Chapter 6 - NetworkingChapter 6 - Networking
Chapter 6 - Networking
 
Networking essentials lect1
Networking essentials lect1Networking essentials lect1
Networking essentials lect1
 
Hardware9
Hardware9Hardware9
Hardware9
 

Recently uploaded

From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
Rodney Thomas Jr
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
madeline604788
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
Isaac More
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Blog Eternal
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
Mark Murphy Director
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
Mark Murphy Director
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
Indira Srivatsa
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
Aarush Ghate
 
Are the X-Men Marvel or DC An In-Depth Exploration.pdf
Are the X-Men Marvel or DC An In-Depth Exploration.pdfAre the X-Men Marvel or DC An In-Depth Exploration.pdf
Are the X-Men Marvel or DC An In-Depth Exploration.pdf
Xtreame HDTV
 
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdfMaximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Xtreame HDTV
 
Panchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdfPanchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdf
Suleman Rana
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
Isaac More
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
greendigital
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
Zsolt Nemeth
 

Recently uploaded (14)

From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
From Slave to Scourge: The Existential Choice of Django Unchained. The Philos...
 
Christina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptxChristina's Baby Shower Game June 2024.pptx
Christina's Baby Shower Game June 2024.pptx
 
Scandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.zaScandal! Teasers June 2024 on etv Forum.co.za
Scandal! Teasers June 2024 on etv Forum.co.za
 
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog EternalMeet Crazyjamjam - A TikTok Sensation | Blog Eternal
Meet Crazyjamjam - A TikTok Sensation | Blog Eternal
 
The Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy DirectorThe Evolution of Animation in Film - Mark Murphy Director
The Evolution of Animation in Film - Mark Murphy Director
 
Reimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a SuccessReimagining Classics - What Makes a Remake a Success
Reimagining Classics - What Makes a Remake a Success
 
A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024A TO Z INDIA Monthly Magazine - JUNE 2024
A TO Z INDIA Monthly Magazine - JUNE 2024
 
This Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I MadeThis Is The First All Category Quiz That I Made
This Is The First All Category Quiz That I Made
 
Are the X-Men Marvel or DC An In-Depth Exploration.pdf
Are the X-Men Marvel or DC An In-Depth Exploration.pdfAre the X-Men Marvel or DC An In-Depth Exploration.pdf
Are the X-Men Marvel or DC An In-Depth Exploration.pdf
 
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdfMaximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
Maximizing Your Streaming Experience with XCIPTV- Tips for 2024.pdf
 
Panchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdfPanchayat Season 3 - Official Trailer.pdf
Panchayat Season 3 - Official Trailer.pdf
 
Skeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on ForumSkeem Saam in June 2024 available on Forum
Skeem Saam in June 2024 available on Forum
 
Tom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive AnalysisTom Selleck Net Worth: A Comprehensive Analysis
Tom Selleck Net Worth: A Comprehensive Analysis
 
Hollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest galleryHollywood Actress - The 250 hottest gallery
Hollywood Actress - The 250 hottest gallery
 

Tcp ip

  • 1. 1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing
  • 2. 2 Version 3.0 History of TCP/IP • The U.S. Department of Defense (DoD) created the TCP/IP reference model because it wanted a network that could survive any conditions. • The TCP/IP model has since become the standard on which the Internet is based. • In 1992 the standardization of a new generation of IP, often called IPng, was supported by the Internet Engineering Task Force (IETF). IPng is now known as IPv6.
  • 3. 3 Version 3.0 The TCP/IP model has four layers: The Application layer, Transport layer, Internet layer, and Network Access layer. TCP/IP Model
  • 4. 4 Version 3.0 Application Layer • The application layer of the TCP/IP model handles high-level protocols, issues of representation, encoding, and dialog control. • The Application layer of the TCP/IP model has protocols to support file transfer, e-mail, and remote login, and many other applications.
  • 6. 6 Version 3.0 Application Layer • File Transfer Protocol (FTP) • Trivial File Transfer Protocol (TFTP) – TFTP is a connectionless service that uses the User Datagram Protocol (UDP). • Network File System (NFS) – NFS is a distributed file system protocol suite developed by Sun Microsystems that allows file access to a remote storage device such as a hard disk across a network. • Simple Mail Transfer Protocol (SMTP) – SMTP administers the transmission of e-mail over computer networks. • Terminal emulation (Telnet) – Telnet provides the capability to remotely access another computer. • Simple Network Management Protocol (SNMP) – SNMP is a protocol that provides a way to monitor and control network devices, and to manage configurations, statistics collection, performance, and security. • Domain Name System (DNS) – DNS is a system used on the Internet for translating names of domains and their publicly advertised network nodes into IP addresses.
  • 7. 7 Version 3.0 Transport Layer • The transport layer provides transport services from the source host to the destination host. • The transport layer constitutes a logical connection between the endpoints of the network, the sending host and the receiving host. • End-to-end control is the primary duty of the transport layer when using TCP.
  • 9. 9 Version 3.0 Transport Layer Transport services include all the following services: • TCP and UDP – Segmenting upper-layer application data – Sending segments from one end device to another end device • TCP only – Establishing end-to-end operations – Flow control provided by sliding windows – Reliability provided by sequence numbers and acknowledgments
  • 10. 10 Version 3.0 Internet Layer • The purpose of the Internet layer is to select the best path through the network for packets to travel. • The main protocol that functions at this layer is the Internet Protocol (IP).
  • 11. 11 Version 3.0 Internet Layer The following protocols operate at the TCP/IP Internet layer: • IP provides connectionless, best-effort delivery routing of packets. IP is not concerned with the content of the packets but looks for a path to the destination. • Internet Control Message Protocol (ICMP) provides control and messaging capabilities. • Address Resolution Protocol (ARP) determines the data link layer address, MAC address, for known IP addresses. • Reverse Address Resolution Protocol (RARP) determines IP addresses when the MAC address is known.
  • 12. 12 Version 3.0 Network Access Layer • The network access layer is also called the host-to- network layer. • It includes the LAN and WAN technology details
  • 13. 13 Version 3.0 Comparing OSI and TCP/IP Both have application layers, though they include very different services TCP/IP combines the presentation and session layer into its application layer Combines the Data Link and Physical layer into the Network Access Layer Both have comparable transport and network layers TCP/IP appears simpler because it has fewer layers Packet-switched, not circuit- switched, technology is assumed TCP/IP transport layer using UDP does not always guarantee reliable delivery of packets as the transport layer in the OSI model does
  • 14. 14 Version 3.0 Comparing OSI and TCP/IP The OSI model is used as a guide for understanding the communication process.
  • 15. 15 Version 3.0 Addressing • Each computer in a TCP/IP network must be given a unique identifier, or IP address. – This address, operates at Layer 3 • All computers also have a unique physical address, known as a MAC address. These are assigned by the manufacturer of the network interface card. – MAC addresses operate at Layer 2 of the OSI model.
  • 16. 16 Version 3.0 IPv4 Addresses • An IP address is a 32-bit sequence of 1s and 0s • Every IP address has two parts – The network portion – The host portion • An IP address is an hierarchical address • IP addresses are divided into classes to define the large, medium, and small networks – Class A – Class B – Class C
  • 19. 19 Version 3.0 Reserved IP Addresses • Certain host addresses are reserved and cannot be assigned to devices on a network – Network address – Used to identify the network itself – Broadcast address – Used for broadcasting packets to all the devices on a network
  • 20. 20 Version 3.0 Private Addresses • With the rapid growth of the Internet, public IP addresses were beginning to run out. • Solutions to expand the number of IP addresses available for public use include: – classless interdomain routing (CIDR) – IPv6 – Private IP addresses
  • 21. 21 Version 3.0 Private Addresses • Internet requires translation of the private addresses to public addresses. • This translation process is referred to as Network Address Translation (NAT)
  • 22. 22 Version 3.0 Subnetting • To create a subnet address, a network administrator borrows bits from the host field and designates them as the subnet field • The minimum number of bits that can be borrowed is two • The maximum number of bits that can be borrowed can be any number that leaves at least two bits remaining, for the host number
  • 23. 23 Version 3.0 IPv4 and IPv6 • IPv6 uses 128 bits rather than the 32 bits • Provides 640 sextrillion addresses • IPv6 addresses are 128 bits long, written in hexadecimal form, and separated by colons. IPv6 fields are 16 bits long.
  • 24. 24 Version 3.0 Assigning IP Addresses • Network administrators use two methods to assign IP addresses. – Static • Administratively assigned – Dynamic • Automatically assigned
  • 25. 25 Version 3.0 Static IP Addresses • Static assignment works best on small, infrequently changing networks • Good recordkeeping is critical to prevent problems which occur with duplicate IP addresses • Servers should be assigned a static IP address so workstations and other devices will always know how to access needed services • Other devices that should be assigned static IP addresses are network printers, application servers, and routers
  • 26. 26 Version 3.0 RARP • Reverse Address Resolution Protocol (RARP) associates a known MAC addresses with an IP addresses • A network device, such as a diskless workstation, might know its MAC address but not its IP address. RARP allows the device to make a request to learn its IP address • Devices using RARP require that a RARP server be present on the network to answer RARP requests
  • 27. 27 Version 3.0 BOOTP • The bootstrap protocol (BOOTP) operates in a client-server environment • BOOTP packets can include the IP address, as well as the address of a router, the address of a server, and vendor- specific information • One problem with BOOTP is that it was not designed to provide dynamic address assignment. • With BOOTP, a network administrator manually creates a configuration file for every host on the network that contains a BOOTP profile along with an IP address assignment in it
  • 28. 28 Version 3.0 DHCP • Dynamic host configuration protocol (DHCP) is the successor to BOOTP • Unlike BOOTP, DHCP allows a host to obtain an IP address dynamically without the network administrator having to set up an individual profile for each device • A range of IP addresses must be set-up on a DHCP server • As hosts come online, they contact the DHCP server and request an address. The DHCP server chooses an address and leases it to that host • The major advantage that DHCP has over BOOTP is that it allows users to be mobile
  • 29. 29 Version 3.0 ARP • Address Resolution Protocol (ARP) – Automatically maps IP to unknown MAC address • For TCP/IP communications, a datagram on a local-area network must contain both a destination MAC address and a destination IP address. These addresses must be correct and match the destination MAC and IP addresses of the host device • For communications between two LAN segments TCP/IP has a variation on ARP called Proxy ARP that will provide the MAC address of an intermediate device for transmission outside the LAN to another network segment
  • 30. 30 Version 3.0 ARP •Some devices will keep tables that contain MAC addresses and IP addresses of other devices that are connected to the same LAN. •These are called Address Resolution Protocol (ARP) tables. •ARP tables are stored in RAM memory, where the cached information is maintained automatically on each of the devices