0% found this document useful (0 votes)
17 views

Assignment 08 Lab Manual - OSPF (3)

Uploaded by

Mohammad Mushtaq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Assignment 08 Lab Manual - OSPF (3)

Uploaded by

Mohammad Mushtaq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MINT 708 – INTERNET LABORATORY – FALL 2024

MASTER OF SCIENCE - INTERNETWORKING

Module 8: OSPF
1. Introduction and Learning Outcomes

2. Lab Exercises

3. Deliverables

Assignment 8 Lab Manual


Page 1 of 6
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

1. Introduction and Learning Outcomes


1.1 Introduction
Lab will primarily focus on implementing OSPF routing, Virtual Links, Area Types, OSPF cost and metric,
and redistribution at ABR. OSPFv2 is used for IPv4 routing whereas OSPFv3 is used for IPv6 routing.

Before performing lab exercise, it is strongly recommended that following topics are studied and
understood:

● OSPF States and Neighbor relationships


● Designated Router and BDR
● OSPF Router Types: ABR, ASBR, etc.
● OSPF LSA Types
● OSPF Area Types

1.2 Learning Outcomes


a. Demonstrate how SPF algorithm determines preferred routing path.
b. Learn and apply concept of OSPF areas when designing a network.
c. Analyze OSPF States and neighbor relations.
d. Differentiate different types of OSPF areas and interpret Link State Advertisement Associate
with them.
e. Deploy and analyze OSPF networks with multiple area types.
f. Implement OSPF Virtual Links and distinguish the scenario requiring Virtual Link.

Assignment 8 Lab Manual


Page 2 of 6
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

2. Lab Exercises
2.1 Addressing Table
● For the following tasks, X = Last 2 digits of your student ID.

Network Area IPv4 Address Blocks IPv6 Address Blocks


A 0 10.0.X.0/30 2023:DB9:0:X::/126
B 1 10.1.X.0/29 2023:DB9:1:X::/125
C 1 10.1.X.128/30 2023:DB9:1:X::40/122
D 1 10.1.X.132/30 2023:DB9:1:X::80/122
E X 10.X.X.0/30 2023:DB9:X:X::/126
F 2 10.2.0.0/30 2023:DB9:2:X::/126
Loopback 1 1 1.1.1.1/32 2023:DB9:1::1/128
Loopback 2 1 2.2.2.2/32 2023:DB9:1::2/128
Loopback 3 1 3.3.3.3/32 2023:DB9:1::3/128
Loopback 4 1 4.4.4.4/32 2023:DB9:1::4/128
Loopback 5 X 5.5.5.5/32 2023:DB9:X::5/128
Loopback 6 2 6.6.6.6/32 2023:DB9:2::6/128
Loopback 20 N/A 20.20.20.20/32 2023:DB9:20::20/128

2.2 Topology

Assignment 8 Lab Manual


Page 3 of 6
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

2.3 Tasks
2.3.1 Basic Configuration

a. Configure routers’ hostname to yourccid_<RouterName>.


b. Assign the IP Address to routers’ physical interfaces and loopback interfaces (if applicable) as
per 2.1 Addressing Table.
c. Assign IP addresses and configure the default gateway on all hosts as per 2.1 Addressing Table.
d. Verify point-to-point connectivity between directly connected devices.

2.3.2 OSPF Configuration

Note: The following tasks are applicable for both OSPFv2 and OSPFv3. Hosts must not participate in OSPF
process. Using Aggregated Routes instead of routes to each subnet is subjected to point deduction.

a. Enable ipv6 unicast routing and ipv6 cef on Cisco routers.


b. Enable OSPF on all routers and define the loopback interface IP address as the router ID (e.g.
Loopback 6 for R6). Advertise all networks except Loopback 20 in R6 (Reserved for Task f).
c. Configure all loopback interfaces as the passive interface.
d. Configure the reference bandwidth for all routers with the following requirements:
i. The link cost of 1 Gbps link will be 10.
e. Configure an OSPF virtual-link between R1 and R4.
f. Configure routers in Area 2 with the following requirements:
i. It is a Not-So-Stubby Area.
ii. R6-Alcatel will learn a default route from the neighbor router.
g. Configure a static route on R4 pointing to the Loopback 20 in R6-Alcatel, and advertise this route
via redistribution with type-1 metric to other OSPF neighbors.
h. (Bonus 2 Points) Configure routers in Area X with the following requirements:
i. It is a Stub Area.
ii. R5 will learn only a default route from the neighbor router.

2.3.3 OSPFv2 Advance Configuration

a. Enable debugging on R5 and capture the neighborship disruption during this configuration.
b. Configure MD5 authentication between routers in Area X using the last 2 digits of your student
ID as Key ID and your CCID as MD5 password.
c. Configure the OSPF Hello and Dead intervals for interfaces in Area X with the following
requirements:
i. Set the Hello Interval to half of the default value, and the Dead Interval to the double of the
default value.
d. Disable debugging on R5.

Assignment 8 Lab Manual


Page 4 of 6
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

3. Deliverables
3.1 Draw a network diagram illustrating interfaces with IP addresses, VLANs and other necessary
information. Mention the EVE-NG Server IP which was used to perform this exercise. (Do not
copy/capture the network/lab topology simply from EVE-NG Server)

3.2 Issue the following commands and copy the configurations from the following devices in plain text
after completing all tasks, and put the configured text in bold. DELETE all default and not configured
configuration lines, wherever applicable.

a. Cisco Routers: show running configuration


b. Juniper Router: show configuration
c. Alcatel Router: admin display-config

3.3 Issue the following commands on all hosts and capture outputs

a. show ip int br
b. show ipv6 int br
c. show ip route
d. show ipv6 route

3.4 Issue the following commands on Cisco Routers (R1, R2, R4, R5) and capture outputs

a. show ip int br
b. show ipv6 int br
c. show ip route ospf
d. show ipv6 route ospf
e. show ip ospf neighbor
f. show ipv6 ospf neighbor

3.5 Issue the following commands on R3-Juniper Router and capture outputs

a. show interfaces terse


b. show route protocol ospf
c. show route protocol ospfv3
d. show ospf neighbor detail
e. show ospf3 neighbor detail
f. show ospf interface detail and highlight the new intervals and authentication of ge-
0/0/2.

3.6 Issue the following commands on R6-Alcatel Router and capture outputs

a. show router interface


b. show router route-table
c. show router route-table ipv6
d. show router ospf neighbor
e. show router ospf3 neighbor

Assignment 8 Lab Manual


Page 5 of 6
MINT 708 – INTERNET LABORATORY – FALL 2024
MASTER OF SCIENCE - INTERNETWORKING

3.7 Issue the following commands on R4-Cisco and capture outputs


a. show ip ospf | begin area
b. show ipv6 ospf | begin area
c. show ip ospf virtual-links

3.7 Issue the following commands on R5-Cisco and capture outputs

a. show ip ospf interface g0/2 and highlight the new intervals and authentication.

3.8 Capture outputs of debugging on R5 when you configure 2.3.3 OSPFv2 the Advanced Configuration.

3.9 Issue both IPv4 and IPv6 ping with option source from the following devices and capture outputs

a. Loopback 5 to Host A
b. Loopback 5 to Host B
c. Loopback 5 to Loopback 6
d. Loopback 5 to Loopback 20
e. Loopback 6 to Loopback 1
f. Loopback 6 to Loopback 2
g. Loopback 6 to Loopback 3
h. Loopback 6 to Loopback 4
i. Loopback 20 to Host A
j. Loopback 20 to Host B

3.10 Issue both IPv4 and IPv6 traceroute from the following devices and capture outputs

a. Host A to Host B
b. Host A to Loopback 1
c. Host A to Loopback 2
d. Host A to Loopback 3
e. Host A to Loopback 4
f. Host B to Loopback 5
g. Host B to Loopback 6
h. Host B to Loopback 20

3.11 (Bonus 3 Points) Answer the following questions briefly:

a. The differences between Stub Area and NSSA and where we should use NSSA and Stub Area.
b. The function of 2.3.2 (d).
c. The reason why we should specifically define a router ID for OSPF? If the router ID is not
defined, what will become the router ID?

Assignment 8 Lab Manual


Page 6 of 6

You might also like