# tanvirul-islam-rifat/cse421--enterprise-network-system architecture

> Architecture diagram of the GitHub repository tanvirul-islam-rifat/cse421--enterprise-network-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tanvirul-islam-rifat/cse421--enterprise-network-system
- Repository: https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system

## Overview

This repository is both a Cisco Packet Tracer enterprise-network design and a Python design verifier. The main workflow allocates the address plan with VLSM, configures a three-router campus network and its services, then models routing and forwarding to check addressing, services, reachability, and WAN-link failures. The graph includes documented network capabilities and the sampled verifier internals; unsampled configuration details are represented at their existing directory paths.

Main entry points: [`tools/validate_design.py`](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/validate_design.py) (Design verifier), [`packet-tracer/EndOfTheExperiment.pkt`](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/packet-tracer/EndOfTheExperiment.pkt) (Packet Tracer network), [`tools/vlsm.py`](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/vlsm.py) (VLSM allocator), [`addressing/vlsm_plan.csv`](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/vlsm_plan.csv) (Address plan)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_design["Network design"]
  node_requirements["VLSM requirements"]
  node_allocator["VLSM allocator<br/>[vlsm.py]"]
  node_addressplan["Address plan<br/>[vlsm_plan.csv]"]
  node_interfaces["Router interfaces"]
  node_devices["Device addressing<br/>[devices.csv]"]
  node_cabling["Physical connections"]
end

subgraph group_network["Configured network"]
  node_packettracer["Packet Tracer network"]
  node_routerconfigs["Router configurations"]
  node_switchconfigs["Switch configurations"]
  node_dhcp["DHCP pools<br/>[dhcp_pools.csv]"]
  node_dns["DNS records<br/>[dns_records.csv]"]
  node_web["Web site<br/>[index.html]"]
  node_mail["Email accounts<br/>[email_accounts.csv]"]
end

subgraph group_verification["Design verification"]
  node_verifier["Design verifier<br/>[validate_design.py]"]
  node_vlsmcheck["VLSM validation<br/>[vlsm.py]"]
end

subgraph group_analysis["Model and analysis"]
  node_model["Network model<br/>[design_model.py]"]
  node_reachability["Routing and reachability<br/>[design_model.py]"]
end

node_operator(("Network designer"))

node_operator -->|"allocates subnets"| node_allocator
node_requirements -->|"supplies host needs"| node_allocator
node_allocator -->|"writes allocation"| node_addressplan
node_operator -->|"designs network"| node_packettracer
node_addressplan -->|"guides addressing"| node_interfaces
node_interfaces -->|"configures interfaces"| node_routerconfigs
node_routerconfigs -->|"configures routers"| node_packettracer
node_switchconfigs -->|"configures switches"| node_packettracer
node_dhcp -->|"provides DHCP settings"| node_packettracer
node_dns -->|"provides DNS settings"| node_packettracer
node_web -->|"provides web content"| node_packettracer
node_mail -->|"provides mail settings"| node_packettracer
node_operator -->|"runs checks"| node_verifier
node_verifier -->|"loads and models routers"| node_model
node_verifier -->|"checks allocation"| node_vlsmcheck
node_verifier -->|"reads plan"| node_addressplan
node_verifier -->|"checks interfaces"| node_interfaces
node_verifier -->|"loads endpoints"| node_devices
node_verifier -->|"loads topology"| node_cabling
node_verifier -->|"checks DHCP"| node_dhcp
node_verifier -->|"checks DNS"| node_dns
node_verifier -->|"checks mail"| node_mail
node_verifier -->|"runs flow scenarios"| node_reachability
node_model -->|"builds routing tables"| node_reachability
node_reachability -.->|"models configured behavior"| node_packettracer

click node_requirements "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/vlsm_requirements.csv"
click node_allocator "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/vlsm.py"
click node_addressplan "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/vlsm_plan.csv"
click node_interfaces "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/router_interfaces.csv"
click node_devices "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/devices.csv"
click node_cabling "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/physical_connections.csv"
click node_packettracer "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/packet-tracer/EndOfTheExperiment.pkt"
click node_routerconfigs "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/tree/main/configs/routers"
click node_switchconfigs "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/tree/main/configs/switches"
click node_dhcp "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/dhcp_pools.csv"
click node_dns "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/dns_records.csv"
click node_web "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/web/index.html"
click node_mail "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/email_accounts.csv"
click node_verifier "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/validate_design.py"
click node_model "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/design_model.py"
click node_reachability "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/design_model.py"
click node_vlsmcheck "https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/vlsm.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_requirements,node_allocator,node_addressplan,node_interfaces,node_devices,node_cabling toneBlue
class node_packettracer,node_routerconfigs,node_switchconfigs,node_dhcp,node_dns,node_web,node_mail toneAmber
class node_verifier,node_vlsmcheck toneMint
class node_model,node_reachability toneRose
class node_operator toneIndigo
```

## Components

### Network design

- [VLSM requirements](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/vlsm_requirements.csv): `addressing/vlsm_requirements.csv`
- [VLSM allocator](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/vlsm.py): `tools/vlsm.py`
- [Address plan](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/vlsm_plan.csv): `addressing/vlsm_plan.csv`
- [Router interfaces](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/router_interfaces.csv): `addressing/router_interfaces.csv`
- [Device addressing](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/devices.csv): `addressing/devices.csv`
- [Physical connections](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/addressing/physical_connections.csv): `addressing/physical_connections.csv`

### Configured network

- [Packet Tracer network](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/packet-tracer/EndOfTheExperiment.pkt): `packet-tracer/EndOfTheExperiment.pkt`
- [Router configurations](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/tree/main/configs/routers): `configs/routers`
- [Switch configurations](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/tree/main/configs/switches): `configs/switches`
- [DHCP pools](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/dhcp_pools.csv): `services/dhcp_pools.csv`
- [DNS records](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/dns_records.csv): `services/dns_records.csv`
- [Web site](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/web/index.html): `services/web/index.html`
- [Email accounts](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/services/email_accounts.csv): `services/email_accounts.csv`

### Design verification

- [Design verifier](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/validate_design.py): `tools/validate_design.py`
- [VLSM validation](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/vlsm.py): `tools/vlsm.py`

### Model and analysis

- [Network model](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/design_model.py): `tools/design_model.py`
- [Routing and reachability](https://github.com/tanvirul-islam-rifat/cse421--enterprise-network-system/blob/main/tools/design_model.py): `tools/design_model.py`

### Other components

- **Network designer**

## Connections

- Network designer → VLSM allocator: allocates subnets (evidence: `tools/vlsm.py`)
- VLSM requirements → VLSM allocator: supplies host needs (evidence: `tools/vlsm.py`)
- VLSM allocator → Address plan: writes allocation (evidence: `tools/vlsm.py`)
- Network designer → Packet Tracer network: designs network (evidence: `README.md`)
- Address plan → Router interfaces: guides addressing (evidence: `README.md`)
- Router interfaces → Router configurations: configures interfaces (evidence: `README.md`)
- Router configurations → Packet Tracer network: configures routers (evidence: `README.md`)
- Switch configurations → Packet Tracer network: configures switches (evidence: `README.md`)
- DHCP pools → Packet Tracer network: provides DHCP settings (evidence: `README.md`)
- DNS records → Packet Tracer network: provides DNS settings (evidence: `README.md`)
- Web site → Packet Tracer network: provides web content (evidence: `README.md`)
- Email accounts → Packet Tracer network: provides mail settings (evidence: `README.md`)
- Network designer → Design verifier: runs checks (evidence: `README.md`)
- Design verifier → Network model: loads and models routers (evidence: `tools/validate_design.py`)
- Design verifier → VLSM validation: checks allocation (evidence: `tools/validate_design.py`)
- Design verifier → Address plan: reads plan (evidence: `tools/validate_design.py`)
- Design verifier → Router interfaces: checks interfaces (evidence: `tools/validate_design.py`)
- Design verifier → Device addressing: loads endpoints (evidence: `tools/validate_design.py`)
- Design verifier → Physical connections: loads topology (evidence: `tools/validate_design.py`)
- Design verifier → DHCP pools: checks DHCP (evidence: `tools/validate_design.py`)
- Design verifier → DNS records: checks DNS (evidence: `tools/validate_design.py`)
- Design verifier → Email accounts: checks mail (evidence: `tools/validate_design.py`)
- Design verifier → Routing and reachability: runs flow scenarios (evidence: `tools/validate_design.py`)
- Network model → Routing and reachability: builds routing tables (evidence: `tools/design_model.py`)
- Routing and reachability → Packet Tracer network: models configured behavior (evidence: `README.md`)
