Skip to content

Hands-on networking project involving inter-VLAN routing, DHCP configuration, NAT with PAT, and ACL-based access control on Cisco devices.

Notifications You must be signed in to change notification settings

jhonatanparada499/vlan-routing-dhcp-nat-access-lists

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cisco VLAN Routing with DHCP and NAT Overload

Overview

In order to support inter-VLAN routing, DHCP-based IP address assignment, NAT overload (PAT) for internet access, and ACL-based traffic restrictions between VLANs, this project shows how to configure a Cisco router and managed switch.

Isolated IP subnets were set up for both VLANs 2 and 3. An optional ACL was used to prevent VLAN2 from accessing VLAN3, and DHCP pools were set up on the router to serve hosts dynamically. The final configuration preserved selective internal segmentation while enabling internet access for both VLANs.

Physical Topology

Logical Topology

Configurations

Switch

  • VLAN 2 and VLAN 3 created
  • Access ports assigned for each VLAN
  • Trunk port configured towards router

switch/Switch configuration.txt

Router

Validation

VLAN2 VM – DHCP Lease and Configuration

VLAN2 VM

VLAN3 VM – DHCP Lease and Configuration

VLAN3 VM

VLAN3 Host Trying to Ping VLAN2 after applying ACL

Ping Test

Technologies Used

  • Cisco Router and Managed Switch (CLI Configuration)
  • VLAN Configuration and Trunking (802.1Q)
  • Router-on-a-Stick Inter-VLAN Routing
  • DHCP Pools on Router
  • NAT Overload (PAT) for Internet Access
  • ACL for Inter-VLAN Access Control

Notes

  • Configurations saved after successful validation
  • DHCP leases and NAT sessions captured live
  • Physical workstation setup captured for reference

About

Hands-on networking project involving inter-VLAN routing, DHCP configuration, NAT with PAT, and ACL-based access control on Cisco devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published