Netplus9e - PPT - Mod 03
Netplus9e - PPT - Mod 03
Network+ Guide
to Networks,
Ninth Edition
Module 3: Addressing
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not
be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Module Objectives
By the end of this module, you should be able to:
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Addressing Overview
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
MAC Addresses (1 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
MAC Addresses (2 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IP Addresses
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv4 Addresses (1 of 4)
• A 32-bit IPv4 address is organized into four groups of 8 bits each (known as octets)
• Each of the four octets can be any number from 0 to 255
• Some IP addresses are reserved
• Example of an IPv4 address: 72.56.105.12
• Classful addressing
• The dividing line between the network and host portions is determined by the numerical
range the IP address falls in
• Classful IPv4 addresses are divided into five classes:
• Class A, Class B, Class C, Class D, and Class E
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv4 Addresses (2 of 4)
• Class A, B, and C licensed IP addresses are available for use on the Internet
• These are called public IP addresses
• A company can use private IP addresses on its private networks
• The IANA recommends the following IP addresses be used for private networks:
• 10.0.0.0 through 10.255.255.255
• 172.16.0.0 through 172.31.255.255
• 192.168.0.0 through 192.168.255.255
• Classless addressing allows the dividing line between network and host portions to fall
anywhere along the string of binary bits in an IP address
• CIDR (Classless Interdomain Routing) notation takes the network ID or a host’s IP
address and follows it with a forward slash (/) followed by the number of bits that are used
for the network ID
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv4 Addresses (3 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv4 Addresses (4 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv6 Addresses (1 of 2)
• An IPv6 address has 128 bits written as eight blocks of hexadecimal numbers separated by
colons
• Ex: 2001:0000:0B80:0000:0000:00D3:9C5A:00CC
• Each block is 16 bits
• Leading zeros in a four-character hex block can be eliminated
• If blocks contain all zeroes, they can be written as double colons (::), only one set of
double colons is used in an IP address
• Therefore, above example can be written two ways:
• 2001::B80:0000:0000:D3:9C5A:CC
• 2001:0000:B80::D3:9C5A:CC (this is the preferred method because it contains the
fewest zeroes)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
IPv6 Addresses (2 of 2)
• IPv6 terminology:
• A link (sometimes called local link) is any LAN bounded by routers
• Neighbors are two or more nodes on the same link
• Dual stacked is when a network is configured to use both IPv4 and IPv6
• Tunneling is a method used by IPv6 to transport IPv6 packets through or over an IPv4
network
• Interface ID is the last 64 bits or four blocks of an IPv6 address that identify the interface
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Types of IPv6 Addresses (1 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Types of IPv6 Addresses (2 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Types of IPv6 Addresses (3 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Types of IPv6 Addresses (4 of 4)
• IPv6 autoconfiguration
• IPv6 addressing is designed so that a computer can autoconfigure its own link local IP
address
• This process is called SLAAC (stateless address autoconfiguration)
• Step 1 - The computer creates its IPv6 address
• It uses FE80::/64 as the first 64 bits (called prefix)
• The last 64 bits are generated from the network adapter’s MAC address
• Step 2 - The computer checks to make sure its IP address is unique on the network
• Step 3 - The computer asks if a router on the network can provide configuration information
• This message is called an RS (router solicitation) message
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Knowledge Check Activity 3-1
Which of the following IPv4 addresses is a public IP address?
a. 10.0.2.14
b. 172.16.156.254
c. 192.168.72.73
d. 64.233.177.189
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Knowledge Check Activity 3-1: Answer
Which of the following IPv4 addresses is a public IP address?
Answer: d. 64.233.177.189
IP addresses within the ranges of 10.0.0.0 through 10.255.255.255,
172.16.0.0 through 172.31.255.255, and 192.168.0.0 through
192.168.255.255 are RFC1918, or private, IP addresses. The address
64.233.177.189 is a public IP address.
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Ports and Sockets (1 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Ports and Sockets (2 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Domain Names and DNS (1 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Domain Names and DNS (2 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Namespace Databases
• Each organization that provides host services is responsible for providing and maintaining
its own DNS authoritative servers for public access
• An authoritative name server is the authority on computer names and their IP
addresses for computers in their domains
• The domains that the organization is responsible for managing are called a DNS zone
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Name Servers (1 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Name Servers (2 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Name Servers (3 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Name Servers (4 of 4)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Resource Records in a DNS Database
• Several types of records, called resource records are kept in a DNS database:
• SOA (start of authority) record – gives information about the zone
• A (address) record – stores the name-to-address mapping for a host
• AAAA (address) record – holds the name-to-address mapping, the IP address is an
IPv6 type IP address
• CNAME (canonical Name) record – holds alternative names for a host
• PTR (pointer) record – used for reverse lookups
• NS (name Server) record – indicates the authoritative name server for a domain
• MX (mail exchanger) record – identifies a mail server and is used for email traffic
• SRV (service) record – identifies the hostname and port of a computer that hosts a
specific network services besides email
• TXT (text) record – holds any type of free-form text
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
DNS Server Software
• BIND (Berkeley Internet Name Domain) is the most popular DNS server software
• Open source - the term for software whose code is publicly available for use and
modification
• Microsoft DNS Server is a built-in DNS service in the Windows Server OS
• Windows Server is capable of split-brain or split-horizon deployment, which is used to
handle internal clients and external clients
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Address Problems
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (1 of 8)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (2 of 8)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (3 of 8)
• The ipconfig command shows current TCP/IP addressing and domain name information
on a Windows computer
• Use ipconfig/all to see a more complete summary of TCP/IP addressing information
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (4 of 8)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (5 of 8)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (6 of 8)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (7 of 8)
• The nslookup (name space lookup) utility allows you to query the DNS database from any
computer on a network
• To find the host name of a device by specifying its IP address, or vice versa
• It is useful for verifying a host is configured correctly or for troubleshooting DNS
resolution problems
• Reverse DNS lookup - to find the host name of a device whose IP address you know
• nslookup 69.23.208.74
• The nslookup utility is available in two modes:
• Interactive - to test multiple DNS servers at one time
• Noninteractive - test a single DNS server
• You can change DNS servers from within interactive mode with the server subcommand and
specifying the IP address of the new DNS server
• To exit nslookup’s interactive mode, enter exit
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Troubleshooting Tools (8 of 8)
• The dig (domain information groper) utility is available on Linux and macOS
• Provides more detailed information than nslookup and uses more reliable sources of
information to output its results
• Use dig to query DNS nameservers for information about host addresses and other DNS
records
• An IP scanner can be used to gather information about all devices connected to a network
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Common Network Issues (1 of 2)
• Incorrect time
• Check a domain computer’s time source from a Command Prompt window by entering
w32tm /query /source
• DHCP Issues
• If you are getting DHCP errors or if multiple clients are having trouble connecting to the
network, try the following:
• Check the settings on your DHCP server
• Make sure the DHCP scope is large enough to account for the number of clients the
network must support
• Consider implementing a shorter lease time on larger networks
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Common Network Issues (2 of 2)
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Knowledge Check Activity 3-2
What protocol does ping use?
a. HTTP
b. ICMP
c. DHCP
d. FTP
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Knowledge Check Activity 3-2: Answer
What protocol does ping use?
Answer: b. ICMP
The protocol used by the ping echo request and echo reply is ICMP
(Internet Control Message Protocol), a lightweight protocol used to carry
error messages and information about a network.
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Summary
Now that the lesson has ended, you should be able to:
• Work with MAC addresses
• Configure TCP/IP settings on a computer, including IP address, subnet
mask, default gateway, and DNS servers
• Identify the ports of several common network protocols
• Describe domain names and the name resolution process
• Use command-line tools to troubleshoot common network problems
Jill West, CompTIA Network+ Guide to Networks, 9th Edition. © 2022 Cengage. All Rights Reserved. May not be scanned,
copied or duplicated, or posted to a publicly accessible website, in whole or in part.