Skip to content

HSRP-Based Dual-Path Edge Redundancy and Segmented Access A complete Cisco Packet Tracer lab demonstrating HSRP gateway redundancy, Inter-VLAN routing, PAT/NAT configuration, and wireless client connectivity. Ensures high availability, secure VLAN segmentation, and resilient edge design using dual routers and Layer 3 switching.

Notifications You must be signed in to change notification settings

asmymhm/hsrp-dual-path-redundancy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧱 HSRP-Based Dual-Path Edge Redundancy and Segmented Access

Cisco Packet Tracer HSRP Network Design Layer 3 Switching Status


πŸ“‘ Table of Contents

  1. πŸ“˜ Project Overview
  2. 🎯 Project Objective
  3. 🌐 Network Topology
  4. πŸ–§ Device Interface Table
  5. πŸ“ IP Addressing Table
  6. πŸ”§ Lab Steps
  7. πŸ’» Device Configuration
  8. βœ… Verification Commands
  9. ⚑ How to Run Lab
  10. πŸ“‚ Folder Structure
  11. 🧱 Lab Limitations
  12. πŸŽ“ Learning Outcomes
  13. πŸ’‘ Repository Info

πŸ“˜ Project Overview

This lab demonstrates a redundant, segmented enterprise network integrating HSRP (Hot Standby Router Protocol), Layer 3 switching, and NAT-enabled Internet access.

The design ensures:

  • High availability via dual routers using HSRP
  • Secure VLAN segmentation
  • Reliable Internet access through PAT
  • Wireless connectivity for multiple clients

🎯 Project Objective

The key goals of this project:

  1. Configure Inter-VLAN routing on SW-1 (L3 switch).
  2. Deploy HSRP between R1 (Active) and R2 (Standby) for gateway redundancy.
  3. Set up PAT (Port Address Translation) for Internet access.
  4. Segment LAN with VLANs for Data, Voice, and Management.
  5. Validate wireless client connectivity via DHCP and ping to 8.8.8.8.

🌐 Network Topology

πŸ“Έ Network Topology Diagram
/topology/topology_overview_drawio.png

NETWORK TOPOLOGY

A simplified overview of the design:

  • Edge Routers: R1 (Active) and R2 (Standby) connected to ISPs
  • Core Layer: SW-1 providing Inter-VLAN routing
  • Access Layer: SW-2 and Wireless Routers/APs for clients
  • Clients: 15 wireless laptops (VLAN 10)

πŸ–§ Device Interface Table

Device Interface Connection Description
R1 G0/0/0 ISP-R1 NAT Outside
R1 G0/0/1 SW-1 F0/5 HSRP/NAT Inside (VLAN 99)
R2 G0/0/0 ISP-R2 NAT Outside
R2 G0/0/1 SW-1 F0/6 HSRP/NAT Inside (VLAN 99)
SW-1 G0/1 SW-2 G0/1 802.1Q Trunk
SW-1 VLAN 10 SVI Data Gateway (192.168.10.1)
SW-1 VLAN 99 SVI Management Gateway (192.168.99.1)

πŸ“ IP Addressing Table

Network / Component Subnet / Address Gateway / Purpose
Data Network 192.168.10.0 /24 SW-1 VLAN 10 (192.168.10.1)
Voice Network 192.168.20.0 /24 SW-1 VLAN 20 (192.168.20.1)
Management Network 192.168.99.0 /24 SW-1 VLAN 99 (192.168.99.1)
HSRP Virtual IP 192.168.99.254 Default Gateway for LAN
R1 Public Subnet 203.0.113.0 /30 ISP-R1 Link
R2 Public Subnet 198.51.100.0 /30 ISP-R2 Link

VLAN Summary

VLAN ID Name Network Mask Gateway Purpose
10 DATA 192.168.10.0 255.255.255.0 192.168.10.1 End-user and Wireless Clients
20 VOICE 192.168.20.0 255.255.255.0 192.168.20.1 VoIP Traffic
99 MANAGEMENT 192.168.99.0 255.255.255.0 192.168.99.1 Network Management + HSRP

πŸ”§ Lab Steps

  1. VLAN & Trunk Setup
    Created VLANs 10, 20, 99 on both switches. Configured G0/1 as 802.1Q trunk between SW-1 and SW-2.

  2. Inter-VLAN Routing
    Configured SVIs on SW-1 for VLANs 10, 20, 99 to provide gateway functionality.

  3. DHCP Configuration
    DHCP pools created for VLAN 10 (Data) and VLAN 20 (Voice).

  4. HSRP Setup
    Configured R1 as Active (priority 110) and R2 as Standby (priority 100).
    Virtual IP: 192.168.99.254.

  5. NAT Configuration
    Defined inside (G0/0/1) and outside (G0/0/0) interfaces on both routers.
    Applied PAT using an ACL for VLAN subnets.

  6. Routing Setup
    Default route on SW-1 β†’ 192.168.99.254.
    Static routes on ISPs for return traffic.

  7. Wireless Integration
    Wireless Routers connected via VLAN 10 access ports.
    Verified laptop DHCP and Internet access.


πŸ’» Device Configuration

πŸ“ All configurations are available in the configs/ folder.


🚦 Router 1

! --- 1. External (ISP) Configuration ---
interface GigabitEthernet0/0/0
description ** Link to ISP Router 1 **
ip address 203.0.113.2 255.255.255.252
no shutdown
ip nat outside

View Full Configuration File β†’

🚦 Router 2

! --- 1. External (ISP) Configuration ---
interface GigabitEthernet0/0/0
description ** Link to ISP Router 2 **
ip address 198.51.100.2 255.255.255.252
no shutdown
ip nat outside

View Full Configuration File β†’

🚦 ISP Router 1

! --- Interface to R1 ---
interface GigabitEthernet0/1
ip address 203.0.113.1 255.255.255.252
no shutdown

View Full Configuration File β†’

🚦 ISP Router 2

! --- Interface to R2 ---
interface GigabitEthernet0/1
ip address 198.51.100.1 255.255.255.252
no shutdown

View Full Configuration File β†’

πŸ”€ Switch 1

! --- 2. Configure SVIs (Default Gateways) ---
ip routing  ! Activates Layer 3 routing

interface Vlan10
description ** Default Gateway for DATA VLAN **
ip address 192.168.10.1 255.255.255.0
no shutdown

View Full Configuration File β†’

πŸ”€ Switch 2

! --- 2. Configure Inter-Switch Trunk Link (SW2 G0/2 to SW1 G0/2) ---
! This connects SW-2 to the Core Switch SW-1
interface GigabitEthernet0/2
description ** TRUNK to SW-1 **
switchport mode trunk
switchport trunk allowed vlan 10,20,99
no shutdown

View Full Configuration File β†’

πŸ–¨οΈ Printer

Device IP Address Subnet Mask Default Gateway
Printer-P1 192.168.20.11 255.255.255.0 192.168.20.1
Printer-P2 192.168.20.12 255.255.255.0 192.168.20.1

View Full Configuration File β†’

πŸ–₯️ PC and Laptop Configuration

  • All end-user devices: DHCP enabled

  • Wireless routers: VLAN 10 access ports with WPA2-PSK

  • Verified Internet connectivity and HSRP failover behavior


βœ… Verification Commands

** Network Topology

Topology Overview

Section 1: Core Infrastructure and Redundancy

  • VLAN and Trunking Verification of Switch 1 (Core Switch) and Switch 2 (Access Switch)
show vlan brief
show interfaces trunk

SW1 VLAN and Trunk Verification

SW2 VLAN and Trunk Verification

  • HSRP Status (Active and Standby) on Edge Router 1 and Edge Router R2
show standby brief

R1 Standby Brief

R2 Standby Brief

  • HSRP Failover

R2 HSRP Failover

  • HSRP Revert

R1 HSRP Revert

Section 2: Internal DHCP and Interal-VLAN Routing

  • DHCP Assignment - on Laptop
ipconfig /all

DHCP Assignment on Laptop

  • Inter-VLAN Routing - Ping from a Laptop to Printer
ping 192.168.20.11

Inter-VLAN Ping Test

  • **Trunking VLAN Bridge - Ping from SW1 PC to SW2 PC
ping 192.168.10.12

Trunk Connectivity Test

  • Switch 1 Routing Check
show ip route

SW1 IP Route

**Section 3: NAT and External Connectivity

  • NAT Translation on Edge Router 1 (R1)
ping 8.8.8.8

Ping 8.8.8.8 from any internal PC. Immediately run show ip nat translations on R1.

R1 NAT Translation

  • External Connectivity (End-to-End) From any Laptop
ping 8.8.8.8

End To End Connectivity

  • Edge Router (R1) Routing Table
show ip route

R1 Routing Table


⚑ How to Run Lab

  1. Open Topology: Launch the .pkt file in Cisco Packet Tracer.

  2. Load Configs: Paste .txt configurations into device CLIs.

  3. Run Tests: Execute commands from VERIFICATION.md.

  4. Review Screenshots: Compare your results with those in /screenshots/


πŸ“‚ Folder Structure

hsrp-dual-path-redundancy/ β”œβ”€β”€ configs/ β”‚ β”œβ”€β”€ router-config/ β”‚ β”‚ β”œβ”€β”€ r1.cfg β”‚ β”‚ β”œβ”€β”€ r2.cfg β”‚ β”‚ β”œβ”€β”€ r3.cfg β”‚ β”‚ β”œβ”€β”€ isp-r1.cfg β”‚ β”‚ └── isp-r2.cfg β”‚ β”œβ”€β”€ switch-config/ β”‚ β”‚ β”œβ”€β”€ sw1.cfg β”‚ β”‚ └── sw2.cfg β”‚ └── printer-config/ β”‚ └── printer.txt β”‚ β”œβ”€β”€ drwaio/ β”‚ └── hsrp-dual-path-redundancy.drawio β”‚ β”œβ”€β”€ lab-file/ β”‚ └── hsrp-dual-path-redundancy.pkt β”‚ β”œβ”€β”€ topology/ β”‚ β”œβ”€β”€ topology_overview.png β”‚ └── topology_overview_drawio.png β”‚ β”œβ”€β”€ screenshots/ β”‚ β”œβ”€β”€ V1.1-SW1_VLAN_Trunk.png β”‚ β”œβ”€β”€ V1.1-SW2_VLAN_Trunk.png β”‚ β”œβ”€β”€ V1.2-R1_HSRP_Active.png β”‚ β”œβ”€β”€ V1.2-R2_HSRP_Standby.png β”‚ β”œβ”€β”€ V1.3-R2_HSRP_Failover.png β”‚ β”œβ”€β”€ V1.4-R1_HSRN_Preempt.png β”‚ β”œβ”€β”€ V2.1-DHCP_Laptop_V10.png β”‚ β”œβ”€β”€ V2.2-InterVLAN_Ping.png β”‚ β”œβ”€β”€ V2.3-Trunk_Connectivity.pV1ng β”‚ β”œβ”€β”€ V2.4-SW1_DefaultRoute.png β”‚ β”œβ”€β”€ V3.1-R1_NAT_Translation.png β”‚ β”œβ”€β”€ V3.2-Laptop_Internet_Ping.png β”‚ └── V3.3-R1_Routing_Table.png β”‚ β”œβ”€β”€ README.md └── verification.md


🧱 Lab Limitations

  • ISP ICMP Limitation: The ICMP echo reply from 8.8.8.8 results in a Request Timed Out (.....) due to a know simulator bug. THe external path is confirmed funcional by successful NAT translation entries (v3.1), but the return path for the ICMP packet is dropped by the simulated ISP environment.

  • Wireless VLAN Limitation: Packet Tracer wireless routers lack VLAN tagging support, limiting separation between VLAN 10 and 99.


πŸŽ“ Learning Outcomes

  1. Configured and validated HSRP for gateway redundancy.

  2. Implemented PAT and ACLs for secure outbound traffic.

  3. Applied Layer 3 switching and static routing to a virtual IP.

  4. Strengthened skills in redundancy design and network troubleshooting.


πŸ’‘ Repository Info

  • Repository Name: hsrp-based-dual-path-edge-redundancy-and-segmented-access

  • Platform: Cisco Packet Tracer (Recommended: Latest Version)

  • Author: Mohamed Asmy

  • Focus Areas: Redundancy β€’ VLANs β€’ NAT β€’ Inter-VLAN Routing β€’ High Availability


About

HSRP-Based Dual-Path Edge Redundancy and Segmented Access A complete Cisco Packet Tracer lab demonstrating HSRP gateway redundancy, Inter-VLAN routing, PAT/NAT configuration, and wireless client connectivity. Ensures high availability, secure VLAN segmentation, and resilient edge design using dual routers and Layer 3 switching.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published