switched lan - files.transtutors.com€¦  · web viewpcs in lan1 (pc1, pc2, pc3 and pc4) will...

21
SHERIDAN COLLEGE COURSE TELE33324: Data Network Design and Configuration PROFESSOR Khaled Mahmud ACTIVITY Setting up a Switched LAN (using Packet Tracer) GROUP NUMBER Individual Work A. OBJECTIVES Packet tracer Setting a SOHO network with switched LAN Learning IP configuration Testing connectivity B. REQUIRED RESOURCES PC with enough CPU power and RAM Packet Tracer software C. REFERENCES [1] Netacad, “Introduction to Packet Tracer”, https://www.netacad.com/courses/intro-packet-tracer/ ©Khaled Mahmud 1 | Page

Upload: others

Post on 23-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

SHERIDAN COLLEGECOURSE TELE33324: Data Network Design and Configuration

PROFESSOR Khaled Mahmud

ACTIVITY Setting up a Switched LAN (using Packet Tracer)

GROUP NUMBER Individual Work

A. OBJECTIVES

Packet tracer

Setting a SOHO network with switched LAN

Learning IP configuration

Testing connectivity

B. REQUIRED RESOURCES

PC with enough CPU power and RAM

Packet Tracer software

C. REFERENCES

[1] Netacad, “Introduction to Packet Tracer”, https://www.netacad.com/courses/intro-packet-tracer/

©K h a l e d M a h m u d 1 | P a g e

Page 2: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

D. INTRODUCTION

Packet tracer is a network simulation software by Cisco, used primarily for Cisco certification related Labs. Even though it does not 100% emulate hardware, but it provides very close simulation of cisco devices. Moreover, it provides a lot of end-device (e.g. PC, server, laptops with wifi interfaces, and a lot for telephony and IoT).

Thanks to its rich GUI, Packet tracer is pretty straight forward to use. For creating topologies, you just have drop icons for required device (e.g. routers, switches, desktops, servers, smartphones, etc.) from the library. Then connect the devices using the required interfaces/link types (e.g. fastethernet, gigabitenternet, straight-through cable, cross-over cable, console cable, etc.)

In this activity, you will create a simple SOHO (Small Office Home Office) network using a number of switches, one router and some end devices.

E. PACKET TRACER INSTALLATION

Follow these steps below to install Packet tracer from Cisco Network Academy site.

1. Go to https://www.netacad.com/courses/packet-tracer-download/

2. Enroll into the course “Introduction to Packet Tracer”, (you will need to create an account, if you don’t have already).

3. Logon to your account (and the course).

4. Read "First Time in This Course", and go Next (Packet Tracer download link is in the ‘Introduction’).

5. Download and install Packet Tracer (also referred to as PT interchangeably).

6. From the enrolled course (Introduction to Packet Tracer), study at least Chapter 1 and 2 to learn about the features and GUI of software.

©K h a l e d M a h m u d 2 | P a g e

Page 3: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

F. PROCEDURE PART I: CREATE TOPOLOGY

(Prerequisite: Must complete the previous section of installation and ‘Introduction to PT, chapter 1, 2)

1. Start PT using your credentials. A new default topology will be presented. Save the file as ‘YourName-Act3.pkt’. (Make sure to use your name in the file name. 10% deduction for wrong file name).

2. Drop the following nodes in the topology.

3. Follow Fig. 1 to connect the nodes.

4. Rename nodes using your initials and nodes type and number. Follow the pattern of the figure.

Table 1: Node list

Node type Count Description

Router (2811)

1 This router will serve as the gateway for LAN1 and LAN2, interconnecting both the LANs.

Interface Fa0/0 will serve LAN1. IP address of this interface will be 10.YY.1.1.

Interface Fa0/1 will serve LAN2. IP address of this interface will be 10.YY.2.1.

Also, the router will take traffic to the outside world, when connection to an ISP.

Here YY is last two digits of your student number.

You need to configure the router to act the way you want.

Switch (2960-24TT)

6 3 switches per LAN.

Sw10 and Sw20 are for aggregating traffic from the lower switches.

Other switches provide connectivity to the end nodes (PCs)

PC (Generic, PC-PT)

8 4 PCs per LAN.

PCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet.

Similarly, PCs in LAN2 (PC5, PC6, PC7 and PC8) will have IP address from the subnet 10.YY.2.0/24 subnet.

For the PCs to be able to send and receive packets, you need set IP, subnet mask, gateway router and DNS server IP address in the PCs.

Server (Generic, Server-PT)

2 Serv1 (IP: 10.YY.2.100) will be used to as DNS server.

Serv2 (IP: 10.YY.2.200) will be used as Web server.

You need to configure these devices to act as proper server.

©K h a l e d M a h m u d 3 | P a g e

Page 4: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 1: Network Topology

©K h a l e d M a h m u d 4 | P a g e

Page 5: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

F. PROCEDURE PART II: IP CONFIGURATION

1. Follow Table 2 to configure IP settings in the PCs, servers and the router. Click on a node to get the configuration dialog box.

2. Use the pattern of Fig.2a to configure all the PCs.

3. Use the pattern of Fig.2.c and Fig.2d to configure the servers.

4. Use the pattern of Fig.2.e and Fig.2.f to configure IP addresses of the router’s interfaces.

Table 2: IP Configuraiton of LAN1 PCs

Node Configuration Description

PC1 (PC2, PC3, PC4)

IP Address: 10.YY.1.10 (11, 20, 21)

Subnet Mask: 255.255.255.0

Default Gateway: 10.YY.1.1

DNS Server: 10.YY.2.100

All the nodes connected to LAN1 will have 1 in the third octet of their IP addresses.

In this activity, we are using static IP configuration, i.e. there is DHCP server in the network for automatic IP configuration, we manually setting IP address parameters in the nodes.

Important: Replace YY with the last two digits of your student number. In the example congifurations of this handout, I am using 99. Do not use 99 unless 99 is the last two digits of your student number.

PC5 (PC6, PC7, PC8)

IP Address: 10.YY.2.30 (31, 40, 41)

Subnet Mask: 255.255.255.0

Default Gateway: 10.YY.2.1

DNS Server: 10.YY.2.100

All the nodes connected to LAN2 will have 2 in the third octet of their IP addresses.

Serv1 (DNS server)

IP Address: 10.YY.2.100

Subnet Mask: 255.255.255.0

Default Gateway: 10.YY.2.1

DNS Server: 10.YY.2.100

Serv2 (Web server)

IP Address: 10.YY.2.200

Subnet Mask: 255.255.255.0

Default Gateway: 10.YY.2.1

DNS Server: 10.YY.2.100

Router Fastethernet 0/0 (Fa0/0):: Two interfaces of the router are connected to 2 LANs.

©K h a l e d M a h m u d 5 | P a g e

Page 6: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

IP Address: 10.YY.1.1

Subnet Mask: 255.255.255.0

Fastethernet 0/1 (Fa0/1)::

IP Address: 10.YY.1.1

Subnet Mask: 255.255.255.0

Note that you don’t need to set the default gateway for a router.

Important: Don’t forget to turn on the router (see the Figure)

Figure 2a: IP Configuration Icon in PT

©K h a l e d M a h m u d 6 | P a g e

Configure IP here.

Page 7: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 2b: PC IP settings (PC1 example)

©K h a l e d M a h m u d 7 | P a g e

Select Static setting (i.e. no DHCP server in the network.)

Page 8: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 2c: Serv1 IP settings

Figure 2d: Serv2 IP settings

©K h a l e d M a h m u d 8 | P a g e

Page 9: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 2e: R1’s Fa0/0 interface IP settings

©K h a l e d M a h m u d 9 | P a g e

Page 10: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 2f: R1’s Fa0/1 interface IP settings

©K h a l e d M a h m u d 10 | P a g e

Page 11: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

F. PROCEDURE PART III: TESTING CONNECTIVITY WITHIN LANS

Now that all the IP addresses are configured, all the nodes within a LAN should be able to reach (IP-wise) other nodes in the corresponding LAN. Also, because of the presence of the Router between the two LANs, nodes in one LAN should be able to reach the nodes in other LAN.

1. Perform Ping test for connectivity within LAN1 : Go to the command prompt of PC1. Ping all other nodes (PC2, PC3, PC4, and F0/0 interface of R1) in LAN1. Take a clear screenshot and present as Output#2. A sample is given Fig.3.

2. Perform Ping test for connectivity within LAN2 : Go to the command prompt of PC5. Ping all other nodes (PC6, PC7, PC8, Serv1, Serv2, and F0/1 interface of R1) in LAN2. Take a clear screenshot and present as Output#3. If required, take multiple screenshots, and present sequentially.

3. Perform Ping test for connectivity between LAN1 and LAN2: Go to the command prompt of PC2. Ping all nodes of LAN2 (PC6, PC7, PC8, Serv1, Serv2, and F0/1 interface of R1) in LAN2. Take a clear screenshot and present as Output#4. If required, take multiple screenshots, and present sequentially.

©K h a l e d M a h m u d 11 | P a g e

Page 12: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 3: From PC1, Pinging all other nodes

©K h a l e d M a h m u d 12 | P a g e

Pinging the gateway (R1’s F0/0 interface) of the LAN.

Pinging PC2.

Pinging PC3.

Pinging PC4.

Page 13: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

F. PROCEDURE PART IV: CONFIGURE AND TEST THE SERVERS

With all node properly reaching each other, it’s time to extend the functionality of the network. Let’s setup a DNS server and web server. We already the required nodes placed in the topology. Now we will configure the nodes to act as appropriate servers.

CONFIGURE DNS SERVER

1. In Serv1, go to Services tab, select DNS from the left menu.

2. Turn on the DNS service.

3. Add an ‘A Record’ (IPv4 domain name record) to point to your web server’s (Serv2) IP address. Your domain name should be of the pattern: FLweb.net, where FL is your initials. See Fig. 4 for the pattern.

Figure 4: DNS server settings

©K h a l e d M a h m u d 13 | P a g e

Turn on the server

Added DNS record.

Use your initial for your webpage, using this pattern.

Page 14: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

CONFIGURE HTTP (WEB) SERVER

1. In Serv2, go to Services tab, select HTTP from the left menu.

2. You will see that both HTTP and HTTPS (secure version of HTTP) services are already on.

3. Edit the index.html file (this file contains the default page for this site) to personalize you network. See Fig.5 for the pattern.

Figure 5a: HTTP (web) server settings

©K h a l e d M a h m u d 14 | P a g e

Edit index.html page.

Page 15: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 5b: HTTP (web) server’s index.html page (default page)

TEST THE SERVERS

1. Open the Web Browser from PC4. Type the URL of your web server (e.g. www.kmweb.net).

2. Since DNS server is running, PC4 will be able to resolve the URL (www.kmweb.net) to its corresponding IP address (in my case 10.99.2.200).

3. Since Web server in running in 10.99.2.200, you should be able to see the default page. A sample output is given in Fig. 6.

4. Take a clear screenshot and present as Output#5.

©K h a l e d M a h m u d 15 | P a g e

Personalize your network’s webpage. Replace with your name.

Page 16: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

Figure 6: Web server’s index.html page accessed from PC1

G. FINALLY

1. Annotate the topology as shown in Fig. 1. Take a clear screenshot. Place it as Output#1. Make sure all elements of Fig.1 is present in the diagram.

2. Save all your work. Show to the professor when asked. Failure to show the PT project, working as reported, will result in zero mark in the activity.

©K h a l e d M a h m u d 16 | P a g e

Make sure your web page is personalized.Make sure your web page is personalized.

Page 17: Switched LAN - files.transtutors.com€¦  · Web viewPCs in LAN1 (PC1, PC2, PC3 and PC4) will have IP address from the subnet 10.YY.1.0/24 subnet. Similarly, PCs in LAN2 (PC5, PC6,

H. REPORT SUBMISSION CHECKLIST

To Do Done

1 Save the project and show to the professor, when asked.

2 (i) Use the report template. (ii) Write the objectives of the assignments in your own words.(iii) Fill up all the Output boxes/tables in the Output section. Add more

output boxes as needed. Copy and place the table/captures in appropriate output boxes of your report.1) Output1: Completed, annotated topology2) Output2: Ping results from PC1 for LAN13) Output3: Ping results from PC5 for LAN24) Output4: Ping results from PC2 for LAN25) Output5: Web server access from PC4

Note: If you are not getting results as expected, give more screenshots in the report to show me you configurations in various stages/nodes.

3 Give appropriate output number and title to all the output boxes. (10% marks)

4 For each output, provide your observation, explanation, analysis, in the discussion box.

5 Rename this file according to your name(s) (10% deduction for wrong file name). (Example name of file: JohnRoss-AssingA1.docx)

6 Make sure the form in the cover page is filled up.

7 Submit the report in SLATE dropbox.

©K h a l e d M a h m u d 17 | P a g e