Lab 5 1: Small Enterprise Class Lab - ItsMmmike/NET-330_Tech-Journal GitHub Wiki
In this lab we use Packet Tracer to design and build a small enterprise network for a community healthcare facility
- Cisco Packet Tracer
- Packet Tracer Lab Starter File
For this lab assignment, I used VLSM to create the following Subnet Table as shown below:
VLAN | VLAN_NAME | Hosts Needed | Network | Netmask | Router Address | DHCP Pool Range |
---|---|---|---|---|---|---|
10 | Clinic | 300 | 10.20.0.0 | /23 | 10.20.0.1 | 10.20.0.2 - 10.20.1.50 |
20 | Visitor | 300 | 10.20.2.0 | /23 | 10.20.2.1 | 10.20.2.2 - 10.20.3.50 |
30 | Office | 300 | 10.20.4.0 | /23 | 10.20.4.1 | 10.20.4.2 - 10.20.5.50 |
40 | Counseling | 150 | 10.20.6.0 | /24 | 10.20.6.1 | 10.20.6.2 - 10.20.6.160 |
1 | Default Subnet | 150 | 10.20.7.0 | /24 | 10.20.7.1 | 10.20.7.1 - 10.20.7.160 |
The completed network should look similar to below:
===
===
(config)# hostname Hospital-Router
Here I configured the following VLANs:
VLAN | VLAN_NAME |
---|---|
10 | Clinic |
20 | Visitor |
30 | Office |
40 | Counseling |
1 | Default Subnet |
I created the new VLANs on the L3 Switch using the commands:
(config)# vlan <VLAN-Number>
(config-vlan)# name <VLAN-Name>
# ip routing
-
ena
>conf t
>int vlan <vlan number>
>ip address <IP_Address> <Subnet_Mask>
ip helper-address <DHCP-Server-IP>
-
no shut
<-- Very Important!!
-
ena
>conf t
>int <int-name>
>switchport trunk encapsulation dot1q
>switchport mode trunk
>no shut
Note: Here, I configured the following interfaces (
Fa0/1 --> Data Center
,Gi0/1 --> North-Core
,Gi0/2 --> South-Core
)
- Lastly, I ran
copy run start
on my L3 switch to save the current running config
On the Data Center Core Switch, I used the following config as shown below. Not much trunk port setup was needed here as all network traffic occurred through the Default VLAN 1.
Setting Hostname:
-
ena
>conf t
>hostname Data-Center-Core
From here, I connected a Crossover Ethernet cable from interface port Gi0/1
to the Hospital Router.
===
-
ena
>conf t
>hostname North/South-Core
I used the following command to configure the necessary VLANs for both Core Switches:
-
ena
>conf t
>vlan <VLAN-Number>
>name <VLAN-Name>
This was used to configure the following VLANs as shown in the table below:
VLAN | VLAN_NAME |
---|---|
10 | Clinic |
20 | Visitor |
30 | Office |
During this lab, I decided to set interfaces Gi0/1 (To Router) and Gi0/2 (To Edge) as trunk ports.
I was able to configure the Trunk Ports on my Core Switches using the following command on each interface port:
-
ena
>conf t
>int <interface-name>
>switchport mode trunk
>no shut
copy run start
===
-
ena
>conf t
>hostname North/South_Wing_Switch
I used the following command to configure the necessary VLANs for both Core Switches:
-
ena
>conf t
>vlan <VLAN-Number>
>name <VLAN-Name>
This was used to configure the following VLANs as shown in the table below:
VLAN | VLAN_NAME |
---|---|
10 | Clinic |
20 | Visitor |
30 | Office |
-
ena
>conf t
>int gi0/1
>switchport mode trunk
>no shut
Here I used interface gi0/1 as the trunk port for both the North and South Edge Switches (which would be connected to the respective Core Switches)
On each Edge Switch, 6 access ports are needed for the Clinic, 4 ports are needed for Visitors, and 6 access ports are needed for the Office. The following commands below were used to configure the necessary Access Ports for this environment:
-
ena
>conf t
>int range <range-here>
>switchport access vlan <VLAN-Number>
>no shut
Note: The Access Ports were assigned as follows - [Fa0/1-6 = Clinic], [Fa0/7-12 = Office], [Fa0/13-16 = Visitor]
copy run start
In order to configure network access for the Counseling Center, I applied the following configs to the South Core Switch:
===
-
ena
>conf t
>vlan 40
>name Counseling
-
ena
>conf t
>int fa0/1
>switchport mode trunk
>no shut
copy run start
For the Counseling Switch I used a similar config as the North/South Edge Switches
===
-
ena
>conf t
>hostname Counseling_Center_Switch
-
ena
>conf t
>vlan 40
>name Counseling
Note: Only 1 VLAN is needed for this switch as it only handles network traffic for the Counseling Subnet.
-
ena
>conf t
>int gi0/1
>switchport mode trunk
>no shut
The Gi0/1 Trunk Port would be connected to the South-Core Trunk Port Fa0/1 via an ST Ethernet cable.
Lastly, I configured ports Fa0/1-10 as access ports for the Counseling Center Switch
-
ena
>conf t
>int range fa0/1-10
>switchport access vlan 40
>no shut
copy run start