ACKNOWLEDGEMENT:
We would like to express our sincere gratitude to our lecturer for the guidance and
support provided throughout this assignment. We also thank our group members and classmates
for their cooperation and teamwork. Finally, we appreciate our university for providing the
necessary resources to complete this project successfully.
1
ABSTRUCT
This project presents the design and implementation of a university campus
network using VLAN technology and Router-on-a-Stick inter-VLAN routing in Cisco Packet
Tracer. The assigned network block [Link]/22 was subnetted using Fixed Length Subnet
Masking (FLSM) to create equal-sized subnets for different departments. VLANs were
configured to improve network segmentation, security, and traffic management. DHCP was
implemented to automate IP address allocation. The project successfully demonstrated
communication between VLANs through inter-VLAN routing.
2
Table of contents
1. Introduction ………………………………………………………………………. 4
2. Objective …………………………………………………………………………. 4
3. Network requirement……………………………………………………………… 4
3.1 Device used ……………………………………………………………….. 4
3.2 VLAN requirement ……………………………………………………..… 4
4. Network Design ………………………………………………………….………... 5
5. FLSM Calculations …………………………………………………..….………… 6
6. VLAN Design …………………………………………………………….……….. 7
7. Device Configuration ……………………………………………………………… 8
7.1 Switch Configuration ………………………………………………………. 8
7.2 Trunk Configuration ………………………………………………………. 10
7.3 Router Configuration ………………………………………………………. 11
8. DHCP Configurations ……………………………………………………………… 13
9. Verification and Testing ……………………………………………………………15
9.1 VLAN Verification ………………………………………………………… 15
9.2 Trunk Verification …………………………………………………………. 15
9.3 Router Verification ………………………………………………………… 16
9.4 DHCP Verification ………………………………………………………… 16
9.5 Ping Test …………………………………………………………………… 17
10. Results………………………………………………………………………………. 18
11. Conclusion …………………………………………………………………………..19
12. References ………………………………………………………………………….. 20
3
Introduction:
Modern university campuses require efficient and scalable network infrastructures to
support academic departments, administrative offices, dormitories, and staff communications.
VLAN technology helps divide networks logically, while Router-on-a-Stick enables
communication between VLANs using a single router interface. This project designs and
implements a campus network using Cisco Packet Tracer and FLSM subnetting techniques.
Objective:
Design a university campus network
Implement VLAN segmentation
Apply FLSM subnetting
Configure Router-on-a-stick
Implement DHPC service
Enable inter-VLAN communication
Test network connectivity
Network Requirements:
Device used:
Device Quality
Router 2911 1
Switch 2960 1
PCs 9
Copper straight-through cable Multiple
VLAN requirements:
VLAN ID Department
10 Academic1
11 Academic2
12 Academic3
20 Admin1
21 Admin2
30 Dormitory1
31 Dormitory2
32 Dormitory3
40 staff
4
Network Design:
Explain Topology: The network uses a Router-on-a-Stick topology where a single router
interface handles multiple VLANs through subinterfaces. A trunk link connects the router to the
switch, allowing VLAN-tagged traffic to pass between devices.
5
FLSM Calculations:
Given network: [Link]/22
Step 1 – Total IP Addresses
Formula: 2^ (32 - prefix)
Calculation:
2^ (32 - 22)
= 2^10
= 1024 addresses
Usable:
1024 - 2 = 1022 hosts
Step 2 – Number of VLANs
We have total number of 9 VLANs
Step 3 – Borrow bits
Formula: 2^n ≥ required subnets
Need: 2^n ≥ 9
Try values:
n Result
2 4
3 8
4 16
So, borrow 4 bits
Step 4 – new prefix
/22 + 4 = /26
Step 5 – subnet mask
First, we have [Link]/22
- This means when we convert this to subnet mask, it looks like this
/22 in binary means 11111111.11111111.11111100.00000000
Subnet mask: [Link]
6
But now we have [Link]/26
- /26 in binary means 11111111.11111111.11111111.11000000
Subnet mask: [Link]
Step 6 – Host per subnet
2^ (32 - 26)
= 2^6
= 64 addresses
Usable: 64 - 2 = 62 hosts
Therefor the VLAN addressing table will be
VLAN Department Subnet Gateway
10 Academic1 [Link]/26 [Link]
11 Academic2 [Link]/26 [Link]
12 Academic3 [Link]/26 [Link]
20 Admin1 [Link]/26 [Link]
21 Admin2 [Link]/26 [Link]
30 Dorm1 [Link]/26 [Link]
31 Dorm2 [Link]/26 [Link]
32 Dorm3 [Link]/26 [Link]
40 Staff [Link]/26 [Link]
7
Device configuration:
Switch configuration:
Open switch then CLI, then enter the following commands
enable
configure terminal
First create VLANs first:
vlan 10
name Academic1
vlan 11
name Academic2
vlan 12
name Academic3
vlan 20
name Admin1
vlan 21
name Admin2
vlan 30
name Dorm1
vlan 31
name Dorm2
vlan 32
name Dorm3
vlan 40
name Staff
8
Then assigning switch ports to VLANs:
For PC0 and PC9 - vlan 10
interface fa0/1, fa0/10
switchport mode access
switchport access vlan 10
exit
For PC1 and PC10 – vlan 11
interface fa0/2, fa0/11
switchport mode access
switchport access vlan 11
exit
For PC2 and PC11 – vlan 12
interface fa0/3, fa0/12
switchport mode access
switchport access vlan 12
exit
For PC3 and PC12 -vlan 20
interface fa0/4, fa0/13
switchport mode access
switchport access vlan 20
exit
For PC4 AND PC 13 -vlan 21
interface fa0/5, fa0/14
switchport mode access
switchport access vlan 21
exit
9
For PC5 and PC14 -vlan 40
interface fa0/6, fa0/15
switchport mode access
switchport access vlan 40
exit
For PC8 and PC17 -vlan 30
interface fa0/7, fa0/18
switchport mode access
switchport access vlan 30
exit
For PC7 and PC16 -vlan 31
interface fa0/8, fa0/17
switchport mode access
switchport access vlan 31
exit
For PC6 and PC15 – vlan 32
interface fa0/9, fa0/16
switchport mode access
switchport access vlan 32
exit
Trunk configuration:
interface g0/1
switchport mode trunk
Save switch configuration:
end
write
10
Router Configuration:
Click router then CLI, then press enter
- Enable router interface
enable
configure terminal
interface g0/0
no shutdown
exit
- Configure sub interfaces
vlan 10
interface g0/0.10
encapsulation dot1Q 10
ip address [Link] [Link]
exit
vlan 11
interface g0/0.11
encapsulation dot1Q 11
ip address [Link] [Link]
exit
vlan 12
interface g0/0.12
encapsulation dot1Q 12
ip address [Link] [Link]
exit
vlan 20
interface g0/0.20
encapsulation dot1Q 20
ip address [Link] [Link]
11
vlan 21
interface g0/0.21
encapsulation dot1Q 21
ip address [Link] [Link]
exit
vlan 30
interface g0/0.30
encapsulation dot1Q 30
ip address [Link] [Link]
exit
vlan 31
interface g0/0.31
encapsulation dot1Q 31
ip address [Link] [Link]
exit
vlan 32
interface g0/0.32
encapsulation dot1Q 32
ip address [Link] [Link]
exit
vlan 40
interface g0/0.40
encapsulation dot1Q 40
ip address [Link] [Link]
exit
12
DHPC configuration:
ip dhcp pool VLAN10
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN11
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN12
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN20
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN21
network [Link] [Link]
default-router [Link]
dns-server [Link]
13
ip dhcp pool VLAN30
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN31
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN32
network [Link] [Link]
default-router [Link]
dns-server [Link]
ip dhcp pool VLAN40
network [Link] [Link]
default-router [Link]
dns-server [Link]
14
Verification and Testing:
VLAN Verification:
show vlan brief
Trunk Verification: show interfaces trunk
15
Router verification:
show ip interface brief
DHCP Verification:
show ip dhcp binding
16
Ping test:
I am on network [Link]/26 and pinging others
17
Result:
The university campus network was successfully designed and implemented using Cisco
Packet Tracer based on the assigned network block [Link]/22. Fixed Length Subnet Masking
(FLSM) was applied to divide the network into equal-sized subnets for each department VLAN.
A total of nine VLANs were created to logically separate the Academic, Administrative,
Dormitory, and Staff departments.
The Router-on-a-Stick technique was successfully configured using router subinterfaces and
IEEE 802.1Q encapsulation. This allowed communication between different VLANs through a
single physical router interface. Trunking was configured between the router and the switch to
carry traffic from multiple VLANs.
DHCP services were configured on the router, enabling automatic IP address assignment for all
connected PCs. Each device successfully received an IP address, subnet mask, default gateway,
and DNS server configuration from its corresponding VLAN DHCP pool.
Connectivity testing using ping commands confirmed that communication within the same
VLAN and between different VLANs was functioning correctly. Verification commands such as
show vlan brief, show interfaces trunk, show ip interface brief, and show ip dhcp binding
confirmed that the VLANs, trunk links, router subinterfaces, and DHCP services were operating
properly.
The implementation demonstrated improved network organization, easier management, reduced
broadcast traffic, and better logical separation between departments. The final network design
met all assignment objectives successfully.
18
Conclusion:
In conclusion, this project successfully implemented a university campus network using
VLAN segmentation, Router-on-a-Stick inter-VLAN routing, DHCP services, and FLSM
subnetting techniques. The assigned network block [Link]/22 was efficiently subnetted into
multiple equal-sized /26 subnets to support different departments within the campus network.
The use of VLANs improved network performance and security by logically separating users
into different broadcast domains. Router-on-a-Stick technology enabled efficient communication
between VLANs while reducing hardware requirements by using a single router interface with
multiple subinterfaces. The implementation of DHCP simplified network administration by
automating IP address allocation for all end devices.
Throughout the project, various networking concepts such as VLAN configuration, trunking,
subnetting, DHCP configuration, and inter-VLAN routing were successfully applied and tested
in Cisco Packet Tracer. Network testing verified that all devices could communicate properly
according to the network design requirements.
This project provided practical experience in designing and configuring enterprise-style campus
networks and demonstrated the importance of structured network planning, proper IP addressing,
and VLAN-based segmentation in modern computer networking environments.
19
References:
Cisco Networking Academy. (2024). Introduction to networks (ITN). Cisco Systems.
[Link]
Cisco Systems. (2024). VLAN configuration guide. Cisco Systems. [Link]
Odom, W. (2020). CCNA 200-301 official cert guide (Vol. 1). Cisco Press.
Lammle, T. (2020). CCNA certification study guide (8th ed.). Sybex.
Forouzan, B. A. (2017). Data communications and networking (5th ed.). McGraw-Hill
Education.
Microsoft. (2024). Microsoft Word documentation. Microsoft Learn. [Link]
20