Skip to content

Simulating an enterprise network with two OSPF domains (OSPF 1 and OSPF 2), interconnected via an ABR (Area Border Router). NAT is configured on R5 to enable internal devices to access external networks. Ideal for CCNP/CCIE-level routing and NAT practice.

Notifications You must be signed in to change notification settings

everleepham/ospf_multiarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

GNS3 Lab: OSPF Multi-Area + NAT

Objective

Simulate an enterprise network with two separate OSPF domains connected via a central router (R3). One side of the network uses NAT on R5 to provide external (internet-like) access to devices within the OSPF domain.


Network Topology

topology


Network Structure

OSPF 1 (Process ID 1)

  • Area 0: R1 ↔ R2 ↔ R3 ↔ R4
  • Area 1: R1 loopbacks (192.168.1.0/24)
  • Area 2: R3 loopbacks (192.168.1.3, .1.4)

OSPF 2 (Process ID 2)

  • Area 0: R3 ↔ R5
  • R6 simulates an external network or "internet"

Routing

  • R1–R4 run OSPF 1 in a multi-area configuration
  • R3 acts as an ABR between Area 0 and Area 2
  • R3 and R5 run a separate OSPF 2 process
  • Redistribution or static routing may be required to share routes between OSPF 1 & 2

NAT on R5

  • Goal: Allow internal devices (e.g. R1) to ping external device R6
  • R5 performs NAT (PAT style)
  • Uses NAT overload via external interface

Sample NAT config on R5:

! Access list to define internal traffic
access-list 1 permit 192.168.10.0 0.0.0.255

! NAT overload config
ip nat inside source list 1 interface g1/0 overload

! Interface roles
interface g2/0
 ip nat inside
!
interface g1/0
 ip nat outside

About

Simulating an enterprise network with two OSPF domains (OSPF 1 and OSPF 2), interconnected via an ABR (Area Border Router). NAT is configured on R5 to enable internal devices to access external networks. Ideal for CCNP/CCIE-level routing and NAT practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published