Lab 5.1: Small Enterprise Class Lab 2 - squatchulator/Tech-Journal GitHub Wiki
Small Enterprise Class Lab 2
Subnet Table:
Subnet Name | VLAN ID | Network Address | Subnet Mask | Host Range | Default Gateway | DHCP Pool Range |
---|---|---|---|---|---|---|
Clinic | 10 | 10.30.0.0/24 | 255.255.255.0 | 10.30.0.1 to 10.30.0.254 | 10.30.0.1 | 10.30.0.10 to 10.30.0.109 |
Visitor | 20 | 10.30.1.0/24 | 255.255.255.0 | 10.30.1.1 to 10.30.1.254 | 10.30.1.1 | 10.30.1.10 to 10.30.1.109 |
Office | 30 | 10.30.2.0/24 | 255.255.255.0 | 10.30.2.1 to 10.30.2.254 | 10.30.2.1 | 10.30.2.10 to 10.30.2.109 |
Counseling | 40 | 10.30.3.0/25 | 255.255.255.128 | 10.30.3.1 to 10.30.3.126 | 10.30.3.1 | 10.30.3.10 to 10.30.3.49 |
Default | 1 | 10.30.3.128/25 | 255.255.255.128 | 10.30.3.129 to 10.30.3.254 | 10.30.3.129 | 10.30.3.140 to 10.30.3.189 |
Building the network
On Hospital Router:
enable
configure terminal
hostname HospitalRouter
ip routing
vlan 100
name Clinic
vlan 200
name Visitor
vlan 300
name Office
vlan 400
name Counseling
exit
interface vlan 100
ip address 10.30.0.1 255.255.255.0
ip helper-address 10.30.3.130
exit
interface vlan 200
ip address 10.30.1.1 255.255.255.0
ip helper-address 10.30.3.130
exit
interface vlan 300
ip address 10.30.2.1 255.255.255.0
ip helper-address 10.30.3.130
exit
interface vlan 400
ip address 10.30.3.1 255.255.255.128
ip helper-address 10.30.3.130
exit
interface vlan 1
ip address 10.30.3.129 255.255.255.128
ip helper-address 10.30.3.130
exit
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200,300,400
switchport mode trunk
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200,300,400
switchport mode trunk
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,100,200,300,400
switchport mode trunk
interface vlan 1
no shutdown
North & South Core Switches
enable
configure terminal
hostname NorthCoreSwitch (or SouthCoreSwitch)
vlan 100
name Clinic
vlan 200
name Visitor
vlan 300
name Office
vlan 400
name Counseling
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,100,200,300,400
interface FastEthernet0/2
switchport mode trunk
switchport trunk allowed vlan 1,100,200,300,400
interface vlan 1
no shutdown
ON SOUTH CORE SWITCH ONLY:
interface FastEthernet0/3
switchport mode trunk
switchport trunk allowed vlan 1,100,200,300,400
interface vlan 1
no shutdown
North & South Edge Switches
enable
configure terminal
hostname NorthWingSwitch (or SouthWingSwitch)
vlan 100
name Clinic
vlan 200
name Visitor
vlan 300
name Office
vlan 400
name Counseling
interface range FastEthernet0/2-7
switchport access vlan 100
interface range FastEthernet0/8-11
switchport access vlan 200
interface range FastEthernet0/12-17
switchport access vlan 300
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,100,200,300,400
interface vlan 1
no shutdown
Counseling Edge Switch
enable
configure terminal
hostname CounselingEdgeSwitch
vlan 100
name Clinic
vlan 200
name Visitor
vlan 300
name Office
vlan 400
name Counseling
interface range FastEthernet0/2-7
switchport access vlan 100
interface range FastEthernet0/8-11
switchport access vlan 200
interface range FastEthernet0/12-17
switchport access vlan 300
interface range FastEthernet0/18-24
switchport access vlan 400
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan 1,100,200,300,400
interface vlan 1
no shutdown
Data Center Core Switch
enable
configure terminal
hostname DataCenterCoreSwitch
interface FastEthernet0/1
switchport access vlan 1
interface FastEthernet0/2
switchport access vlan 1
interface vlan 1
no shutdown
DHCP Server
Set Default Gateway to 10.30.3.129 & Interface address to 10.30.3.130
Go to Services->DHCP
Add records for each VLAN interface. Make sure to update maximum number of users.
Make sure to return to this and add DNS servers to all of the entries once DNS is configured.
NOTE: You will probably need to toggle on/off the DHCP option on all clients to refresh DNS server.
DNS Server
Set Default Gateway to 10.30.3.129 & Interface address to 10.30.3.131
Go to Services->DNS
Connect the server to DataCenterCoreSwitch
Add these records:
dhcp.hospital.com - 10.30.3.130
dns.hospital.com - 10.30.3.131
web.hospital.com - 10.30.3.132
Web Server
Set Default Gateway to 10.30.3.129 & Interface address to 10.30.3.132