Advertise here ✔️

Phone: +255 692 127 931 Email: njoholes@gmail.com

Wednesday, March 18, 2026

NETWORKING PRACTICAL FULL LAB

 


๐Ÿงช NETWORKING PRACTICAL LAB

๐ŸŽฏ Scenario

You are designing a small campus network with:

  • 2 Routers
  • 2 Switches
  • 4 PCs
  • VLANs + Routing + DHCP

 

๐Ÿ—บ️ TOPOLOGY DIAGRAM

๐ŸŒ IP ADDRESSING PLAN

Device

Interface

IP Address

R1

G0/0

192.168.10.1

R1

G0/1

10.0.0.1

R2

G0/0

192.168.20.1

R2

G0/1

10.0.0.2

 

๐Ÿงฉ VLAN CONFIGURATION

VLAN

Name

Network

10

HR

192.168.10.0/24

20

IT

192.168.20.0/24

 

⚙️ STEP-BY-STEP CONFIGURATION

 

๐Ÿ”น 1. SWITCH CONFIGURATION (SW1 & SW2)

Create VLANs

enable

configure terminal

 

vlan 10

name HR

 

vlan 20

name IT

 

Assign Ports

interface fa0/1

switchport mode access

switchport access vlan 10

 

interface fa0/2

switchport mode access

switchport access vlan 20

 

Configure Trunk

interface fa0/24

switchport mode trunk

switchport trunk allowed vlan 10,20

 

๐Ÿ”น 2. ROUTER R1 CONFIGURATION

enable

configure terminal

 

interface g0/0

ip address 192.168.10.1 255.255.255.0

no shutdown

 

interface g0/1

ip address 10.0.0.1 255.255.255.252

no shutdown

 

๐Ÿ”น 3. ROUTER R2 CONFIGURATION

enable

configure terminal

 

interface g0/0

ip address 192.168.20.1 255.255.255.0

no shutdown

 

interface g0/1

ip address 10.0.0.2 255.255.255.252

no shutdown

 

๐Ÿ”น 4. STATIC ROUTING

On R1

ip route 192.168.20.0 255.255.255.0 10.0.0.2

On R2

ip route 192.168.10.0 255.255.255.0 10.0.0.1

 

๐Ÿ”น 5. DHCP CONFIGURATION (R1)

ip dhcp excluded-address 192.168.10.1

 

ip dhcp pool HR

network 192.168.10.0 255.255.255.0

default-router 192.168.10.1

 

๐Ÿ”น 6. PC CONFIGURATION

๐Ÿ‘‰ Set PCs to DHCP mode

OR manually:

PC

IP

Gateway

PC1

192.168.10.2

192.168.10.1

PC2

192.168.20.2

192.168.20.1

 

๐Ÿ” TESTING (VERY IMPORTANT)

Run these commands:

ping 192.168.20.2

ping 192.168.10.2

All PCs should communicate successfully.

 

๐Ÿ› ️ TROUBLESHOOTING COMMANDS

show ip interface brief

show vlan brief

show ip route

 

๐ŸŽฏ WHAT YOU LEARN HERE

  • VLAN configuration
  • Inter-router communication
  • Static routing
  • DHCP setup
  • Trunking
  • Real exam troubleshooting

Share:

0 comments:

Post a Comment

Contact Us

SALEHE NJOHOLE P.O.BOX 2428, DAR ES SALAAM, TANZANIA EAST AFRIKA. Call: 0692 127 931