Lab 08B ‐ OSPF PT Activity - Isaiah-River/NET-330-01-Network-Design GitHub Wiki

Navigation

Overview

In this lab, I worked in Packet Tracer to configure OSPF for a small enterprise with 4 routers.

Objectives

  • Configure routers and end points using an IP table
  • Configuring OSPF on routers

Completing the Lab

Hardware

  • 2x PC-PTs
  • 2x 2960-24TT switches
  • 4x 2911 routers
  • 4x Copper straight-through cables
  • 3x Copper cross-over cables

Part 01 - Filling out an IP table

To start this lab I began by filling out the provided IP table template.

Network Name Network Address Subnet Mask Default Gateway Router Acting as Gateway
Border-to-DataCenter-Router3 10.1.10.0 255.255.255.248 10.1.10.1 Border-Router1
East-Router2-to-DataCenter-Router3 10.1.1.20 255.255.255.252 10.1.1.21 East-Router2
DataCenter-to-West-Router4 10.1.1.32 255.255.255.252 10.1.1.33 DataCenterRouter3
East 10.1.20.0 255.255.255.0 10.1.20.1 East-Router2
West 10.1.40.0 255.255.255.0 10.1.40.1 West-Router4

Part 02 - Configuring Routers

I then moved on to configuring each of my networks. I did this by running the following commands on the corresponding routers, changing both their IP addresses on their interfaces, as well as their hostnames:

Border-Router1:

enable
conf t
hostname Isaiah-Border-Router1
interface GigabitEthernet0/0
ip address 10.1.1.1 255.255.255.248
no shutdown
exit
exit
copy run start 

DataCenter-Router3:

enable
conf t
hostname Isaiah-DataCenter-Router3
interface GigabitEthernet0/0
ip address 10.1.1.22 255.255.255.252
no shutdown
interface GigabitEthernet0/1
ip address 10.1.1.33 255.255.255.252
no shutdown
interface GigabitEthernet0/2
ip address 10.1.1.2 255.255.255.248
no shutdown
exit
exit 
copy run start

East-Router2:

enable
conf t
hostname Isaiah-East-Router2
interface GigabitEthernet0/0
ip address 10.1.1.21 255.255.255.252
no shutdown
interface GigabitEthernet0/1
ip address 10.1.20.1 255.255.255.0
no shutdown
exit
exit
copy run start

West-Router4:

enable
conf t
hostname Isaiah-west-Router4
interface GigabitEthernet0/0
ip address 10.1.1.34 255.255.255.252
no shutdown
interface GigabitEthernet0/1
ip address 10.1.40.1 255.255.255.0
no shutdown
exit
exit
copy run start

This concluded my basic configuration for the routers.

Part 03 - Configuring end devices

With my routers configured, I moved on and configured the end devices. I started by giving East-PC an IP address of 10.1.20.2, a subnet mask of 255.255.255.0 and a default gateway of 10.1.20.1.

image

I then gave West-PC an IP address of 10.1.40.2, a subnet mask of 255.255.255.0 and a default gateway of 10.1.40.1.

image

Part 04 - Configure OSPF on routers

At this point I was ready to configure OSPF on my routers. I did this by running the following commands on the corresponding routers:

Border-Router1:

enable
conf t
# Create an OSPF instance with an ID of 1
router ospf 1
# Advertise all the directly connected networks
network 10.1.1.0 0.0.0.7 area 0
exit
exit
copy run start

DataCenter-Router3

enable
conf t
# Create an OSPF instance with an ID of 1
router ospf 1
# Advertise all the directly connected networks
network 10.1.1.0 0.0.0.7 area 0
network 10.1.1.20 0.0.0.3 area 0
network 10.1.1.32 0.0.0.3 area 0
exit
exit
copy run start

East-Router2

enable
conf t
# Create an OSPF instance with an ID of 1
router ospf 1
# Advertise all the directly connected networks
network 10.1.1.20 0.0.0.3 area 0
network 10.1.20.0 0.0.0.255 area 0
exit
exit
copy run start

West-Router4

enable
conf t
# Create an OSPF instance with an ID of 1
router ospf 1
# Advertise all the directly connected networks
network 10.1.1.32 0.0.0.3 area 0
network 10.1.40.0 0.0.0.255 area 0
exit
exit
copy run start

Deliverables

My submission can be found at this link here. My packet tracer file can be found at this link here.

Deliverable 01 - Submit a screenshot of a successful ping from East to West PC

This screenshot shows a successful ping from the East PC to the West PC after setting up my devices and configuring OSPF.

image

Deliverable 02 - Output of "sh ip route" on Data Center Router

This screenshot shows me running the “sh ip route” command on DataCenter-Router3 to display the routing table for all the configured networks.

image

Deliverable 03 - Output of "sh ip route" on East Router

This screenshot shows me running the “sh ip route” command on East-Router2 to display the routing table for the configured networks.

image

Deliverable 04 - Output of "sh ip route" on West Router

This screenshot shows me running the “sh ip route” command on West-Router4 to display the routing table for the configured networks.

image