Skip to content

muhammad-shozab/Computer-Neworks-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Flair Group of Companies - Enterprise Network Infrastructure

A comprehensive enterprise network design and implementation project for a multi-floor organization with remote branch connectivity, demonstrating advanced networking concepts including VLANs, OSPF routing, IPSec VPN, and network security.

Project Status: Completed | Date: December 17, 2025


πŸ“‹ Table of Contents


🎯 Project Overview

This project presents a professional-grade enterprise network infrastructure solution for Flair Group of Companies, a growing software firm based in Islamabad. The design addresses critical limitations in their legacy flat network by implementing a hierarchical, scalable, and secure network architecture.

Problem Statement

The organization faced:

  • Security vulnerabilities in unmanaged flat networks
  • IP address conflicts and wastage
  • Performance bottlenecks across departments
  • Lack of centralized management and monitoring

Solution

A modern hierarchical network design supporting ~120 users across multiple departments with:

  • Multi-floor LAN segmentation using VLANs
  • WAN connectivity via IPSec VPN
  • Dynamic routing with OSPF
  • Multi-layered security architecture
  • Centralized services (DHCP, DNS, FTP, Syslog)

⭐ Key Features

Network Design

  • Hierarchical Architecture - Core, Distribution, and Access layers following Cisco best practices
  • VLAN Segmentation - 8 department-specific VLANs (HR, Finance, DevOps, IT Support, etc.)
  • Router-on-a-Stick Configuration - Inter-VLAN routing with 802.1Q trunking
  • VLSM IP Addressing - Efficient address allocation with Class B/C blocks and /30 point-to-point links

Routing & Connectivity

  • OSPF Protocol - Dynamic routing with fast convergence in Area 0
  • IPSec VPN - Site-to-Site encryption between Islamabad HQ and Karachi Branch
  • ISP Backbone Simulation - Realistic 3-router mesh topology
  • NAT/PAT Configuration - Secure internet access with VPN exemption rules

Security

  • Access Control Lists (ACLs) - Department-level traffic segmentation
  • Port Security - Unauthorized access prevention
  • IDS/IPS Simulation - Intrusion detection with packet logging
  • Network Address Translation - Internal IP protection

Services & Management

  • DHCP - Automated IP configuration across VLANs
  • DNS - Domain resolution for corporate intranet
  • Web Hosting - Corporate intranet (www.flairgroup.com)
  • FTP Service - Secure file transfers between branches
  • Syslog Integration - Centralized logging and security alerts

Innovation

  • IoT Smart Office - Remote control of environmental devices (lights, ceiling fans, door locks)
  • Home Gateway Controller - Wireless IoT device management
  • IoT Monitor Application - Real-time device control interface

πŸ—οΈ Network Architecture

Topology Overview

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                      ISP BACKBONE (Public)                  β”‚
β”‚              ISP_Router_1 ── ISP_Router_2 ──────             β”‚
β”‚                    β”‚              β”‚                          β”‚
β”‚                    └──ISP_Router_3β”€β”˜                         β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚                  β”‚
                    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
                    β”‚Islamabad  β”‚      β”‚  Karachi  β”‚
                    β”‚   HQ      β”‚      β”‚  Branch   β”‚
                    β”‚(OSPF Area 0)    (OSPF Area 0)
                    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
                         β”‚                  β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
        β”‚                β”‚              β”‚   β”‚
    β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”        β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”    β”Œβ”€β”€β”€β–Όβ”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
    β”‚ Floor  β”‚        β”‚ Floor β”‚    β”‚ Floor β”‚ β”‚Branch Switch β”‚
    β”‚   1    β”‚        β”‚   2   β”‚    β”‚   3   β”‚ β”‚   + IoT      β”‚
    β”‚ (HR,   β”‚        β”‚(Dev,  β”‚    β”‚(IT,   β”‚ β”‚   Gateway    β”‚
    β”‚Finance)β”‚        β”‚ Test) β”‚    β”‚Server)β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
    β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜        β””β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”˜

Site Architecture

Islamabad Headquarters (3 Floors):

  • Floor 1: HR, Finance, Front Office (VLAN 10-30)
  • Floor 2: Software Development, Testing, R&D (VLAN 40-60)
  • Floor 3: IT Support, Data Management, Server Farm (VLAN 70-80)

Karachi Branch:

  • Local LAN (172.16.10.0/24)
  • IoT Smart Office Infrastructure
  • VPN Connection to HQ

πŸ“Š Technical Specifications

IP Addressing Scheme

Location Block Type Details
Headquarters 192.168.0.0/16 Private Class C 8 x /24 VLANs (254 hosts each)
Branch Office 172.16.0.0/16 Private Class B 172.16.10.0/24 LAN
WAN Links 10.1.1.0/24 Private Class A /30 subnets (2 usable IPs each)
ISP Backbone 11.0.0.0 - 12.0.0.0 Public Simulation 3 routers mesh

VLAN Configuration

VLAN ID Department Subnet Gateway Floor
10 Front Office 192.168.1.0/24 192.168.1.1 1
20 HR 192.168.2.0/24 192.168.2.1 1
30 Finance 192.168.3.0/24 192.168.3.1 1
40 Software Dev 192.168.4.0/24 192.168.4.1 2
50 Software Testing 192.168.5.0/24 192.168.5.1 2
60 R&D 192.168.6.0/24 192.168.6.1 2
70 IT Support 192.168.7.0/24 192.168.7.1 3
80 Data Management 192.168.8.0/24 192.168.8.1 3

Hardware Specification

Device Model Quantity Role
Distribution Router Cisco 2911 ISR 4 OSPF, Inter-VLAN routing, VPN termination
Access Switch Cisco 2960 4 Layer 2 connectivity, VLAN trunking, Port Security
Web/DNS Server Dedicated 1 Corporate intranet, domain resolution
Syslog Server Dedicated 1 Centralized logging
FTP Server Integrated 1 Secure file transfer
IoT Gateway Cisco Home Gateway 1 Wireless device controller

Routing Protocol

  • Protocol: OSPF (Open Shortest Path First)
  • Area: Area 0 (Backbone)
  • Process ID: 1
  • Advertisements: LAN subnets + WAN serial links
  • Convergence: Fast failover with automatic route recalculation

VPN Configuration

Parameter Value
Type Site-to-Site IPSec
Phase 1 (ISAKMP) AES encryption, SHA hashing, Pre-Shared Keys
Phase 2 (IPSec) Transform Set: esp-aes esp-sha-hmac
Interesting Traffic 192.168.0.0/16 ↔ 172.16.0.0/16
Encryption End-to-End encrypted tunneling
NAT Exemption VPN traffic excluded from translation

πŸ”§ Implementation Details

1. VLAN & Inter-VLAN Routing

  • Configuration: Router-on-a-Stick with 802.1Q trunking
  • Sub-interfaces: Fa0/0.10 through Fa0/0.80 for each VLAN
  • Routing: Layer 3 switching enables department isolation and controlled traffic flow

2. DHCP Service

  • Configuration: DHCP pools on Distribution Routers (Floor 1, 2, 3)
  • Excluded Addresses: .1 to .10 (router, servers), .50 (printers)
  • Pools: Separate pools per VLAN (Pool_HR, Pool_Dev, etc.)

3. Security Implementation

  • ACLs: Extended ACLs on VLAN sub-interfaces for departmental policies
  • Printer Security: Bouncer rules restrict printer access by department
  • IPS Simulation: Malicious traffic detection and blocking with packet counters
  • Firewall: Port Address Translation (PAT) protects internal addressing

4. Network Services

  • DNS: Maps www.flairgroup.com β†’ 192.168.7.10 (Web Server)
  • Web Server: Custom HTML intranet for employee announcements
  • FTP Server: Authenticated file transfer (admin user) with full permissions
  • Syslog: Real-time security alert collection from Core Router

5. WAN Connectivity

  • ISP Backbone: 3-router mesh with Serial connections (realistic public internet)
  • VPN Tunnel: AES-encrypted communication over public backbone
  • NAT Rules: Split tunneling to allow concurrent internet access and VPN usage

6. IoT Integration

  • Home Gateway: Central wireless controller for smart devices
  • Devices: Ceiling Fan, Smart Light, Door Lock (remote control)
  • Management: IoT Monitor Application for real-time control
  • Isolation: Dedicated wireless segment separated from corporate traffic

πŸš€ Getting Started

Prerequisites

  • Cisco Packet Tracer (Version 8.0 or later)
  • Basic understanding of:
    • OSI model and network layers
    • IP addressing and subnetting
    • Routing protocols (OSPF)
    • VLANs and switching concepts
    • VPN and encryption basics

Installation & Setup

  1. Clone the Repository

    git clone https://github.com/yourusername/flair-enterprise-network.git
    cd flair-enterprise-network
  2. Open in Packet Tracer

    • Launch Cisco Packet Tracer
    • File β†’ Open β†’ Select flair-network-topology.pkt
    • Wait for all devices to fully boot (2-3 minutes)
  3. Verify Connectivity

    - From HQ PC β†’ Ping to Branch PC (verify VPN tunnel)
    - Check routing tables: Show ip route (on each router)
    - Verify OSPF adjacencies: Show ip ospf neighbor
    
  4. Access Services

    • Web Access: Open browser on any PC β†’ Enter www.flairgroup.com
    • DNS Resolution: Verify domain resolution works
    • FTP Access: Connect using FTP client (user: admin)
    • IoT Control: Open IoT Monitor β†’ Connect to Home Gateway

Quick Start Commands

# View OSPF neighbor relationships
show ip ospf neighbor

# Display routing table with OSPF routes (marked with O)
show ip route

# Verify VPN security associations
show crypto session brief

# Check interface status and IP addresses
show ip interface brief

# View ACL traffic counters
show access-lists

# Display DHCP pools
show ip dhcp pool

# Verify VLAN configuration
show vlan brief

πŸ“ Project Structure

flair-enterprise-network/
β”œβ”€β”€ README.md                           # Project documentation
β”œβ”€β”€ ARCHITECTURE.md                     # Detailed architecture guide
β”œβ”€β”€ CONFIGURATION.md                    # Step-by-step configuration guide
β”œβ”€β”€ SETUP_GUIDE.md                      # Installation and setup instructions
β”‚
β”œβ”€β”€ packet-tracer-files/
β”‚   β”œβ”€β”€ flair-network-topology.pkt      # Complete network simulation
β”‚   β”œβ”€β”€ flair-network-backup.pkt        # Backup configuration
β”‚   └── README.md                       # Packet Tracer file guide
β”‚
β”œβ”€β”€ configuration-files/
β”‚   β”œβ”€β”€ router-configs/
β”‚   β”‚   β”œβ”€β”€ floor1-router.conf          # Floor 1 router configuration
β”‚   β”‚   β”œβ”€β”€ floor2-router.conf          # Floor 2 router configuration
β”‚   β”‚   β”œβ”€β”€ floor3-router.conf          # Floor 3 router configuration (Core)
β”‚   β”‚   └── branch-router.conf          # Branch office router
β”‚   β”‚
β”‚   β”œβ”€β”€ switch-configs/
β”‚   β”‚   β”œβ”€β”€ floor1-switch.conf
β”‚   β”‚   β”œβ”€β”€ floor2-switch.conf
β”‚   β”‚   β”œβ”€β”€ floor3-switch.conf
β”‚   β”‚   └── branch-switch.conf
β”‚   β”‚
β”‚   β”œβ”€β”€ isp-configs/
β”‚   β”‚   β”œβ”€β”€ isp-router1.conf
β”‚   β”‚   β”œβ”€β”€ isp-router2.conf
β”‚   β”‚   └── isp-router3.conf
β”‚   β”‚
β”‚   └── README.md                       # Configuration file guide
β”‚
β”œβ”€β”€ documentation/
β”‚   β”œβ”€β”€ IP_ADDRESSING_PLAN.md          # VLSM and subnet documentation
β”‚   β”œβ”€β”€ VLAN_CONFIGURATION.md          # VLAN design and policies
β”‚   β”œβ”€β”€ ROUTING_PROTOCOL.md            # OSPF implementation details
β”‚   β”œβ”€β”€ VPN_SECURITY.md                # IPSec VPN configuration
β”‚   β”œβ”€β”€ ACL_RULES.md                   # Access control policies
β”‚   β”œβ”€β”€ DHCP_CONFIGURATION.md          # DHCP pool setup
β”‚   β”œβ”€β”€ SERVICES_SETUP.md              # DNS, Web, FTP, Syslog
β”‚   β”œβ”€β”€ IOT_IMPLEMENTATION.md          # Smart office IoT system
β”‚   └── PERFORMANCE_ANALYSIS.md        # Testing results and metrics
β”‚
β”œβ”€β”€ diagrams/
β”‚   β”œβ”€β”€ network-topology.png           # Overall topology diagram
β”‚   β”œβ”€β”€ ip-addressing-plan.png         # IP block distribution
β”‚   β”œβ”€β”€ vlan-layout.png                # VLAN organization
β”‚   β”œβ”€β”€ osi-layer-mapping.png          # Layer-wise architecture
β”‚   └── iot-infrastructure.png         # IoT system diagram
β”‚
β”œβ”€β”€ test-scenarios/
β”‚   β”œβ”€β”€ connectivity-tests.md          # Ping and traceroute tests
β”‚   β”œβ”€β”€ routing-convergence.md         # OSPF failover scenarios
β”‚   β”œβ”€β”€ vpn-encryption-test.md         # VPN tunnel verification
β”‚   β”œβ”€β”€ security-tests.md              # ACL and firewall tests
β”‚   β”œβ”€β”€ service-availability.md        # DNS, DHCP, FTP testing
β”‚   └── iot-control-tests.md           # Smart device control tests
β”‚
β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ screenshots/
β”‚   β”‚   β”œβ”€β”€ routing-table-hq.png       # HQ routing table verification
β”‚   β”‚   β”œβ”€β”€ routing-table-branch.png   # Branch routing table
β”‚   β”‚   β”œβ”€β”€ vpn-status.png             # VPN security associations
β”‚   β”‚   β”œβ”€β”€ acl-logs.png               # IPS/IDS packet counters
β”‚   β”‚   β”œβ”€β”€ dhcp-pools.png             # DHCP configuration
β”‚   β”‚   β”œβ”€β”€ web-server.png             # Corporate intranet screenshot
β”‚   β”‚   └── iot-monitor.png            # IoT control interface
β”‚   β”‚
β”‚   └── diagrams/
β”‚       └── [architecture diagrams]
β”‚
β”œβ”€β”€ project-report/
β”‚   β”œβ”€β”€ Project_Report-BSSE-III-B.pdf # Full academic report
β”‚   β”œβ”€β”€ presentation-slides.pdf        # Project presentation
β”‚   └── summary.md                     # Executive summary
β”‚
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ router-config-backup.sh        # Backup script
β”‚   β”œβ”€β”€ network-test.sh                # Automated testing script
β”‚   └── README.md                      # Script documentation
β”‚
β”œβ”€β”€ TROUBLESHOOTING.md                 # Common issues and solutions
β”œβ”€β”€ CONTRIBUTORS.md                    # Team member information
β”œβ”€β”€ LICENSE                            # Project license (MIT)
└── .gitignore                         # Git ignore file

βœ… Key Achievements

Operational Efficiency

βœ“ Eliminated broadcast storms through VLAN segmentation
βœ“ Optimized traffic flow between departments via OSPF routing
βœ“ Reduced network latency (<10ms round-trip time over VPN)

Data Security

βœ“ 100% encryption for inter-site communication via IPSec VPN
βœ“ Multi-layer defense with ACLs and Port Security
βœ“ IDS/IPS simulation detecting and blocking malicious traffic
βœ“ Centralized security logging via Syslog

Scalability & Reliability

βœ“ Hierarchical design supporting future expansion
βœ“ Zero packet loss in connectivity tests
βœ“ DHCP and DNS automating address management
βœ“ Redundant ISP backbone ensuring fault tolerance

Innovation

βœ“ IoT smart office system with remote device control
βœ“ Automated lighting, temperature, and security management
βœ“ Professional-grade service integration


πŸ“ˆ Performance Metrics

Metric Result Status
Packet Loss (HQ to Branch) 0% βœ… Excellent
Average Latency <10ms βœ… Excellent
VPN Tunnel Stability 100% βœ… Operational
OSPF Convergence <5s βœ… Fast
File Transfer (FTP) No data corruption βœ… Reliable

πŸ› οΈ Technologies Used

  • Simulation Platform: Cisco Packet Tracer 8.0+
  • Routing Protocol: OSPF (Open Shortest Path First)
  • Security: IPSec VPN, ACLs, Port Security
  • Network Services: DHCP, DNS, FTP, Syslog
  • IoT Platform: Cisco Home Gateway
  • Documentation: Markdown, Network Diagrams (Lucidchart/Draw.io)

πŸ“š Learning Outcomes

This project demonstrates proficiency in:

  1. Network Architecture Design

    • Hierarchical network modeling
    • VLAN design and implementation
    • IP addressing and VLSM
  2. Dynamic Routing

    • OSPF configuration and optimization
    • Route advertisement and convergence
    • Multi-area routing concepts
  3. Network Security

    • IPSec VPN tunnel establishment
    • Access Control List implementation
    • Firewall and NAT configuration
    • Intrusion detection simulation
  4. Service Integration

    • DHCP pool configuration
    • DNS resolution setup
    • Web server and FTP deployment
    • Syslog centralization
  5. IoT & Modern Networking

    • Wireless gateway configuration
    • Smart device integration
    • Remote management systems

🀝 Contributing

This is an academic project. Contributions in the form of:

  • Documentation improvements
  • Additional test scenarios
  • Performance optimization suggestions
  • Configuration file refinements

are welcome! Please create issues or pull requests with detailed descriptions.


πŸ“ Authors

ID Name Role
242184 Fatima Atta Network Design & Documentation
242252 Muhammad Shozab OSPF Routing & VPN Configuration
242258 Farwa Khalid Security & ACL Implementation
242278 Muhammad Ahmad IoT Integration & Testing

Submitted To: Ms. Sabahat Ajaz
Course: Computer Networks (BSSE-III-B)
Institution: [Your University Name]
Date: December 17, 2025


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

You are free to use, modify, and distribute this project for educational and professional purposes.


πŸ“ž Support & Questions

For questions or issues:

  1. Check TROUBLESHOOTING.md for common problems
  2. Review the documentation folder
  3. Check existing GitHub issues
  4. Create a new issue with detailed description

πŸ”— Quick Links


Last Updated: December 17, 2025
Status: Complete & Production-Ready
GitHub Stars: ⭐ Feel free to star if this helped you!


This project demonstrates enterprise-grade network design principles suitable for academic study, professional portfolios, and real-world implementations.

About

Enterprise network design with VLANs, OSPF, VPN, and IoT integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors