Skip to content

CsWithAk/Simple-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Network Topology Generation and Configuration Project

📌 Project Information

  • Author: Amit Kumar
  • Date: 18/08/2025
  • Internship: CISCO Virtual Internship 2025
  • Domain: Networking Essentials

📖 Introduction

This project aims to develop a tool for automatically generating a hierarchical network topology from router configuration files.
It addresses key areas such as:

  • Network performance
  • Load management
  • Configuration validation
  • Network simulation

🎯 Objectives

  • Create a hierarchical network topology based on router configurations
  • Validate network configurations and identify potential issues
  • Simulate network activities and test connectivity

🖧 Network Design

Components

  • Routers: R1, R2, R3
  • Switches: Switch1, Switch2
  • End Devices: PC1, PC2, PC3, PC4, Server

Topology Diagram

network topology diagram

⚙️ Configuration Details

Router Configurations

Router R1

 enable
 configure terminal
 hostname R1
 interface g0/0
 ip address 192.168.1.1 255.255.255.0
 no shutdown
 interface g0/1
 ip address 192.168.2.1 255.255.255.0

Router R2

 enable
 configure terminal
 hostname R2
 interface g0/0
 ip address 192.168.1.2 255.255.255.0
 no shutdown
 exit

Router R3

 enable
 configure terminal
 hostname R3
 interface g0/0
 ip address 192.168.2.1 255.255.255.0
 no shutdown
 exit

Switch Configurations

Switch S1

 enable
 configure terminal
 hostname Switch1
 interface vlan 1
 ip address 192.168.1.10 255.255.255.0
 no shutdown
 interface range fa0/1 - 2
 switchport mode access
 switchport access vlan 10
 interface range fa0/3 - 4
 switchport mode access
 switchport access vlan 20
 exit

switch S2

 enable
 configure terminal
 hostname Switch2
 interface vlan 1
 ip address 192.168.2.10 255.255.255.0
 no shutdown
 interface range fa0/1 - 2
 switchport mode access
 switchport access vlan 10
 interface range fa0/3 - 4
 switchport mode access
 switchport access vlan 20
 exit

End Device Configurations

PC1:

IP 192.168.1.20,   Subnet Mask 255.255.255.0,   Gateway 192.168.1.1

PC2:

IP 192.168.1.21,   Subnet Mask 255.255.255.0,   Gateway 192.168.1.1

PC3:

IP 192.168.2.20,   Subnet Mask 255.255.255.0,   Gateway 192.168.2.1

PC4:

IP 192.168.2.21,   Subnet Mask 255.255.255.0,   Gateway 192.168.2.1

Server:

IP 192.168.2.30,   Subnet Mask 255.255.255.0,   Gateway 192.168.2.1

🔍 Testing Connectivity

Ping Tests

From PC1 → PC2

ping 192.168.1.21

From PC3 → Server

ping 192.168.2.30

Traceroute Test

From PC3 → Server

tracert 192.168.2.30

✅ Conclusion

The project successfully demonstrates:

Generating a hierarchical network topology

Validating configurations

Testing connectivity among devices

The configurations align with the project requirements, ensuring a functional and reliable network environment.


🚀 Future Enhancements

Automating configuration file parsing

Adding visualization tools for topology generation

Integrating network monitoring features

About

Network Topology Generation and Configuration Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published