CN Exp 6

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

NAME: VIDUSHI GUPTA CLASS:CSE C ROLLNO :2100320100189

EXPERIMENT - 6 (A)
AIM:
Demonstrate class full addressing and variable length subnetting using packet
tracer

Packet Tracer – Subnet an IPv4 Network


Addressing Table
Device Interface IP Address Subnet Mask Default Gateway

CustomerRouter G0/0 192.168.0.1 255.255.255.192 N/A

CustomerRouter G0/1 192.168.0.65 255.255.255.192 N/A


CustomerRouter S0/1/0 209.165.201.2 255.255.255.252 N/A

LAN-A Switch VLAN1 192.168.0.2 255.255.255.192 192.168.0.1blank

LAN-B Switch VLAN1


192.168.0.66blank 255.255.255.192 192.168.0.65

PC-A NIC blank192.168.0.1


192.168.0.62 255.255.255.192 blank

PC-B NIC 192.168.0.126 255.255.255.192 192.168.0.65


ISPRouter G0/0 209.165.200.225 255.255.255.224 N/A N/
A
ISPRouter S0/1/0 209.165.201.1 255.255.255.252

ISPSwitch VLAN1 209.165.200.226 255.255.255.224 209.165.200.225

ISP Workstation NIC 209.165.200.235 255.255.255.224 209.165.200.225

ISP Server NIC 209.165.200.240 255.255.255.224 209.165.200.225

Objectives
Part 1: Design an IPv4 Network Subnetting Scheme
Part 2: Configure the Devices
Part 3: Test and Troubleshoot the Network

Background / Scenario
In this activity, you will subnet the Customer 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 table by filling in the missing host and
interface IP addresses, you will configure the host PCs, switches and router interfaces.
After the network devices and host PCs have been configured, you will use the ping command to test for
network connectivity.

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network
Instructions Part 1: Subnet the Assigned Network
Step 1: Create a subnetting scheme that meets the required number of subnets and
required number of host addresses.
In this scenario, you are a network technician assigned to install a new network for a customer. You must
create multiple subnets out of the 192.168.0.0/24 network address space to meet the following
requirements: a. The first subnet is the LAN-A network. You need a minimum of 50 host IP addresses.
b. The second subnet is the LAN-B network. You need a minimum of 40 host IP addresses.
c. You also need at least two additional unused subnets for future network expansion.
Note: Variable length subnet masks will not be used. All of the device subnet masks should be the same
length.
d. Answer the following questions to help create a subnetting scheme that meets the stated network
requirements:
Questions:

How many host addresses are needed in the largest required subnet?
50
What is the minimum number of subnets required?

Minimum 4 subnets are required .

Type your answers here.


The network that you are tasked to subnet is 192.168.0.0/24. What is the /24 subnet mask in binary?
11111111.11111111.11111111.00000000
Type your answers here.
e. The subnet mask is made up of two portions, the network portion, and the host portion. This is
represented in the binary by the ones and the zeros in the subnet mask.
Questions:

In the network mask, what do the ones represent?


The ones represent network portion.
In the network mask, what do the zeros represent?
The zeros represent host portion.
Type your answers here.
f. To subnet a network, bits from the host portion of the original network mask are changed into subnet bits.
The number of subnet bits defines the number of subnets.
Questions:

Given each of the possible subnet masks depicted in the following binary format, how many subnets and
how many hosts are created in each example?
Hint: Remember that the number of host bits (to the power of 2) defines the number of hosts per subnet
(minus 2), and the number of subnet bits (to the power of two) defines the number of subnets. The subnet
bits (shown in bold) are the bits that have been borrowed beyond the original network mask of /24. The /
24 is the prefix notation and corresponds to a dotted decimal mask of 255.255.255.0.
1) (/25) 11111111.11111111.11111111.10000000 Dotted
decimal subnet mask equivalent:

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network
255.255.255.128
Type your answers here.
Number of subnets? Number of hosts?
no.of subnets = 2
No. Of hosts = 2^7-2=126
Type yo

ur answers here.
2) (/26) 11111111.11111111.11111111.11000000 Dotted
decimal subnet mask equivalent:
255.255.255.192
Number of subnets? Number of hosts?
No. of subnets = 4
No. of hosts. = 2^6-2 = 62
Type your answers here.
3) (/27) 11111111.11111111.11111111.11100000 Dotted
decimal subnet mask equivalent:
255.255.255.224
Number of subnets? Number of hosts?
No. Of subnets = 8
No. Of hosts = 2^5-2=30
Type your answers here.
4) (/28) 11111111.11111111.11111111.11110000 Dotted
decimal subnet mask equivalent:
255.255.255.240
Type your answers here.
Number of subnets? Number of hosts?
No. Of subnets = 16
No. Of hosts = 2^4-2=14

Type your answers here.


5) (/29) 11111111.11111111.11111111.11111000 Dotted
decimal subnet mask equivalent:
Te. 255.255.255.248
Number of subnets? Number of hosts?
No. Of subnets = 32
No. Of hosts = 2^3-2=6

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network

Type your answers here.


6) (/30) 11111111.11111111.11111111.11111100 Dotted
decimal subnet mask equivalent:
Tr255.255.255.252here.
Number of subnets? Number of hosts?
reNo. Of subnets = 64
No. Of hosts = 2^2-2=2
.

Considering your answers above, which subnet masks meet the required number of minimum host
addresses?
/25 & /26
Considering your answers above, which subnet masks meets the minimum number of subnets
required?
/26 , /27 , /28 , /29 & /30

Considering your answers above, which subnet mask meets both the required minimum number of hosts and
the minimum number of subnets required?
/26

When you have determined which subnet mask meets all of the stated network requirements, derive
each of the subnets. List the subnets from first to last in the table. Remember that the first subnet is
192.168.0.0 with the chosen subnet mask.

Subnet Address Pre Subnet Mask Subnet ID First Host Last Host Broadcast Host Gateway
x
192.168.0.0 /26 255.255.255.192 192.168.0.0 192.168.0.1 192.168.0.62 192.168.0.63 192.168.0.1

192.168.0.64 /26 255.255.255.192 192.168.0.64 192.168.0.65 192.168.0.126 192.168.0.127 192.168.0.65

192.168.0.128 /26 255.255.255.192 192.168.0.128 192.168.0.129 192.168.0.190 192.168.0.191 192.168.0.129

192.168.0.192 /26 255.255.255.192 192.168.0.192 192.168.0.193 192.168.0.254 192.168.0.255 192.168.0.193

Step 2: Fill in the missing IP addresses in the Addressing Table


Assign IP addresses based on the following criteria: Use the ISP Network settings as an example. a.
Assign the first subnet to LAN-A.
1) Use the first host address for the CustomerRouter interface connected to LAN-A switch.
2) Use the second host address for the LAN-A switch. Make sure to assign a default gateway address
for the switch.

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 10 www.netacad.com
f
Packet Tracer – Subnet an IPv4 Network
3) Use the last host address for PC-A. Make sure to assign a default gateway address for the PC. b.
Assign the second subnet to LAN-B.
1) Use the first host address for the CustomerRouter interface connected to LAN-B switch.
2) Use the second host address for the LAN-B switch. Make sure to assign a default gateway address
for the switch.
3) Use the last host address for PC-B. Make sure to assign a default gateway address for the PC.

Part 2: Configure the Devices


Configure basic settings on the PCs, switches, and router. Refer to the Addressing Table for device names
and address information.

Step 1: Configure CustomerRouter.


a. Set the enable secret password on CustomerRouter to Class123
b. Set the console login password to Cisco123.
c. Configure CustomerRouter as the hostname for the router.
d. Configure the G0/0 and G0/1 interfaces with IP addresses and subnet masks, and then enable them.
e. Save the running configuration to the startup configuration file.

Step 2: Configure the two customer LAN switches.


Configure the IP addresses on interface VLAN 1 on the two customer LAN switches. Make sure to configure
the correct default gateway on each switch.

Step 3: Configure the PC interfaces.


Configure the IP address, subnet mask, and default gateway settings on PC-A and PC-B.

Part 3: Test and Troubleshoot the Network


In Part 3, you will use the ping command to test network connectivity.
a. Determine if PC-A can communicate with its default gateway. Do you get a reply?

yes
b. Determine if PC-B can communicate with its default gateway. Do you get a reply?
Type our an yes swe here.
c. Determine if PC-A can communicate with PC-B. Do you get a reply?
Type your ans yes we
If you answered !no” to any of the preceding questions, then you should go back and check your IP address
and subnet mask configurations, and ensure that the default gateways have been correctly configured on
PCA and PC-B.
End of Document

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network

TOPOLOGY:

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network

EXPERIMENT - 6 (B)

Packet Tracer - VLSM Design and Implementation Practice


Topology
You will receive one of three possible topologies.

Addressing Table
Device Interface IP Address Subnet Mask Default Gateway

Building1 G0/0 10.11.48.97 255.255.255.240 N/A

G0/1 10.11.48.65 255.255.255.224 N/A

S0/0/0 10.11.48.121 255.255.255.252 N/A

Building2 G0/0 10.11.48.113 255.255.255.248 N/A

G0/1 10.11.48.1 255.255.255.192 N/A

S0/0/0 10.11.48.122 255.255.255.252 N/A

ASW1 VLAN 1 10.11.48.98 255.255.255.240 10.11.48.97blank

ASW2 VLAN 1 10.11.48.66 255.255.255.224 10.11.48.65

ASW3 VLAN 1 10.11.48.114 255.255.255.248 10.11.48.113

ASW4 VLAN 1 10.11.48.2 255.255.255.192 10.11.48.1

Host-A NIC 10.11.48.110 255.255.255.240 10.11.48.97b

Host-B NIC 10.11.48.94 255.255.255.224 10.11.48.65

Host-C NIC 10.11.48.118 255.255.255.248 10.11.48.113

Host-D NIC 10.11.48.62 255.255.255.192 10.11.48.1

Objectives
Part 1: Examine the Network Requirements
Part 2: Design the VLSM Addressing Scheme
Part 3: Assign IP Addresses to Devices and Verify Connectivity

Background
In this activity, you are given a /24 network address to use to design a VLSM addressing scheme. Based on a
set of requirements, you will assign subnets and addressing, configure devices and verify connectivity.

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network
Instructions Part 1: Examine the Network Requirements
Step 1: Determine the number of subnets needed.
You will subnet the network address . The network has the following requirements:
Packet Tracer - VLSM Design and Implementation Practice

• ASW-1 LAN will require 14 host IP addresses


• ASW-2 LAN will require 30 host IP addresses
• ASW-3 LAN will require 6 host IP addresses
• ASW-4 LAN will require 60 host IP addresses
Question:

How many subnets are needed in the network topology?


5
Step 2: Determine the subnet mask information for each subnet.
Questions:

a. Which subnet mask will accommodate the number of IP addresses required for ASW-1?
255.255.255.240/28
How many usable host addresses will this subnet support?
14 (10.11.48.97 - 10.11.48.110)
b. Which subnet mask will accommodate the number of IP addresses required for ASW-2?
255.255.255.224 /27
How many usable host addresses will this subnet support?
30 (10.11.48.65 - 10.11.48.94)
c. Which subnet mask will accommodate the number of IP addresses required for ASW-3?
255.255.255.248 /29
How many usable host addresses will this subnet support?
6 (10.11.48.113 - 10.11.48.118)
d. Which subnet mask will accommodate the number of IP addresses required for ASW-4?
255.255.255.192 /26
How many usable host addresses will this subnet support?
62 (10.11.48.1 - 10.11.48.62)
e. Which subnet mask will accommodate the number of IP addresses required for the connection
between Building1 and Building2?
255.255.255.252/30

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network
Type your answers here.

Part 2: Design the VLSM Addressing Scheme


Step 1: Divide the 10.11.48.0/24 network based on the number of hosts per subnet.
a. Use the first subnet to accommodate the largest LAN.
b. Use the second subnet to accommodate the second largest LAN.
c. Use the third subnet to accommodate the third largest LAN.
d. Use the fourth subnet to accommodate the fourth largest LAN.
e. Use the fifth subnet to accommodate the connection between Building1 and Building2. .

Step 2: Document the VLSM subnets.


Complete the Subnet Table, listing the subnet descriptions (e.g. [[S1Name]] LAN), number of hosts needed,
then network address for the subnet, the first usable host address, and the broadcast address. Repeat until
all addresses are listed.
Subnet Table
Packet Tracer - VLSM Design and Implementation Practice

Number of Network
First Usable
Subnet Hosts Address/ Last Usable Host
Host Address
Description Needed CIDR Address Broadcast Address

Host-D 60 10.11.48.0/2 10.11.48.1 10.11.48.62 10.11.48.63


LAN 6
Host-BLAN 30 10.11.48.64/ 10.11.48.65 10.11.48.94 10.11.48.95blank
27
Host-A 14 10.11.48.96/ 10.11.48.97 10.11.48.110 10.11.48.111
LAN 28
Host-C 6 10.11.48.112/ 10.11.48.113 10.11.48.118 10.11.48.119
LAN 29
WAN Link 2 10.11.48.120 10.11.48.121 10.11.48.122 10.11.48.123
/30

Step 3: Document the addressing scheme.


a. Assign the first usable IP addresses to for the two LAN links and the WAN link.
b. Assign the first usable IP addresses to for the two LAN links. Assign the last usable IP address
for the WAN link.
c. Assign the second usable IP addresses to the switches.
d. Assign the last usable IP addresses to the hosts.

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 10 www.netacad.com
Packet Tracer – Subnet an IPv4 Network
Part 3: Assign IP Addresses to Devices and Verify Connectivity
Most of the IP addressing is already configured on this network. Implement the following steps to complete
the addressing configuration.

Step 1: Configure IP addressing on the Building1 router LAN interfaces

Step 2: Configure IP addressing on the ASW-3 , switch including the default gateway.

Step 3: Configure IP addressing on Host-D, including the default gateway.

Step 4: Verify connectivity.


You can only verify connectivity from Building1, ASW-3, and Host-D. However, you should be able to
ping every IP address listed in the Addressing Table.

TOPOLOGY:

© 2019 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 10 www.netacad.com

You might also like