Lab 2 - VLSM
Lab 2 - VLSM
Topology
Objectives
Part 1: Design a Network Subnetting Scheme
Create a subnetting scheme that meets the required number of subnets and host addresses.
Complete the diagram, showing where the host IP addresses will be applied.
Part 2: Configure the Devices
Assign an IP address, subnet mask, and default gateway to the PCs.
Configure the router Gigabit Ethernet interfaces with an IP address and subnet mask.
Create two loopback interfaces on the router, and configure each with an IP address and subnet mask.
Part 3: Test and Troubleshoot the Network
Verify and troubleshoot network connectivity using ping.
Background / Scenario
In this lab, starting from a single network address and network mask, you will subnet the network into multiple
subnets. The subnet scheme should be based on the number of host computers required in each subnet, as
well as other network considerations, like future network host expansion.
After you have created a subnetting scheme and completed the network diagram by filling in the host and
interface IP addresses, you will configure the host PCs and router interfaces, including loopback interfaces.
The loopback interfaces are created to simulate additional LANs attached to router R1.
After the network devices and host PCs have been configured, you will use the ping command to test for
network connectivity.
This lab provides minimal assistance with the actual commands necessary to configure the router. However,
the required commands are provided in Appendix A. Test your knowledge by trying to configure the devices
without referring to the appendix.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 1 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
Required Resources
1 Router
1 Switch
2 PCs
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
(/26) 11111111.11111111.11111111.11000000
Dotted decimal subnet mask equivalent: ________________________________
Number of subnets? ________________, Number of hosts? ________________
(/27) 11111111.11111111.11111111.11100000
Dotted decimal subnet mask equivalent: ________________________________
Number of subnets? ________________ Number of hosts? ________________
(/28) 11111111.11111111.11111111.11110000
Dotted decimal subnet mask equivalent: ________________________________
Number of subnets? ________________ Number of hosts? _________________
(/29) 11111111.11111111.11111111.11111000
Dotted decimal subnet mask equivalent: ________________________________
Number of subnets? ________________ Number of hosts? _________________
(/30) 11111111.11111111.11111111.11111100
Dotted decimal subnet mask equivalent: ________________________________
Number of subnets? ________________ Number of hosts? _________________
5) [One mark] Considering your answers, which subnet masks meet the required number of minimum
host addresses?
________________________________________________________________________________
6) [One mark] Considering your answers, which subnet masks meets the minimum number of subnets
required?
________________________________________________________________________________
7) [One mark] Considering your answers, which subnet mask meets both the required minimum
number of hosts and the minimum number of subnets required?
________________________________________________________________________________
8) [One mark] When you have determined which subnet mask meets all of the stated network
requirements, you will derive each of the subnets starting from the original network address. List the
subnets from first to last below. Remember that the first subnet is 192.168.0.0 with the newly
acquired subnet mask.
Subnet Address / Prefix Subnet Mask (dotted decimal)
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
___________________ / ____ __________________________
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 3 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
Step 2: [Six marks] Complete the addressing table and diagram showing where the host IP
addresses will be applied.
Addressing Table
Device Interface IP Address Subnet Mask Default Gateway
R1 G0/0 N/A
G0/1 N/A
Lo0 N/A
Lo1 N/A
S1 VLAN 1 N/A N/A N/A
PC-A NIC
PC-B NIC
On the following lines provided, fill in the IP addresses and subnets masks in slash prefix notation. On the
router, use the first usable address in each subnet for each of the interfaces, Gigabit Ethernet 0/0, Gigabit
Ethernet 0/1, loopback 0, and loopback 1. Fill in an IP address for both PC-A and PC-B. Also enter this
information into the Addressing Table on Page 1.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 4 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
Step 1: Configure the router. (Check the Appendix for all the necessary commands)
a. Enter into privileged EXEC mode and then global config mode.
Router>enable
Router#config terminal
Router(config)#
b. Assign the R1 as the hostname for the router.
c. Configure both the G0/0 and G0/1 interfaces with IP addresses and subnet masks, and then enable them.
d. Loopback interfaces are created to simulate additional LANs on R1 router. Configure the loopback
interfaces with IP addresses and subnet masks. After they are created, loopback interfaces are enabled,
by default. (To create the loopback addresses, enter the command interface loopback 0 at the global
config mode)
Note: You can create additional loopbacks for testing with different addressing schemes, if desired.
e. Save the running configuration to the startup configuration file.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 5 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
e. If you verify that all the settings are correct, and you can still not ping successfully, then there are a few
additional factors that can block ICMP pings. On PC-A and PC-B within Windows, make sure that the
Windows Firewall is turned off for the Work, Home, and public networks.
f. [One mark] Experiment by purposely misconfiguring the gateway address on PC-A to 10.0.0.1. What
happens when you try and ping from PC-B to PC-A? Do you receive a reply?
____________________________________________________________________________________
____________________________________________________________________________________
Reflection
1. [One mark] Subnetting one larger network into multiple smaller subnetworks allows for greater flexibility and
security in network design. However, what do you think some of the drawbacks are when the subnets are
limited to being the same size?
_______________________________________________________________________________________
_______________________________________________________________________________________
2. [One mark] Why do you think the gateway/router IP address is usually the first usable IP address in the
network?
_______________________________________________________________________________________
_______________________________________________________________________________________
d. Configure both the G0/0 and G0/1 interfaces with IP addresses and subnet masks, and enable them.
R1(config)# interface g0/0
R1(config-if)# ip address <ip address> <subnet mask>
R1(config-if)# no shutdown
R1(config-if)# interface g0/1
R1(config-if)# ip address <ip address> <subnet mask>
R1(config-if)# no shutdown
e. Loopback interfaces are created to simulate additional LANs off of router R1. Configure the loopback
interfaces with IP addresses and subnet masks. When they are created, loopback interfaces are enabled,
by default.
R1(config)# interface loopback 0
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 6 of 7
Lab - Designing and Implementing a Subnetted IPv4 Addressing Scheme
b. Configure the IP address, subnet mask, and default gateway settings on PC-B.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 7 of 7