0% found this document useful (0 votes)
81 views9 pages

Submitted By: Submitted To

The document contains a lab assignment on network configuration and subnetting. It includes steps to: 1) Configure time, hostname, passwords, and banners on switch S1. 2) Design a VLSM subnet scheme to divide the 172.30.4.0/22 network into five subnets to support LANs with 60, 10, 90, 100, and 100 hosts respectively. 3) The solution provides the network address, subnet mask, and number of host bits for each subnet.

Uploaded by

Samdup Lama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views9 pages

Submitted By: Submitted To

The document contains a lab assignment on network configuration and subnetting. It includes steps to: 1) Configure time, hostname, passwords, and banners on switch S1. 2) Design a VLSM subnet scheme to divide the 172.30.4.0/22 network into five subnets to support LANs with 60, 10, 90, 100, and 100 hosts respectively. 3) The solution provides the network address, subnet mask, and number of host bits for each subnet.

Uploaded by

Samdup Lama
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Programme Name: Bachelor of Computer Science (Hons.

Course Code: CSC 1612

Course Name: Data Communication & Networking

Assignment / Lab Sheet / Project / Case Study No. A2

Date of Submission: 10.08.2021

Submitted By: Submitted To:

Student Name: Tsering Samdup Lama Faculty Name: Manoj Gautam

IUKL ID: 042003900005 Department: PO (BCS)

Semester: 2nd

Intake: Sept/Oct 2020


1. In this question, write a complete command to configure small network environment as
shown below.

a) Set the correct time on the switch


Switch>enable
Switch#clock set 9:20:00 08 Aug 2021
Switch#show clock
9:22:12.880 UTC Sun Aug 8 2021

b) Assign a device name on the switch based on the topology and addressing table.
Switch>enable
Switch#configure terminal
Switch(config)#hostname S1

c) Disable DNS lookup.


Switch>enable
Switch#configure terminal
Switch(config)#no ip domain-lookup

d) Assign class as the privileged EXEC encrypted password

Switch>enable
Switch#configure terminal
Switch# enable secret class

e) Assign cisco as the console password


switch>enable
switch#configure terminal
switch(config)# line console 0
switch(config-line)# password cisco
switch(config-line)# login

f) Encrypt clear text passwords


switch(config)# service password-encryption

g) Create a MOTD (Message of the day) banner that warns anyone accessing the device
that unauthorized access is prohibited.
Switch(config)#banner motd
Switch(config)#banner motd #if you are unauthorized user of this device please exit
immediately.
Enter TEXT message. End with the character ‘#’
#

h) Create and activate an IP address on the switch based on the topology and addressing
table
Switch>enable
Switch#configure terminal
Switch(config)#int vlan1
Switch(config-if)#ip address 192.168.1.1 255.255.255.0
Switch(config-if)#no shutdown

i) Set the default gateway on the switch


Switch>enable
Switch# configure terminal
Switch(config)#ip default-gateway 192.168.1.1
j) Save the running configuration to the startup configuration
router#copy running-config startup-config

2. In this scenario, you are a network administrator for a small subdivision within a larger
company. You must create multiple subnets out of the 172.30.4.0/22 network address space
to meet the following requirements.
Subnet Number of host
Lan1 60
Lan 2 10
Lan3 90
Lan 4 100
Lan 5 100
Design a VLSM address scheme. Always start with the subnet with the largest number of
hosts and work your way down. Write down the Mask, and Network address for each LAN

Ans: We have the following network address as given


172.30.4.0/22
We need to find subnet for all the 5 Lan from the given network address so that we can assign
the required no of IP address for the hosts
Currently we have (32-22) =10 Host Bit
172.30.000001 00.00000000/22
----NB------------ -------HB-------
To find the 5 subnet we need 3 network bit
23=8 which will be enough to generate 5 address for subnet
172.30.000001 00.00000000/22
---NB=22 bits-- ----HB=10 bits--

For Subnet 5 we need to assign IP address to 100 devices so we need only 7 host bit so that IP
address will not be wasted
27 = 128(1 NA+ 1BA+ 126 UA)
So now our changed Network address look like.
172.30.00000100.0 0000000/25
-------NB=25---------- ----HB=7-----
Starting from Subnet with largest number of host ,Our Final Network address for all the subnet
will be,
172.30.00000100.0 0000000/25 =>Lan 5
=>172.30.4.0/25

172.30.00000100.1 0000000/25 => Lan 4


=>172.30.4.128/25

172.30.00000101.0 0000000/25 =>Lan 3


=>172.30.5.0/25

172.30.00000101.1 0000000/25 => Lan 1


=>172.30.5.128 /25

172.30.00000110.0 0000000/25 =>Lan 2


=>172.30.6.0 /25
--------------------
Now, For LAN 1
---------------------
172.30.5.128 /25
=>172.30.00000101.1 0000000/25
-------NB=25 bits------- ------HB=7 bits---
We need to generate 90 IP address for Lan 1, so we need 7 host bits
27 =128 (1 NA+ 1 BA+ 126 UA)
NETWORK ADDRESS
172.30.00000101.1 0000000
=>172.30.5.128
SUBNET MASK=25

NETMASK
10101100.00011110.00000101.1 0000000/25
-------------NB=25 bits---------------- ------HB=7 bits---
=>11111111.11111111.11111111.1 0000000/25
i.e: 255.255.255.128
--------------
FOR LAN 2
---------------
172.30.6.0 /25
We need only 10 IP address for 20 hosts so we will only be using 4 host bit which will generate
total of 16 IP address
24=16 which will be enough (1 NA+1 BA+ 14 UA)
So, network bit=32-4=28, our new address will look like
172.30.00000110.0000 0000/28
----------NB--------------- ---HB----

NETWORK ADDRESS
172.30.00000110.0000 0000/28
=>172.30.6.0
MASK =28
NETMASK
10101100.00011110.00000110.0000 0000/28
------------------NB=28 bits---------------- ------HB=4 bits---
=>11111111.11111111.11111111.1111 0000/28
i.e: 255.255.255.240

--------------
FOR LAN 3
---------------
172.30.6.128 /25
We need only 60 IP address so we will only be using 5 host bit which will generate total of 16 IP
address
25=64 which will be enough (1 NA+1 BA+ 62 UA)
So, network bit=32-4=28, our new address will look like
172.30.00000101.000 00000/27
----------NB--------------- ---HB----

NETWORK ADDRESS
172.30.00000101.000 00000/27
=>172.30.5.0
MASK =27

NETMASK
10101100.00011110.00000101.000 00000/27
-------------NB=27 bits---------------- ------HB=5 bits---
=>11111111.11111111.11111111.111 00000/27
i.e: 255.255.255.224
--------------
FOR LAN 4
---------------
172.30.6.128 /25
We need only 100 IP address so we will only be using 7 host bit which will generate total of 16
IP address
27=128 which will be enough (1 NA+1 BA+ 126 UA)
So, network bit=32-7=25, our new address will look like
172.30.00000110.0 0000000/25
----------NB--------------- ---HB----
NETWORK ADDRESS
172.30.00000110.0 0000000/25
=>172.30.6.128
MASK =25

NETMASK
10101100.00011110.00000110.0 0000000/25
-------------NB=25 bits---------------- ------HB=7 bits---
=>11111111.11111111.11111111.1 0000000/25
i.e: 255.255.255.128

--------------
FOR LAN 5
---------------
172.30.4.0 /25
We need only 100 IP address so we will only be using 7 host bit which will generate total of 16
IP address
27=128 which will be enough (1 NA+1 BA+ 126 UA)
So, network bit=32-7=25, our new address will look like
172.30.00000100.0 0000000/25
----------NB--------------- ---HB----

NETWORK ADDRESS
172.30.00000100.0 0000000/25
=>172.30.4.0
MASK =25

NETMASK
10101100.00011110.00000111.0 0000000/25
-------------NB=25 bits---------------- ------HB=7 bits---
=>11111111.11111111.11111111.1 0000000/25
i.e: 255.255.255.128

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy