Professional Documents
Culture Documents
• Objectives
Part 1: Identify IPv4 Addresses
• Background / Scenario
In this lab, you will examine the structure of Internet Protocol version 4 (IPv4) addresses. You will
identify the various types of IPv4 addresses and the components that help comprise the address,
such as network portion, host portion, and subnet mask. Types of addresses covered include public,
private, unicast, and multicast.
• Required Resources
• Device with Internet access
• Optional: IPv4 address calculator
In Part 1, you will be given several examples of IPv4 addresses and will complete tables with
appropriate information.
• Analyze the table shown below and identify the network portion and host
portion of the given IPv4 addresses.
The first two rows show examples of how the table should be completed.
N = all 8 bits for an octet are in the network portion of the address
n = a bit in the network portion of the address
H = all 8 bits for an octet are in the host portion of the address
h = a bit in the host portion of the address
Network/Host
• Analyze the table below and list the range of host and broadcast addresses
given a network/prefix mask pair.
The first row shows an example of how the table should be completed.
In Part 2, you will identify and classify several examples of IPv4 addresses.
• Analyze the table shown below and identify the type of address (network, host,
multicast, or broadcast address).
The first row shows an example of how the table should be completed.
IP Address Subnet Mask Address Type
• Analyze the table shown below and identify the address as public or private.
209.165.201.30/27
192.168.255.253/24
10.100.11.103/16
172.30.1.100/28
192.31.7.11/24
172.20.18.150/22
128.107.10.1/16
192.135.250.10/24
64.104.0.11/16
• Analyze the table shown below and identify whether the address/prefix pair is a
valid host address.
IP Address/Prefix Valid Host Address? Reason
127.1.0.10/24
172.16.255.0/16
241.19.10.100/24
192.168.0.254/24
192.31.7.255/24
64.102.255.255/14
224.0.0.5/16
10.0.255.255/8
198.133.219.8/24
• Objectives
• Background / Scenario
With the depletion of the Internet Protocol version 4 (IPv4) network address space and the adoption
and transition to IPv6, networking professionals must understand how both IPv4 and IPv6 networks
function. Many devices and applications already support IPv6. This includes extensive Cisco device
Internetwork Operating System (IOS) support and workstation/server operating system support, such
as that found in Windows and Linux.
This lab focuses on IPv6 addresses and the components of the address. In Part 1, you will identify
the IPv6 address types, and in Part 2, you will view the IPv6 settings on a PC. In Part 3, you will
practice IPv6 address abbreviation.
• Required Resources
• 1 PC (Windows 7 or 8 with Internet access)
• Identify the Different Types of IPv6 Addresses
In Part 1, you will review the characteristics of IPv6 addresses to identify the different types of IPv6
addresses.
An IPv6 address is 128 bits long. It is most often presented as 32 hexadecimal characters. Each
hexadecimal character is the equivalent of 4 bits (4 x 32 = 128). A non-abbreviated IPv6 host address
is shown here:
2001:0DB8:0001:0000:0000:0000:0000:0001
A hextet is the hexadecimal, IPv6 version of an IPv4 octet. An IPv4 address is 4 octets long,
separated by dots. An IPv6 address is 8 hextets long, separated by colons.
• 255.255.255.255
• FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
In an IPv4 address, each individual octet is 8 binary digits (bits). Four octets equals one 32-bit IPv4
address.
• 11111111 = 255
• 11111111.11111111.11111111.11111111 = 255.255.255.255
In an IPv6 address, each individual hextet is 16 bits long. Eight hextets equals one 128-bit IPv6
address.
• 1111111111111111 = FFFF
• 1111111111111111.1111111111111111.1111111111111111.1111111111111111.
1111111111111111.1111111111111111.1111111111111111.1111111111111111 =
FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
If we read an IPv6 address starting from the left, the first (or far left) hextet identifies the IPv6 address
type. For example, if the IPv6 address has all zeros in the far left hextet, then the address is possibly
a loopback address.
As another example, if the IPv6 address has FE80 in the first hextet, then the address is a link-local
address.
Study the chart below to help you identify the different types of IPv6 address based on the numbers in
the first hextet.
There are other IPv6 address types that are either not yet widely implemented, or have already
become deprecated, and are no longer supported. For instance, an anycast address is new to IPv6
and can be used by routers to facilitate load sharing and provide alternate path flexibility if a router
becomes unavailable. Only routers should respond to an anycast address. Alternatively, site-local
addresses have been deprecated and replaced by unique-local addresses. Site-local addresses
were identified by the numbers FEC0 in the initial hextet.
In IPv6 networks, there are no network (wire) addresses or broadcast addresses as there are in IPv4
networks.
Match the IPv6 addresses to their corresponding address type. Notice that the addresses have been
compressed to their abbreviated notation and that the slash network prefix number is not shown.
Some answer choices must be used more than once.
In Part 2, you will check the IPv6 network settings of your PC to identify your network interface IPv6
address.
• Verify that the IPv6 protocol is installed and active on your PC-A (check your Local Area
Connection settings).
• Click the Windows Start button and then Control Panel and change View by: Category to View
by: Small icons.
• On the left side of the window, click Change adapter settings. You should now see icons
representing your installed network adapters. Right-click your active network interface (it may be
a Local Area Connection or a Wireless Network Connection), and then click Properties.
• You should now see your Network Connection Properties window. Scroll through the list of items
to determine whether IPv6 is present, which indicates that it is installed, and if it is also check
marked, which indicates that it is active.
• Select the item Internet Protocol Version 6 (TCP/IPv6) and click Properties. You should see
the IPv6 settings for your network interface. Your IPv6 properties window is likely set to Obtain
an IPv6 address automatically. This does not mean that IPv6 relies on the Dynamic Host
Configuration Protocol (DHCP). Instead of using DHCP, IPv6 looks to the local router for IPv6
network information and then auto-configures its own IPv6 addresses. To manually configure
IPv6, you must provide the IPv6 address, the subnet prefix length, and the default gateway.
Note: The local router can refer host requests for IPv6 information, especially Domain Name
System (DNS) information, to a DHCPv6 server on the network.
• After you have verified that IPv6 is installed and active on your PC, you should check your IPv6
address information. To do this, click the Start button, type cmd in the Search programs and files
form box, and press Enter. This opens a Windows command prompt window.
• Type ipconfig /all and press Enter. Your output should look similar to this:
Windows IP Configuration
<output omitted>
Wireless LAN adapter Wireless Network Connection:
8.8.4.4
<output omitted>
• You can see from the output that the client PC has an IPv6 link-local address with a randomly
generated interface ID. What does it indicate about the network regarding IPv6 global unicast
address, IPv6 unique-local address, or IPv6 gateway address?
_____________________________________________________________________________
_______
• _____________________________________________________________________________
_______
• What kind of IPv6 addresses did you find when using ipconfig /all?
_____________________________________________________________________________
_______
• _____________________________________________________________________________
_______
In Part 3, you will study and review rules for IPv6 address abbreviation to correctly compress and
decompress IPv6 addresses.
Rule 1: In an IPv6 address, a string of four zeros (0s) in a hextet can be abbreviated as a single zero.
• 2001:0404:0001:1000:0000:0000:0EF0:BC00
• 2001:0404:0001:1000:0:0:0EF0:BC00 (abbreviated with single zeros)
Rule 2: In an IPv6 address, the leading zeros in each hextet can be omitted, trailing zeros cannot be
omitted.
• 2001:0404:0001:1000:0000:0000:0EF0:BC00
Rule 3: In an IPv6 address, a single continuous string of four or more zeros can be abbreviated as a
double colon (::). The double colon abbreviation can only be used one time in an IP address.
• 2001:0404:0001:1000:0000:0000:0EF0:BC00
• 2001:404:1:1000::EF0:BC00 (abbreviated with leading zeroes omitted and
continuous zeros replaced with a double colon)
Using the rules of IPv6 address abbreviation, either compress or decompress the following
addresses:
• 2002:0EC0:0200:0001:0000:04EB:44CE:08A2
• __________________________________________________________________________
______
• FE80:0000:0000:0001:0000:60BB:008E:7402
• __________________________________________________________________________
______
• FE80::7042:B3D7:3DEC:84B8
• __________________________________________________________________________
______
• FF00::
• __________________________________________________________________________
______
• 2001:0030:0001:ACAD:0000:330E:10C2:32BF
• __________________________________________________________________________
______
• Reflection
________________________________________________________________________________
_______
________________________________________________________________________________
_______
• Do you think IPv4 networks continue on, or will everyone eventually switch over to IPv6? How long do
you think it will take?
________________________________________________________________________________
_______
_________________________________________________________________________
_____
• Background / Scenario
The ability to work with IPv4 subnets and determine network and host information based on a given
IP address and subnet mask is critical to understanding how IPv4 networks operate. The first part is
designed to reinforce how to compute network IP address information from a given IP address and
subnet mask. When given an IP address and subnet mask, you will be able to determine other
information about the subnet.
• Required Resources
• 1 PC (Windows 7 or 8 with Internet access)
• Optional: IPv4 address calculator
In Part 1, you will determine the network and broadcast addresses, as well as the number of hosts,
given an IPv4 address and subnet mask.
REVIEW: To determine the network address, perform binary ANDing on the IPv4 address using the
subnet mask provided. The result will be the network address. Hint: If the subnet mask has decimal
value 255 in an octet, the result will ALWAYS be the original value of that octet. If the subnet mask
has decimal value 0 in an octet, the result will ALWAYS be 0 for that octet.
Example:
IP Address 192.168.10.10
==========
Knowing this, you may only have to perform binary ANDing on an octet that does not have 255 or 0 in
its subnet mask portion.
Example:
IP Address 172.30.239.145
Analyzing this example, you can see that you only have to perform binary ANDing on the third octet.
The first two octets will result in 172.30 due to the subnet mask. The fourth octet will result in 0 due to
the subnet mask.
IP Address 172.30.239.145
==========
Decimal Binary
239 11101111
192 11000000
=======
IP Address 172.30.239.145
Subnet Mask 255.255.192.0
==========
Continuing with this example, determining the number of hosts per network can be calculated by
analyzing the subnet mask. The subnet mask will be represented in dotted decimal format, such as
255.255.192.0, or in network prefix format, such as /18. An IPv4 address always has 32 bits.
Subtracting the number of bits used for the network portion (as represented by the subnet mask)
gives you the number of bits used for hosts.
Using our example above, the subnet mask 255.255.192.0 is equivalent to /18 in prefix notation.
Subtracting 18 network bits from 32 bits results in 14 bits left for the host portion. From there, it is a
simple calculation:
Determine the network and broadcast addresses and number of host bits and hosts for the given IPv4
addresses and prefixes in the following table.
192.168.100.25/28
172.30.10.130/30 2 2
10.1.113.75/19
198.133.219.250/24
128.107.14.191/22
172.16.104.99/27
When given an IPv4 address, the original subnet mask and the new subnet mask, you will be able to
determine:
•
he following example shows a sample problem along with the solution for solving this problem:
Given:
Find:
The original subnet mask was 255.255.0.0 or /16. The new subnet mask is 255.255.240.0 or /20. The
resulting difference is 4 bits. Because 4 bits were borrowed, we can determine that 16 subnets were
created because 24 = 16.
The new mask of 255.255.240.0 or /20 leaves 12 bits for hosts. With 12 bits left for hosts, we use the
following formula: 212 = 4,096 – 2 = 4,094 hosts per subnet.
Binary ANDing will help you determine the subnet for this problem, which results in the network
172.16.64.0.
Finally, you need to determine the first host, last host, and broadcast address for each subnet. One
method to determine the host range is to use binary math for the host portion of the address. In our
example, the last 12 bits of the address is the host portion. The first host would have all significant
bits set to zero and the least significant bit set to 1. The last host would have all significant bits set to
1 and the least significant bit set to 0. In this example, the host portion of the address resides in the
3rd and 4th octets.
Description 1st Octet 2nd Octet 3rd Octet 4th Octet Description
• Fill out the tables below with appropriate answers given the IPv4 address,
original subnet mask, and new subnet mask.
• Problem 1:
Given:
Find:
• Problem 2:
Given:
Find:
• Problem 3:
Given:
Find:
• Problem 4:
Given:
Find:
• Problem 5:
Given:
Find:
• Problem 6:
Given:
Find:
• Reflection
________________________________________________________________________________
_______
________________________________________________________________________________
_______
________________________________________________________________________________
_______
Lab – Designing and Implementing a VLSM Addressing
Scheme
• Topology
• Objectives
Part 1: Examine Network Requirements
• Background / Scenario
Variable Length Subnet Mask (VLSM) was designed to avoid wasting IP addresses. With VLSM, a
network is subnetted and then re-subnetted. This process can be repeated multiple times to create
subnets of various sizes based on the number of hosts required in each subnet. Effective use of
VLSM requires address planning.
In this lab, use the 172.16.128.0/17 network address to develop an address scheme for the network
displayed in the topology diagram. VLSM is used to meet the IPv4 addressing requirements. After you
have designed the VLSM address scheme, you will configure the interfaces on the routers with the
appropriate IP address information.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs)
with Cisco IOS Release 15.2(4)M3 (universalk9 image). Other routers and Cisco IOS versions can be
used. Depending on the model and Cisco IOS version, the commands available and output produced
might vary from what is shown in the labs. Refer to the Router Interface Summary Table at the end of
this lab for the correct interface identifiers.
Note: Make sure that the routers have been erased and have no startup configurations. If you are
unsure, contact your instructor.
• Required Resources
• 3 routers (Cisco 1941 with Cisco IOS software, Release 15.2(4)M3 universal image or
comparable)
• 1 PC (with terminal emulation program, such as Tera Term, to configure routers)
• Console cable to configure the Cisco IOS devices via the console ports
• Ethernet (optional) and serial cables, as shown in the topology
• Windows Calculator (optional)
In Part 1, you will examine the network requirements to develop a VLSM address scheme for the
network displayed in the topology diagram using the 172.16.128.0/17 network address.
Note: You can use the Windows Calculator application and the www.ipcalc.org IP subnet calculator to
help with your calculations.
What is the total number of host addresses needed in the topology diagram? ________
What is the subnet description (e.g. BR1 G0/1 LAN or BR1-HQ WAN link)? ___________________
_____________________
How many total host addresses can that subnet mask support? _________
Can you subnet the 172.16.128.0/17 network address to support this subnet? _____
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many IP addresses are required for the second largest subnet? ______
___________________
How many total host addresses can that subnet mask support? __________
Can you subnet the remaining subnet again and still support this subnet? ______
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many IP addresses are required for the next largest subnet? ______
___________________
How many total host addresses can that subnet mask support? __________
Can you subnet the remaining subnet again and still support this subnet? ______
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many IP addresses are required for the next largest subnet? ______
___________________
How many total host addresses can that subnet mask support? __________
Can you subnet the remaining subnet again and still support this subnet? ______
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many IP addresses are required for the next largest subnet? ______
___________________
How many total host addresses can that subnet mask support? __________
Can you subnet the remaining subnet again and still support this subnet? ______
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many IP addresses are required for the next largest subnet? ______
___________________
How many total host addresses can that subnet mask support? __________
Can you subnet the remaining subnet again and still support this subnet? ______
What are the two network addresses that would result from this subnetting?
_____________________
_____________________
How many host addresses are required for each serial subnet link? ______
What subnet mask can support that many host addresses?
___________________
• Continue subnetting the first subnet of each new subnet until you have four /30 subnets. Write the
first three network addresses of these /30 subnets below.
___________________
___________________
___________________
____________________________
____________________________
____________________________
Use the information that you obtained in Part 1 to fill in the following table.
HQ G0/0 16,000
HQ G0/1 8,000
BR1 G0/1 4,000
BR1 G0/0 2,000
BR2 G0/1 1,000
BR2 G0/0 500
HQ S0/0/0 – BR1 S0/0/0 2
HQ S0/0/1 – BR2 S0/0/1 2
BR1 S0/0/1 – BR2 S0/0/0 2
Assign the first host address in the subnet to the Ethernet interfaces. HQ should be given the first
host address on the Serial links to BR1 and BR2. BR1 should be given the first host address for the
serial link to BR2.
Device Interface IP Address Subnet Mask Device Interface
In Part 3, you will cable the network topology and configure the three routers using the VLSM address
scheme that you developed in Part 2.
• Disable DNS lookup to prevent the router from attempting to translate incorrectly entered
commands as though they were hostnames.
• Create a banner that will warn anyone accessing the device that unauthorized access is
prohibited.
• Assign an IP address and subnet mask to each interface using the table that you completed in
Part 2.
• Configure an interface description for each interface.
• Test Connectivity.
Note: Pings to the GigabitEthernet interfaces on other routers will not be successful. The LANs
defined for the GigabitEthernet interfaces are simulated. Because no devices are attached to these
LANs they will be in down/down state. A routing protocol needs to be in place for other devices to be
aware of those subnets. The GigabitEthernet interfaces also need to be in an up/up state before a
routing protocol can add the subnets to the routing table. These interfaces will remain in a down/down
state until a device is connected to the other end of the Ethernet interface cable. The focus of this lab
is on VLSM and configuring the interfaces.
• Reflection
Can you think of a shortcut for calculating the network addresses of consecutive /30 subnets?
________________________________________________________________________________
_______
________________________________________________________________________________
_______
________________________________________________________________________________
_______
________________________________________________________________________________
_______
• Router Interface Summary Table
Router Model Ethernet Interface #1 Ethernet Interface #2 Serial Interface #1 Serial Interface #2
1800 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
1900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
2801 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/1/0 (S0/1/0) Serial 0/1/1 (S0/1/1)
(F0/0) (F0/1)
2811 Fast Ethernet 0/0 Fast Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(F0/0) (F0/1)
2900 Gigabit Ethernet 0/0 Gigabit Ethernet 0/1 Serial 0/0/0 (S0/0/0) Serial 0/0/1 (S0/0/1)
(G0/0) (G0/1)
Note: To find out how the router is configured, look at the interfaces to identify the type of router and how many
interfaces the router has. There is no way to effectively list all the combinations of configurations for each router
class. This table includes identifiers for the possible combinations of Ethernet and Serial interfaces in the device.
The table does not include any other type of interface, even though a specific router may contain one. An
example of this might be an ISDN BRI interface. The string in parenthesis is the legal abbreviation that can be
used in Cisco IOS commands to represent the interface.