Professional Documents
Culture Documents
Network+ Guide To Networks 5 Edition: Introduction To TCP/IP Protocols
Network+ Guide To Networks 5 Edition: Introduction To TCP/IP Protocols
5th Edition
Chapter 4
Introduction to TCP/IP Protocols
Objectives
Identify and explain the functions of the core
TCP/IP protocols
Explain how the TCP/IP protocols correlate to
layers of the OSI model
Discuss addressing schemes for TCP/IP in IPv4
and IPv6 protocols
Objectives (contd.)
Describe the purpose and implementation of
DNS (Domain Name System) and DHCP
(Dynamic Host Configuration Protocol)
Identify the well-known ports for key TCP/IP
services
Describe common Application layer TCP/IP
protocols
Characteristics of TCP/IP
(Transmission Control Protocol/
Internet Protocol)
Protocol Suite
IP or TCP/IP
Subprotocols
TCP, IP, UDP, ARP
Low cost
Communicates between dissimilar platforms
Open nature
Routable
Spans more than one LAN (LAN segment)
Flexible
Runs on combinations of network operating systems or
network media
Disadvantage: requires more configuration
Network+ Guide to Networks, 5th Edition
TCP (contd.)
TCP (contd.)
TCP (contd.)
Three segments establish connection
Computer A issues message to Computer B
Sends segment
SYN field: Random synchronize sequence number
10
TCP (contd.)
Computer A responds
Sends segment
ACK field: sequence number Computer B sent plus 1
SYN field: Computer B random number
11
12
Lacks sophistication
More efficient than TCP
Useful situations
Great volume of data transferred quickly
Network+ Guide to Networks, 5th Edition
13
UDP (contd.)
14
IP (Internet Protocol)
Network layer protocol
How and where data delivered, including:
Datas source and destination addresses
15
IP (contd.)
Unreliable, connectionless protocol
No guaranteed data delivery
Reliability component
Header checksum
Verifies routing information integrity in IP header
16
IP (contd.)
17
IP (contd.)
18
19
Point-to-multipoint method
Uses
Internet teleconferencing, videoconferencing, routers,
network nodes
20
Increases efficiency
21
ARP (contd.)
Two entry types
Dynamic
Created when client makes ARP request that cannot be
satisfied by data in ARP table
Static
Entries entered manually using ARP utility
ARP utility
Accessed via the arp command
Windows command prompt, UNIX, or Linux shell prompt
22
ARP (contd.)
23
Solution: RARP
Client sends broadcast message with MAC address
Receives IP address in reply
24
IPv4 Addressing
Networks recognize two addresses
Logical (Network layer)
Physical (MAC, hardware) addresses
Example: 144.92.43.178
Network+ Guide to Networks, 5th Edition
25
IP address information
Network Class determined by first octet
Class A, Class B, Class C
26
27
Class B devices
Share same first two octet (bits 0-15)
Host: second through fourth octets (bits 16-31)
Class C devices
Share same first three octet (bits 0-23)
Host: second through fourth octets (bits 24-31)
Network+ Guide to Networks, 5th Edition
28
29
Loopback test
Attempting to connect to own machine
Powerful troubleshooting tool
Unix, Linux
ifconfig command
Network+ Guide to Networks, 5th Edition
30
31
32
33
Subnet Mask
Identifies every device on TCP/IP-based network
32-bit number (net mask)
Identifies devices subnet
Combines with device IP address
Informs network about segment, network where device
attached
34
Subnetting
Subdividing network single class into multiple, smaller
logical networks (segments)
Control network traffic
Make best use of limited number of IP addresses
Subnet mask varies depending on subnetting
35
Assigning IP Addresses
Government-sponsored organizations
Dole out IP addresses
IANA, ICANN, RIRs
Companies, individuals
Obtain IP addresses from ISPs
36
Automatic IP addressing
BOOTP and DHCP
Reduce duplication error
37
Dynamic IP address
Assigned to device upon request
Changeable
38
BOOTP (contd.)
BOOTP process
Client connects to network
Sends broadcast message asking for IP address
Includes clients NIC MAC address
Clients IP address
Server IP address
Server host name
Default router IP address
39
BOOTP (contd.)
Process resembles RARP
Difference
RARP requests, responses not routable
RARP only capable of issuing IP address to client
BOOTP may issue additional information (clients
subnet mask)
40
41
Lease time
Determine when client obtains IP address at log on
User may force lease termination
42
43
44
45
APIPA (contd.)
APIPA
Assigns computers network adapter IP address from
the pool
Assigns subnet default Class B network
255.255.0.0
Disadvantage
Computer only communicates with other nodes using
addresses in APIPA range
Network+ Guide to Networks, 5th Edition
46
APIPA (contd.)
APIPA suitable use
Small networks: no DHCP servers
47
Quick Quiz #1
48
IPv6 Addressing
IP next generation (IPng)
Replacing IPv4 (gradually)
IPv6 support
Most new applications, servers, network devices
Delay in implementation
Cost of upgrading infrastructure
IPv6 advantages
More efficient header, better security, better
prioritization provisions, automatic IP address
configuration
Billions of additional IP addresses
Network+ Guide to Networks, 5th Edition
49
Representation
IPv4: binary numbers separated by period
IPv6: hexadecimal numbers separated by colon
IPv6 shorthand: :: any number of multiple, zero-value
fields
Network+ Guide to Networks, 5th Edition
50
Scope
IPv6 addresses can reflect scope of transmissions
recipients
Unicast address represents single device interface
Multicast address represents multiple interfaces (often
on multiple devices)
Network+ Guide to Networks, 5th Edition
51
52
Port numbers
Simplify TCP/IP communications
Ensures data transmitted correctly
Example
Telnet port number: 23
IPv4 host address: 10.43.3.87
Socket address: 10.43.3.87:23
Network+ Guide to Networks, 5th Edition
53
54
Registered Ports
Range: 1024 to 49151
Network users, processes with no special privileges
55
56
57
Host
Internet device
Host name
Name describing device
Network+ Guide to Networks, 5th Edition
58
Domain Names
Domain
Group of computers belonging to same organization
Share common part of IP address
Domain name
Identifies domain (loc.gov)
Associated with company, university, government
organization
59
Example: www.google.com
Top-level domain (TLD): com
Second-level domain: google
Third-level domain: www
Second-level domain
May contain multiple third-level domains
60
61
62
Host Files
ARPAnet used HOSTS.TXT file
Associated host names with IP addresses
Host matched by one line
Identifies hosts name, IP address
Alias provides nickname
UNIX-/Linux-based computer
Host file called hosts, located in the /etc directory
63
64
DNS redundancy
Many computers across globe related in hierarchical
manner
Root servers
13 computers (ultimate authorities)
Network+ Guide to Networks, 5th Edition
65
66
DNS (contd.)
Three components
Resolvers
Any hosts on Internet needing to look up domain name
information
Namespace
Abstract database of Internet IP addresses, associated
names
Describes how name servers of the world share DNS
information
Network+ Guide to Networks, 5th Edition
67
DNS (contd.)
Resource record
Describes one piece of DNS database information
Many different types
Dependent on function
Contents
Name field
Type field
Class field
Time to Live field
Data length field
Actual data
68
Configuring DNS
Large organizations
Often maintain two name servers
Primary and secondary
69
70
71
Process
Service provider runs program on users computer
Notifies service provider when IP address changes
72
73
HTTP
Application layer protocol central to using Web
74
Telnet
Terminal emulation protocol
Log on to remote hosts
Using TCP/IP protocol suite
75
FTP commands
Operating systems command prompt
No special client software required
76
FTP (contd.)
Graphical FTP clients
MacFTP, WS_FTP, CuteFTP, SmartFTP
Rendered command-line method less common
SFTP
More secure
77
78
79
Similar to e-mail
Provides means of conveying messages
80
81
PING (contd.)
82
Quick Quiz # 2
83
Summary
TCP/IP suite
Core protocol and subprotocol introduction
IPv4 addressing
Binary and dotted decimal notation
Subnetting
84