| Department | VLAN | Hosts | Network ID | Subnet Mask | Usable Range | Gateway |
|---|---|---|---|---|---|---|
| Service | 10 | 60 | 192.168.10.0 | 255.255.255.192 | .2 - .62 | 192.168.10.1 |
| IT-PCS | 20 | 20 | 192.168.10.64 | 255.255.255.224 | .66 - .94 | 192.168.10.65 |
| Admin | 30 | 10 | 192.168.10.96 | 255.255.255.240 | .98 - .110 | 192.168.10.97 |
| Server Farm | - | - | 192.168.11.0 | 255.255.255.0 | .2 - .254 | 192.168.11.1 |
| Serial Link | - | 2 | 200.200.200.0 | 255.255.255.252 | .1 - .2 | N/A |
enable
configure terminal
hostname HQ-Core-Router
# Sub-interfaces for Inter-VLAN Routing
interface gig0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.192
ip helper-address 192.168.11.2
exit
interface gig0/0.20
encapsulation dot1Q 20
ip address 192.168.10.65 255.255.255.224
ip helper-address 192.168.11.2
exit
interface gig0/0.30
encapsulation dot1Q 30
ip address 192.168.10.97 255.255.255.240
ip helper-address 192.168.11.2
exit
interface gig0/0
no shutdown
# Serial Link to Server Site
interface Serial0/3/0
ip address 200.200.200.1 255.255.255.252
clock rate 64000
no shutdown
# Static Route to Server Network
ip route 192.168.11.0 255.255.255.0 200.200.200.2
enable
configure terminal
hostname Server-Router
interface gig0/0
ip address 192.168.11.1 255.255.255.0
no shutdown
interface Serial0/3/0
ip address 200.200.200.2 255.255.255.252
no shutdown
# Static Route back to HQ Departments
ip route 192.168.10.0 255.255.255.0 200.200.200.1
| Pool Name | Gateway | DNS Server | Start IP | Subnet Mask |
|---|---|---|---|---|
| VLAN10_Service | 192.168.10.1 | 192.168.11.4 | 192.168.10.2 | 255.255.255.192 |
| VLAN20_IT | 192.168.10.65 | 192.168.11.4 | 192.168.10.66 | 255.255.255.224 |
| VLAN30_Admin | 192.168.10.97 | 192.168.11.4 | 192.168.10.98 | 255.255.255.240 |
Service: ON
Record 1: puc.com -> Type: A Record -> Address: 192.168.11.3
Record 2: mail.puc.com -> Type: A Record -> Address: 192.168.11.2
Service: SMTP & POP3 ON
Domain Name: puc.com
Users:
1. User: admin | Pass: 123
2. User: it | Pass: 123
3. User: service | Pass: 123
This switch acts as the backbone, connecting Floor 1, Floor 2, and the Core Router.
enable
configure terminal
hostname HQ-Core-SW
# Create VLAN Database
vlan 10
name Service
vlan 20
name IT
vlan 30
name Admin
exit
# Set Trunking on ports to Router (Fa0/1) and Floor Switches (Fa0/2-3)
interface range fa0/1 - 3
switchport mode trunk
switchport trunk native vlan 1
no shutdown
Run these commands on both Floor 1 and Floor 2 switches to assign users to their departments.
enable
configure terminal
# Create VLANs first so the switch recognizes them
vlan 10
vlan 20
vlan 30
exit
# Assigning Service PCs (60 Hosts)
interface range fa0/3 - 5
switchport mode access
switchport access vlan 10
# Assigning IT-PCs (20 Hosts)
interface range fa0/6 - 10
switchport mode access
switchport access vlan 20
# Assigning Admin PCs (10 Hosts)
interface range fa0/11 - 15
switchport mode access
switchport access vlan 30
# Link back to Core Switch
interface fa0/1
switchport mode trunk
| Verification Task | CLI Command | Expected Result |
|---|---|---|
| Check VLANs | show vlan brief |
All ports assigned to 10, 20, 30 |
| Check Trunking | show interface trunk |
Fa0/1 - Fa0/3 should be "trunking" |
| Check DHCP on PC | ipconfig (CMD) |
Address from 192.168.10.x range |
| Check DNS | nslookup puc.com |
Resolves to 192.168.11.3 |
ip helper-address on the router sub-interfaces. This is what allows the Broadcast DHCP packets to cross the router to the 192.168.11.2 server.
enable
configure terminal
hostname HQ-Core-Router
interface gig0/0
no shutdown
interface gig0/0.10
encapsulation dot1Q 10
ip address 192.168.10.1 255.255.255.192
ip helper-address 192.168.11.2
interface gig0/0.20
encapsulation dot1Q 20
ip address 192.168.10.65 255.255.255.224
ip helper-address 192.168.11.2
interface gig0/0.30
encapsulation dot1Q 30
ip address 192.168.10.97 255.255.255.240
ip helper-address 192.168.11.2
exit
interface Serial0/3/0
ip address 200.200.200.1 255.255.255.252
clock rate 64000
no shutdown
interface Serial0/3/1
ip address 201.201.201.1 255.255.255.252
no shutdown
router ospf 1
network 192.168.10.0 0.0.0.255 area 0
network 200.200.200.0 0.0.0.3 area 0
network 201.201.201.0 0.0.0.3 area 0
router rip
version 2
network 192.168.10.0
network 200.200.200.0
network 201.201.201.0
no auto-summary
exit
enable
configure terminal
hostname Server-Core-Router
interface gig0/0
ip address 192.168.11.1 255.255.255.0
no shutdown
interface Serial0/3/0
ip address 200.200.200.2 255.255.255.252
no shutdown
interface Serial0/3/1
ip address 203.203.203.1 255.255.255.252
no shutdown
router ospf 1
network 192.168.11.0 0.0.0.255 area 0
network 200.200.200.0 0.0.0.3 area 0
network 203.203.203.0 0.0.0.3 area 0
router rip
version 2
network 192.168.11.0
network 200.200.200.0
network 203.203.203.0
no auto-summary
exit
enable
configure terminal
hostname ISP-Router
interface gig0/0
ip address 192.168.13.1 255.255.255.0
no shutdown
interface Serial0/3/1
ip address 201.201.201.2 255.255.255.252
no shutdown
interface Serial0/3/0
ip address 202.202.202.1 255.255.255.252
no shutdown
router ospf 1
network 201.201.201.0 0.0.0.3 area 0
network 202.202.202.0 0.0.0.3 area 0
network 192.168.13.0 0.0.0.255 area 0
router rip
version 2
network 201.201.201.0
network 202.202.202.0
network 192.168.13.0
no auto-summary
exit
enable
configure terminal
hostname Branch-Router
interface gig0/0
ip address 192.168.12.1 255.255.255.0
no shutdown
interface Serial0/3/0
ip address 202.202.202.2 255.255.255.252
no shutdown
interface Serial0/3/1
ip address 203.203.203.2 255.255.255.252
no shutdown
router ospf 1
network 192.168.12.0 0.0.0.255 area 0
network 202.202.202.0 0.0.0.3 area 0
network 203.203.203.0 0.0.0.3 area 0
router rip
version 2
network 192.168.12.0
network 202.202.202.0
network 203.203.203.0
no auto-summary
exit
vlan 10
vlan 20
vlan 30
exit
interface range fa0/1-3
switchport mode trunk
interface range fa0/2-10
switchport mode access
interface fa0/1
switchport mode trunk
The Branch Office connects to the ISP and the Server Farm via Serial links, using 192.168.12.0/24 for its local user base. It relies on the HQ Server Farm for DHCP, DNS, and Email services.
enable
configure terminal
hostname Branch-Router
# Local LAN Interface
interface gig0/0
ip address 192.168.12.1 255.255.255.0
ip helper-address 192.168.11.2
no shutdown
# Serial Link to ISP
interface Serial0/3/0
ip address 202.202.202.2 255.255.255.252
no shutdown
# Serial Link to Server Site
interface Serial0/3/1
ip address 203.203.203.2 255.255.255.252
no shutdown
# Dynamic Routing
router ospf 1
network 192.168.12.0 0.0.0.255 area 0
network 202.202.202.0 0.0.0.3 area 0
network 203.203.203.0 0.0.0.3 area 0
router rip
version 2
network 192.168.12.0
network 202.202.202.0
network 203.203.203.0
no auto-summary
exit
enable
configure terminal
hostname BR-Main-SW
# Configure User Ports (fa0/2 to fa0/10)
interface range fa0/2 - 10
switchport mode access
no shutdown
# Uplink to Branch Router
interface fa0/1
switchport mode trunk
no shutdown
exit
In the DHCP Server Services tab, add the following pool to support Branch users:
| Pool Name | Default Gateway | DNS Server | Start IP | Subnet Mask |
|---|---|---|---|---|
| BR_Pool | 192.168.12.1 | 192.168.11.4 | 192.168.12.2 | 255.255.255.0 |
Connectivity between the ISP Main Router and the ISP Floor Router via the 192.168.13.0/24 subnet.
interface gig0/0
ip address 192.168.13.1 255.255.255.0
no shutdown
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
router rip
version 2
network 192.168.13.0
interface gig0/0
ip address 192.168.13.2 255.255.255.0
no shutdown
router ospf 1
network 192.168.13.0 0.0.0.255 area 0
router rip
version 2
network 192.168.13.0
show ip route on either router. You should see the other router's connected networks via O (OSPF) or R (RIP).
This section details the specific security policies implemented to control traffic between the HQ VLANs and the Branch Office (192.168.12.0/24).
Policy: VLAN 10 is completely restricted from communicating with any Branch client.
# Applied on Branch Router
access-list 10 deny 192.168.10.0 0.0.0.63
access-list 10 permit any
interface gig0/0
ip access-group 10 out
Policy: VLAN 20 (Ping Only) and VLAN 30 (Web Only).
# Applied on HQ Core Router
access-list 100 permit icmp 192.168.10.64 0.0.0.31 192.168.12.0 0.0.0.255
access-list 100 deny tcp 192.168.10.64 0.0.0.31 192.168.12.0 0.0.0.255 eq 80
access-list 100 deny icmp 192.168.10.96 0.0.0.15 192.168.12.0 0.0.0.255
access-list 100 permit tcp 192.168.10.96 0.0.0.15 192.168.12.0 0.0.0.255 eq 80
access-list 100 permit ip any any
interface gig0/0.20
ip access-group 100 in
interface gig0/0.30
ip access-group 100 in
| Source VLAN | Action: PING | Action: BROWSE |
|---|---|---|
| VLAN 10 (Service) | DENY | DENY |
| VLAN 20 (IT) | PERMIT | DENY |
| VLAN 30 (Admin) | DENY | PERMIT |
A dedicated server has been added to the Branch Network to test cross-site browsing and verify ACL traffic filtering policies.
Add this record to the Central DNS Server to allow domain resolution:
Name: www.branch.com
Type: A Record
Address: 192.168.12.50
Use these steps to prove the Extended and Standard ACLs are working as intended:
| Source PC | Test Action | Target | Expected Result |
|---|---|---|---|
| VLAN 10 | Any Access | www.branch.com | FAILED (Standard ACL) |
| VLAN 20 | Ping | 192.168.12.50 | SUCCESS |
| VLAN 20 | Browse Web | www.branch.com | TIMEOUT (Extended ACL) |
| VLAN 30 | Ping | 192.168.12.50 | FAILED (Extended ACL) |
| VLAN 30 | Browse Web | www.branch.com | SUCCESS |
www.branch.com doesn't load for VLAN 30, ensure the Branch Router has a route back to the DNS Server (192.168.11.4) so the DNS query can be completed before the HTTP request begins.