0% found this document useful (0 votes)
86 views20 pages

Lab - 1-Routers Configurations Subnetting + Assignment 5 Marks - PDF

This document outlines a networking lab assignment involving router configurations, subnetting, and dynamic routing. It provides instructions to create 8 subnets from the IP address 192.168.6.0/24 and use the first 3 subnets in a scenario. Router0 and Router1 are configured with interfaces, routing protocols, and DHCP pools to provide connectivity between PC0 and PC1. Students are assigned to create 60 subnets from 161.18.0.0/16 and configure Routers 0-2 to allow ping connectivity between PCs 0-2 across 5 subnets by the deadline.

Uploaded by

Salar Ahmed
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)
86 views20 pages

Lab - 1-Routers Configurations Subnetting + Assignment 5 Marks - PDF

This document outlines a networking lab assignment involving router configurations, subnetting, and dynamic routing. It provides instructions to create 8 subnets from the IP address 192.168.6.0/24 and use the first 3 subnets in a scenario. Router0 and Router1 are configured with interfaces, routing protocols, and DHCP pools to provide connectivity between PC0 and PC1. Students are assigned to create 60 subnets from 161.18.0.0/16 and configure Routers 0-2 to allow ping connectivity between PCs 0-2 across 5 subnets by the deadline.

Uploaded by

Salar Ahmed
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/ 20

University of Zakho

Faculty of Science
Department of Computer Science
Stage Four – Semester 7
Subject:- Networks Security - Practical
Lab #1

Routers Configurations &


Subnetting

By: Mr. Yousif B. Jameel


Sep, 2021
Outlines

✓ Problem
✓ Scenario
✓ Subnetting
✓ Configuration Steps Router0
✓ Configuration Steps Router1
✓ Configuration Steps PC0, and PC1
✓ Assignment
Problem!
• Create 8 subnets for the following IP address: 192.168.6.0/24.
1. Write down the new subnet mask.
2. Write down the number of hosts per subnet.
3. Write down the subnets ranges.
4. Use the first 3 subnets for the following scenario, and apply the
following configurations to Router0, and Router1:-
A. Message of the day (Welcome R0, R1)
B. Hostname (R0, R1)
C. Set password for enable privileges (enR0, enR1)
D. Console port (passwords R0, R1)
E. Routers Interfaces (depends on the first 3 subnets)
F. Dynamic routing among all networks
G. Router0, and Router1 will distributes IP addresses to their networks
(DHCP) with pool names (R0, R1), and make sure that PC0 can send a
ping request to PC1
Scenario

Second NW
First NW
Third NW
Answer:-
1. 192.168.6.0/24
11111111.11111111.11111111.00000000
23=8 subnets
11111111.11111111.11111111.11100000
255.255.255.224
2. Number of hosts per subnet=2h-2=25-2=30.
3. The base number is 256-224=32. And the subnets ranges
will be:-

.0 .32 .64 .96 .128 .160 .192 .224 subnets


.1 .33 .65 .97 .129 .161 .193 .225 first address
.30 .62 .94 .126 .158 .190 .222 .254 last address
.31 .63 .95 .127 .159 .191 .223 .255 broadcast address
Router0
• N //No
• Enter
• Router>en
• Router#conf t
A) Router(config)#banner motd "Welcome R0”
B) Router(config)#hostname R0
C) R0(config)#enable secret enR0
D) R0(config)#line console 0
• R0(config-line)#password R0
• R0(config-line)#login
• R0(config-line)#exit
• R0(config)#
Router0 Cont.
E) R0(config)#int f0/0
• R0(config-if)#ip add 192.168.6.1 255.255.255.224
• R0(config-if)#no shut
• R0(config-if)#exit
• R0(config)#int s2/0
• R0(config-if)#ip add 192.168.6.33
255.255.255.224
• R0(config-if)#clock rate 56000 //DCE
• R0(config-if)#no shut
• R0(config-if)#exit
Router0 Cont.
F) R0(config)#router rip
• R0(config-router)#network 192.168.6.0
• R0(config-router)#network 192.168.6.32
• R0(config-router)#exit
G) R0(config)#ip dhcp pool R0
• R0(dhcp-config)#network 192.168.6.0 255.255.255.224
• R0(dhcp-config)#default-router 192.168.6.1
• R0(dhcp-config)#exit
• R0(config)#exit
• R0#
• %SYS-5-CONFIG_I: Configured from console by console
• R0#copy run start //save in NVRAM
• Destination filename [startup-config]? Enter
• Building configuration...
• [OK]
• R0#
PC0
Router1
• N
• Enter
• Router>en
• Router#conf t
A) Router(config)#banner motd "Welcome R1”
B) Router(config)#hostname R1
C) R1(config)#enable secret enR1
D) R1(config)#line console 0
• R1(config-line)#password R1
• R1(config-line)#login
• R1(config-line)#exit
• R1(config)#
Router1 Cont.
E) R1(config)#int f0/0
• R1(config-if)#ip add 192.168.6.65
255.255.255.224
• R1(config-if)#no shut
• R1(config-if)#exit
• R1(config)#int s2/0 // DTE clock rate optional
• R1(config-if)#ip add 192.168.6.34
255.255.255.224
• R1(config-if)#no shut
• R1(config-if)#exit
Router1 Cont.
F) R1(config)#router rip
• R1(config-router)#network 192.168.6.64
• R1(config-router)#network 192.168.6.32
• R1(config-router)#exit
G) R1(config)#ip dhcp pool R1
• R1(dhcp-config)#network 192.168.6.64 255.255.255.224
• R1(dhcp-config)#default-router 192.168.6.65
• R1(dhcp-config)#exit
• R1(config)#exit
• R1#
• %SYS-5-CONFIG_I: Configured from console by console
• R1#copy run start
• Destination filename [startup-config]? Enter
• Building configuration...
• [OK]
• R1#
PC1
Scenario!
Ping PC0, PC1
Assignment
• Create 60 subnets for the following IP address: 161.18.0.0/16.
1. Write down the new subnet mask.
2. Write down the number of hosts per subnet.
3. Write down the subnets ranges.
4. Use the first 5 subnets for the following scenario, and apply the
following configurations to Router0, Router1, and Router2:-
A. Message of the day (Welcome R0, R1, R2)
B. Hostname (R0, R1, R2)
C. Set password for enable privileges (enR0, enR1, enR2)
D. Console port (passwords R0, R1, R2)
E. Routers Interfaces (depends on the first 5 subnets)
F. Dynamic routing among all networks
G. Router0, Router1, and Router2 will distributes IP addresses to their
networks (DHCP) with pool names (R0, R1, R2), and make sure that PC0
can send a ping request to PC2
Second
NW
Scenario Fourth
NW

First Fifth
Third NW NW
NW
Assignment’s Instructions

✓ Deadline: 25-9-2021 at 00:00 am.


✓ Each one of you have to create (.pkt) file and send it to the
following email: [email protected]
✓ Assignment Marks : 5
Questions?

You might also like