Lab 05‐1 - LPouliot/Junior-Spring-NET-330-01-Network-Design GitHub Wiki

Lab 5-1: Small Enterprise-Class Lab

Pre-Lab:

Open Packet Tracer and go to - Options - Preferences - Miscellaneous

Set Auto File Backup Interval to 1 minute

image

Save your workspace as NET-330-Lab-5-1-name

  • You need to save the file before auto backup starts working

image

Design

Plan IP Address/Subnet scheme:

Use 10.22.0.0

Create a table for the IP subnets that includes

  • Network Address, Subnet Mask, VLAN ID, Host Ranges, Default Gateway (Router) and DHCP pool ranges

You need to include the following subnets:

  • Default Subnet (VLAN 1) used for networking services such as DHCP and DNS (150 IP's)
  • "Clinic" VLAN used for Dr.'s and Nurses (300 IP's)
  • "Visitor" VLAN used by patients and guests (300 IP's)
  • "Office" VLAN used for administrative staff (300 IP's)
  • "Counseling" VLAN used by mental health practice (150 IPs)

Troubleshooting

/23 networks are picky!

  • They do not like odd numbers in their IP addresses
  • EX:

BAD - 10.22.3.0

GOOD - 10.22.2.0

Full Subnet Table

VLAN Number VLAN Name Hosts Needed Network Address Netmask Router Addresses Host Ranges CIDR
100 Clinic 300 10.22.0.0 255.255.254.0 10.22.0.1 10.22.1.2-254 /23
200 Visitor 300 10.22.2.0 255.255.254.0 10.22.2.1 10.24.1.2-254 /23
300 Office 300 10.22.4.0 255.255.254.0 10.22.4.1 10.26.1.2-254 /23
400 Counseling 150 10.22.6.0 255.255.255.0 10.22.6.1 10.28.1.2-255 /24
1 Deafult 1 150 10.22.7.0 255.255.255.0 10.22.7.1 10.22.0.2-255 /24

Design the network in Packet Tracer

Create Border/Distribution, Core, and Edge boundaries

NOTE: we will be using 1 Distribution area in this lab for simplicity - and the single Distribution Switch/Router is also the Border Router

Edge: North Wing switch, South Wing switch, and Counseling Center switch (South Wing):

  • use 2960's

Core: North-Core, South-Core, and Data-Center-Core switches

  • use 2960's
  • Add 2 servers to the core - one will be for DNS and one for DHCP

Border/Distribution: Hospital Router

  • Use 3560 Multilayer Switch

Screenshot of Packet Tracer Workspace

image

Build:

1. Configure Hospital Router

Enable Routing

(config)#ip routing

Add VLANs to Router

Needed VLANS

  • (VLAN interfaces act as the default gateway for the Distribution Area VLANs)
VLAN Number VLAN Name Netmask Router Addresses
100 Clinic 255.255.254.0 10.22.0.1
200 Visitor 255.255.254.0 10.22.2.1
300 Office 255.255.254.0 10.22.4.1
400 Counseling 255.255.255.0 10.22.6.1
1 Deafult 1 255.255.255.0 10.22.7.1

#config terminal

(config)#vlan ##

(config-vlan)#name (name)

(config)#interface vlan ##

(config-if)# no shutdown

(config-if)#ip address (Address) (MAC/Mask)

Add IP addresses to VLAN interfaces

Remember VLAN 1 will be "down" by default on the Router - so need to use the "no shutdown" command

image

To save the current configuration:

Switch# copy running-configuration startup-configuration or

Switch# copy run start

Switch# show run

image

Configure trunk ports to connect to core switches

  • First Three Interfaces

Router>enable

#config terminal

(config-if)#int fa0/(num)

(config-subif)#switchport trunk encapsulation dot1q

switchport mode trunk

2. Configure North-Core and South-Core Switch

Add VLANS

image

Configure trunk ports to connect router and edge switch

  • All fa/01 connections to the router are trunked
  • All fa/02 connections with the Edge Switches are trunked

image

Configure North Wing and South Wing Edge Switch

North Wing:

  • 1
  • 100
  • 200
  • 300

(config)#interface vlan ##

(config-if)# no shutdown

South Wing:

  • 1
  • 100
  • 200
  • 300

(config)#interface vlan ##

(config-if)# no shutdown

Configure trunk port to connect core switch

  • All fa/01 connections to the Core switches are trunked

image

Assigning more than one port at once:

Switch(config)# interface range FastEthernet 0/#-#

Switch(config)# switchport access vlan ###

Assign 6 ports to Clinic (100)

  • 3 - 8

Assign 4 ports to Visitor (200)

  • 9 - 12

Assign 6 ports to Office (300)

  • 13 - 18

To save the current configuration:

Switch# copy running-configuration startup-configuration or

Switch# copy run start

4. Configure Data-Center-Core switch

Only uses VLAN 1 (so minimal config required)

(config)#interface vlan 1

(config-if)# no shutdown

Connect Data-Center-Core to Router (Trunk not required on either side)

  • Connected from fa/01 to fa/02

5. Configure DHCP Server

Assign DHCP server proper address

On: VLAN 1

IP: 10.22.7.2

Mask: 255.255.255.0

Default Gateway: 10.22.7.1

Create DHCP pools for the client VLANs

  • serverPool is the Default Pool and cannot be removed.
  • You will use this pool for VLAN 1 Management

Default:

Default G: 10.22.7.1

DNS: 0.0.0.0

Start IP: 10.22.7.20

Sub Mask: 255.255.255.0

Clinic:

Default G: 10.22.0.1

DNS: 0.0.0.0

Start IP: 10.22.0.20

Sub Mask: 255.255.254.0

Visitor:

Default G: 10.22.2.1

DNS: 0.0.0.0

Start IP: 10.22.2.20

Sub Mask: 255.255.254.0

Office:

Default G: 10.22.4.1

DNS: 0.0.0.0

Start IP: 10.22.4.20

Sub Mask: 255.255.254.0

image

Remember to turn DHCP Service "On" in the PT services window

Go to the Services tab and enable DHCP

image

Connect server to Data Center Core switch

To get DHCP working - don't forget "Helper"

  • To get DHCP broadcasts from your user VLANs, you need to tell the router to forward them to your DHCP server.

  • This is done with the "ip helper-address" vlan interface configuration

  • Use "ip helper-address" to provide the IP address of the DHCP server

DHCP IP - 10.22.7.2

image

Go into the configuration on your Laptops and change the Gateway from static to DHCP

SUBMISSION: Screenshot of a PC with proper DHCP address (config page in PT)

image

image

SUBMISSION Screenshot of PC's on different subnets pinging one another

image

6. Configure clients in North Wing Edge

You should now have DHCP working so it should be easy

Make sure connecting to the correct ports for the VLAN

Switch(config)# interface range FastEthernet 0/#-#

Switch(config)# switchport access vlan ###

Assign 6 ports to Clinic (100)

  • 3 - 8

Assign 4 ports to Visitor (200)

  • 9 - 12

Assign 6 ports to Office (300)

  • 13 - 18

SCREENSHOT: North PC pinging South PC

image

image

7. Configure DNS Resource to help

Assign appropriate IP address to the DNS server

On: VLAN 1

IP: 10.22.7.3

Mask: 255.255.255.0

Default Gateway: 10.22.7.1

Connect to Data-Center-Core

Enable DNS services

Go to the Services tab and enable DNS

image

Create A Records for your two servers:

  • ns.station-number-word.com (e.g. ns.twelve.com)

Uses the DNS IP address

  • dhcp.station-number-word.com (e.g. dhcp.twelve.com)

Uses the DHCP IP address

image

Update DHCP server to assign DNS server to clients

  • Enter DHCP and include 10.22.7.3 in the DNS Server section

image

Verify that clients can resolve server IP's

  • Click DHCP on and off

image

SUBMIT: Screenshot of successful DNS resolution

image