Lab 5.1 Small Enterprise Class Lab

Using Packet tracer version 8.1
Name
Hosts Needed
Hosts Available
Unused hosts
Network Address
Slash
Mask
Usable Range
Broadcast
VLAN

Clinic (VLAN 100)

300

510

210

10.26.0.0

/23

255.255.254.0

10.14.0.1 - 10.26.1.254

10.26.1.255

100

Visitor (VLAN 200)

300

510

210

10.26.2.0

/23

255.255.254.0

10.26.2.1 - 10.26.3.254

10.26.3.255

200

Office (VLAN 300)

300

510

210

10.26.4.0

/23

255.255.254.0

10.26.4.1 - 10.26.5.254

10.26.5.255

300

Default (VLAN 1)

150

254

104

10.26.6.0

/24

255.255.255.0

10.26.6.1 - 10.26.6.254

10.26.6.255

1

Counseling (VLAN 400)

150

254

104

10.26.7.0

/24

255.255.255.0

10.26.7.1 - 10.26.7.254

10.26.7.255

400

Network Diagram

Configure MLS

Add VLANs

enable
configure terminal
vlan 100
name Clinic

vlan 200
name Visitor

vlan 300
name Office

vlan 400
name Counseling

Enable Routing

enable
configure terminal
ip routing
interface vlan 100
ip address 10.26.0.1 255.255.254.0
exit

ip routing
interface vlan 200
ip address 10.26.2.1 255.255.254.0
exit

ip routing
interface vlan 300
ip address 10.26.4.1 255.255.254.0
exit

ip routing
interface vlan 1
ip address 10.26.6.1 255.255.255.0
no shutdown
exit

ip routing
interface vlan 400
ip address 10.26.7.1 255.255.255.0
exit

Configure trunk ports to connect to core switches

interface range FastEthernet 0/1-3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan add 1
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 200
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 400

Save Configuration to startup

exit
copy running-config startup-config

DHCP Helper Address

configure terminal
interface vlan 100
ip helper-address 10.26.6.2

interface vlan 200
ip helper-address 10.26.6.2

interface vlan 300
ip helper-address 10.26.6.2

interface vlan 400
ip helper-address 10.26.6.2

interface vlan 1
ip helper-address 10.26.6.2

Configure North Core and South Core

Add VLANS

enable
configure terminal
vlan 100
name Clinic

vlan 200
name Visitor

vlan 300
name Office

vlan 400
name Counseling

Configure trunk ports to connect router and edge switch

enable
configure terminal
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 200
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 1
switchport trunk allowed vlan add 400

Configure North Wing/South Wing/Counseling

Add VLANS

enable
configure terminal
vlan 100
name Clinic

vlan 200
name Visitor

vlan 300
name Office

vlan 400
name Counseling

Assign Ports:

  • Assign 6 ports to Clinic

  • Assign 4 ports to Visitor

  • Assign 6 ports to Office

  • No specification for Counseling and Default

enable
configure terminal
interface range FastEthernet0/2-7
switchport access vlan 100
exit

interface range FastEthernet0/8-11
switchport access vlan 200
exit

FastEthernet0/12-17
switchport access vlan 300
exit

FastEthernet0/18-20
switchport access vlan 400
exit

FastEthernet0/21-23
switchport access vlan 1
exit

Configure trunk port to connect core switch

enable
configure terminal
interface FastEthernet0/1
switchport mode trunk
switchport trunk allowed vlan add 100
switchport trunk allowed vlan add 200
switchport trunk allowed vlan add 300
switchport trunk allowed vlan add 1
switchport trunk allowed vlan add 400

Configure Data Center Core

Add VLANS

enable
configure terminal
vlan 100
name Clinic

vlan 200
name Visitor

vlan 300
name Office

vlan 400
name Counseling

DHCP Helper:

interface range FastEthernet0/2-4
switchport access vlan 100

DHCP-server

  • Server IP address from your default

    • VLAN: 10.26.6.2/24

    • Gateway 10.26.6.1/24

  • Make sure that the connection between the Data-Center-Core and the DHCP server is a trunk connection

  • Go into the DHCP Server

  • Go to Services > DHCP

  • Turn ON

  • Set the IP address and default gateway of the server

  • Input pool names as seen below:

Connect Clients

  • In the IP address settings of the clients make sure you change them from Static to DHCP

  • DHCP will assign address automatically once clients are connected

  • Make sure you connect the clients to the correct port

PC with proper DHCP address

PC's on different subnets pinging one another

  • South Office (10.26.4.3) pinging Counseling PC (10.26.7.2)

North PC pinging South PC

  • North PC (10.026.0.3) ping 10.26.0.2

Configure DNS

  • Set DNS server addresses:

    • IP: 10.26.6.3/24

    • Default Gateway: 10.26.6.1

  • Go to services tab > DNS

  • Turn DNS ON

  • Configure the A-records as seen below:

Update the DNS-server in the DHCP-pools

Successful DNS resolution

  • ipconfig /renew (north clinic 10.26.0.3)

    • You should see the ip address of the DNS server show up (10.26.6.3)

  • Ping dhcp.station.two.com

Last updated