Lab 8.1B: OSPF PT Activity

Summary

To configure OSPF for a small enterprise with 4 routers.

Subnet Table

Network NameNetwork AddressSubnet MaskDefault GatewayRouter acting as Gateway
Border-to-Data Center10.8.1.0255.255.255.24810.8.1.1Border
East-Router2 to Data Center10.8.1.20255.255.255.25210.8.1.21East-Router
DataCenter-to WestRouter410.8.1.32255.255.255.25210.8.1.33Data Center-Router
East10.8.20.0255.255.255.010.8.20.1East-Router
West10.8.40.0255.255.255.010.8.40.1West-Router

Steps:

  1. Give east and west pc’s valid IP addresses.
  2. Run the commands below on the specified router.

Border Router: Network 1

enable
config t
hostname Paul-Border-Router1
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.1 255.255.255.248
exit
router ospf 1
network 10.8.1.0 0.0.0.7 area 0

East Router: Network 2

enable
config t
hostname Paul-East-Router2
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.21 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.20.1 255.255.255.0
router ospf 1
network 10.8.1.20 0.0.0.3 area 0
network 10.8.20.0 0.0.0.255 area 0

Data Center: Network 3

enable
config t
hostname Paul-DataCenter-Router3
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.22 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.1.33 255.255.255.252
exit
interface GigabitEthernet 0/2
no shutdown
ip address 10.8.1.2 255.255.255.248
exit
router ospf 1
network 10.8.1.0 0.0.0.7 area 0
network 10.8.1.32 0.0.0.3 area 0
network 10.8.1.20 0.0.0.3 area 0

West Router: Network 4

enable
config t
hostname Paul-West-Router4
interface GigabitEthernet 0/0
no shutdown
ip address 10.8.1.34 255.255.255.252
exit
interface GigabitEthernet 0/1
no shutdown
ip address 10.8.40.1 255.255.255.0
exit
router ospf 1
network 10.8.1.32 0.0.0.3 area 0
network 10.8.40.0 0.0.0.255 area 0