Name: Saad Kabir Uddin Matric No: A19EC4056 Section: 08: Task 1: IP Addressing

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

Lab 3 - Routing Protocol

Name: Saad Kabir Uddin


Matric no: A19EC4056
Section: 08

Introduction

You are given a Packet Tracer file, which requires some work IP addressing and routing
protocol configuration. You must follow all the steps carefully and answer the given
questions.

Figure 1

Task 1: IP addressing
Step 1: Fill in Table 1 below with the correct information. Note: The information may be
found under the Config tab of each router (refer to Figure2).

Figure 2

HKM_11920
Table 1

Device
# Interface IP Address Subnet Mask
Name
1 Se2/0 172.16.230.5 255.255.255.252
2 RTA Se3/0 172.16.230.1 255.255.255.252
3 Fa0/0 172.16.224.255 255.255.254.0
4 Se2/0 172.16.230.2 255.255.255.252
5 RTB Fa0/0 172.16.230.9 255.255.255.252
6 Fa1/0 172.16.226.11 255.255.254.0
7 Se2/0 172.16.230.6 255.255.255.252
8 RTC Se3/0 172.16.230.13 255.255.255.252
9 Fa0/0 172.16.230.10 255.255.255.252
10 Fa1/0 172.16.228.11 255.255.255.0
10 Se2/0 172.16.230.14 255.255.255.252
RTD
11 Fa0/0 172.16.229.222 255.255.255.0

Step 2: Given the information in file, answer the following questions:

a. How many different subnets are there?


b. What is the network address of each of these subnets?(Hint: Given the IP address and
the subnet mask, you can calculate the network address using AND operation ). Label the
subnets in the topology given in Figure 1, and complete Table 2 below.

Table 2

Subnet Network Broadcast


Range of usable addresses
# Address Address
1 172.16.224.0 172.16.225.255 172.16.224.1 - 172.16.225.254
2 172.16.230.0 172.16.230.3 172.16.230.1 - 172.16.230.2
3 172.16.230.8 172.16.230.11 172.16.230.9 - 172.16.230.10
4 172.16.226.0 172.16.227.255 172.16.226.1 - 172.16.227.254
5 172.16.230.4 172.16.230.7 172.16.230.5 - 172.16.230.6
6 172.16.230.12 172.16.230.15 172.16.230.13 - 172.16.230.14
7 172.16.230.8 172.16.230.11 172.16.230.9 - 172.16.230.10
8 172.16.228.0 172.16.228.225 172.16.228.1 - 172.16.228.254
9 172.16.229.0 172.16.229.255 172.16.229.1 - 172.16.229.254

c. Provided that all PC will use the last usable address in its subnet, fill in Table 3 below
with the correct information.Table 3

Device Default
# Name IP Address Subnet Mask Gateway
1 PCA 172.16.225.254 255.255.254.0 172.16.224.255
2 PCB 172.16.227.254 255.255.254.0 172.16.226.11
3 PCC 172.16.228.254 255.255.255.0 172.16.228.11
4 PCD 172.16.229.254 255.255.255.0 172.16.229.222

HKM_11920
Step 3: Complete the IP addressing information on all the PCs in the topology. (Hint: Click on
the PC, choose the Desktop tab, then click IP Configuration).

Step 4: Open the routing table for each router. (Hint: you can use the ‘magnifying glass’ icon,
then point to a router and choose ‘Routing Table’. See Figure 3 below.)

(a)

(b)

Figure 3

Step 5: Copy the image of the routing table for each router. (Hint: You can use ‘Snipping Tool’ to
copy the image.)

HKM_11920
Step 6: Answer the questions below.

a. Do all the routers have the same information in its routing table?
Ans: No, all are not same information
b. What is the difference that can be seen?
Ans: Here we can seen, Some of them are connected to FastEthernet0/0 or FastEthernet1/0
and Serial2/0 or Serial3/0 , and some of them are only connect to one Serial2/0 and one
FastEthernet0/0.
c. Can all the PCs ping each other successfully?

HKM_11920
Table 4

Ping
Successful Unsuccessful
# between
(✓) (×)
devices
1 PCA-PCB ×
2 PCA-PCC ×
3 PCA-PCD ×
4 PCB-PCC ×
5 PCB-PCD ×
6 PCC-PCD ×

d. Reflection: what is the reason for your answer in (c)?

Task 2: Dynamic routing configuration – RIP


Dynamic routing allows the network to be more flexible to changes. It can help the routers
adapt to the changes in the pathways without much intervention from network administrators.

In this part of the lab, you will learn how to configure RIP routing protocol, and see how
changes happen in the routing tables. Routers R1 and R4 is already configured for you.

Step 1: Choose Router RTA. Click the CLI tab. Copy the following text into the command line
interface.

RTA>enable
RTA#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
RTA(config)#router rip
RTA(config-router)#version 2
RTA(config-router)#network 172.16.0.0
RTA(config-router)#no auto-summary
RTA(config-router)#exit
RTA(config)#exit
RTA#
%SYS-5-CONFIG_I: Configured from console by console
RTA#copy running-config startup-config
Destination filename [startup-config]? When asked this
Building configuration... justpress ENTER
[OK]
RTA#

Task 1.1:

(a) Copy (paste image) of the RTA routing table here.

HKM_11920
HKM_11920
Step 2: Choose Router RTB. Click the CLI tab. Copy the following text into the command line
interface.

RTB>enable
RTB#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
RTB(config)#router rip
RTB(config-router)#version 2
RTB(config-router)#network 172.16.0.0
RTB(config-router)#no auto-summary
RTB(config-router)#exit
RTB(config)#exit
RTB#
%SYS-5-CONFIG_I: Configured from console by console
RTB#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RTB#

Task 2.1:

(a) Copy (paste image) of the RTB routing table and a new look into RTA routing table
here.

HKM_11920
(b) Reflection: what difference do you see between routing tables of RTA andRTB?
Ans: Here I am seen, new IP addresses in network column with next Hop IP addresses
and metric have been added.

Step 3: Copy the same configuration instructions to RTC and RTD

Step 4: Answer the questions below.

a. Do all the routers have the same information in its routing table?
Ans: NO, all are not same information.
b. Write down what RTC and RTD routing table information (Next Hop IP, Metric) to the network
172.16.224.0/24.
Ans: RTC : 172.16.230.5 , 120/1
RTD : 172.16.230.13 , 120/2

c. What is the difference that can be seen? Why is this?

Ans: Here, Both routers can route towards network 172.16.224.0/24 . But the routers have
different next hop IP addresses because they follow different ways.

d. Can all the PCs ping each other successfully?

Table 5

# Ping Successful Unsuccessful


between (✓) (×)
devices
1 PCA-PCB ✓
2 PCA-PCC ✓
3 PCA-PCD ✓
4 PCB-PCC ✓
5 PCB-PCD ✓
6 PCC-PCD ✓
e. Reflection: what is the reason for your answer in (d)?
Ans: The routing protocol was changed when configured to routing information protocol. It
means that the routers were configured to know their neighbors.

HKM_11920
Step 5: Switch off router RTA. What are the changes noted in the routing tables?

Ans: IP addresses connected to RTA disappeared.

Step 6: Switch on router RTA. What are the changes noted in the routing tables?

Ans: The IP addresses connected to RTA reappeared now.

Step 7: Reflection: What have you learned in this task?

Ans: In this task I learned how to configure a router using routing information protocol.

Task 3: Dynamic routing configuration – OSPF


Make sure that you have all the routing tables on display on one side (as before). As you go
through the steps, look at the changes happening in the routing tables.

Step 1: On all the routers, do the following.

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no router rip
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console byconsole
Router#copy running-config startup-config
Destination filename [startup-config]?

Step 2: Copy the image of the routing table for each router.

HKM_11920
Step 3: For Router RTA, Click the CLI tab. Copy the following text into the command line
interface.

RTA# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
RTA(config)#router ospf 1
RTA(config-router)#network 172.16.224.0 0.0.1.255 area 0
RTA(config-router)#network 172.16.230.0 0.0.0.3 area 0
RTA(config-router)#network 172.16.230.4 0.0.0.3 area 0
RTA(config-router)#end
RTA# copy running-config startup-config
Destination filename [startup-config]?
%SYS-5-CONFIG_I: Configured from console by console

Building configuration...
[OK]
RTA#

HKM_11920
Task 3.1: paste the image of RTA’s routing table here.

Task 3.2:

a. Does RTA have a path to ALL the different subnet?


Ans: NO
b. Try pinging the different PCs and jot down your results.

HKM_11920
Table 6

# Ping Successful Unsuccessful


between (✓) (×)
devices
1 PCA-PCB ×
2 PCA-PCC ×
3 PCA-PCD ×

Step 4: Configure the other routers with OSPF routing algorithm.

Step 4.1: For Router RTB, Click the CLI tab. Copy the following text into the commandline
interface.

RTB# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
RTB(config)#router ospf 1
RTB(config-router)#network 172.16.226.0 0.0.1.255 area 0
RTB(config-router)#network 172.16.230.0 0.0.0.3 area 0
RTB(config-router)#network 172.16.230.8 0.0.0.3 area 0
RTB(config-router)#end
RTB# copy running-config startup-config
Destination filename [startup-config]?
%SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
RTB#

Step 4.2: For Router RTC, Click the CLI tab. Copy the following text into the command line
interface.

RTC# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
RTC(config)#router ospf 1
RTC(config-router)#network 172.16.228.0 0.0.0.255 area 0
RTC(config-router)#network 172.16.230.4 0.0.0.3 area 0
RTC(config-router)#network 172.16.230.8 0.0.0.3 area 0
RTC(config-router)#network 172.16.230.12 0.0.0.3 area 0
RTC(config-router)#end
RTC# copy running-config startup-config
Destination filename [startup-config]?
%SYS-5-CONFIG_I: Configured from console by console
Building configuration...
[OK]
RTC#

HKM_11920
Step 4.3: For Router RTD, Click the CLI tab. Copy the following text into the command line
interface.

RTD# configure terminal


Enter configuration commands, one per line. End with CNTL/Z.
RTD(config)#
RTD(config)#router ospf 1
RTD(config-router)#network 172.16.229.0 0.0.0.255 area 0
RTD(config-router)#network 172.16.230.12 0.0.0.3 area 0
RTD(config-router)#end
RTD# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
RTD#
%SYS-5-CONFIG_I: Configured from console byconsole
RTD#

Step 5: Copy the image of the routing table for each router and paste it here.

HKM_11920
Step 6: Switch off router RTA. What are the changes noted in the routing tables?
Ans: Here,Most of the router configuration disappeared from routers RTB,RTC,RTD

Step 7: Switch on router RTA. Wait a few minutes. What are the changes noted in the
routing tables?
Ans: The routing table came to the state before switching of RTA.

Step 8: Reflection: What have you learned in this task?

Ans:In this task, I learned how to configure router using Open Shortest Path First.

END

HKM_11920

You might also like