Small Enterprise Class Lab - devinziegler/Devin-Tech-Journal GitHub Wiki
Subnet Table for this Lab
VLAN | VLAN Name | Hosts Needed | Network | Netmask | Router Address | DHCP Pool |
---|---|---|---|---|---|---|
1 | Management | 150 | 10.1.7.0 | 255.255.255.0 | 10.1.7.1 | 7.10 - 7.160 |
200 | Clinic | 300 | 10.1.0.0 | 255.255.254.0 | 10.1.0.1 | 0.10 - 1.10 |
300 | Visitor | 300 | 10.1.2.0 | 255.255.254.0 | 10.1.2.1 | 2.10 - 3.10 |
400 | Office | 300 | 10.1.4.0 | 255.255.254.0 | 10.1.4.1 | 4.10 - 5.10 |
500 | Counseling | 150 | 10.1.6.0 | 255.255.255.0 | 10.1.6.1 | 6.10 - 6.160 |
At any point the current VLAN table can be viewed in the cli using
do show vlan
- Enable Routing
ip routing
- Add VLANS to router
vlan <number>
name <vlan_name>
- Add IP Address to VLAN interfaces
interface vlan <vlan#>
ip address <ip_address> <subnet_mask>
- Configure Trunk Ports on Core Switches
interface range GigabitEthernet0/1-2
switchport mode trunk encapsulation dot1q
switchport mode trunk
- Add VLANS to switch
- Configure Trunk port and Connect to
Hostpital Router
and connect viaGigabitEthernet
int range gigabitEthernet0/1-2
switchport mode trunk
Add VLANS to switch as shown above
- Assign 6 ports to Clinic (6 - 11 VLAN 200)
int range FastEthernet 0/6-11
switchport access vlan 200
- Assign 4 ports to Visitor (12 - 15 VLAN 300)\
int range FastEthernet 0/12-15
switchport access vlan 300
- Assign 6 ports to Office (16 - 21 VLAN 400)
int range FastEthernet 0/16-21
switchport access vlan 400
- Configure trunk port and connect to switch
int GigabitEthernet 0/1
switchport mode trunk encapsulation dot1q
switchport mode trunk
Complete the IP pools like shown in the table above
In the Hostpital Router
enter the cli and do the following for each subnet:
int vlan <vlan#>
ip helper-address <dhcp_server_ip>
Make sure the DHCP service is started on the server