๐งช 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
0 comments:
Post a Comment