Cisco Packet Tracer for Beginners – Chapter 1: Startup Guide

In our last chapter, we saw how to install Packet Tracer in both Windows and Linux. Now we will see how to use it. I have made this guide keeping absolute beginners in mind and when I say absolute beginners, I mean really absolute beginners. As part of this guide, we are going to create a star topology and see the difference between hub and a switch.

Open Packet Tracer. On the lower left corner, there are all the components required for creating our network. There are routers, switches, End devices, Hubs, Wireless Devices, and Connections etc.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 38

Click on “Hubs”. To the right, you should see types of hubs displayed. Click on the first type ‘Generic’, and drag your mouse to the workspace above and click on the point you want to place your hub as shown below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 39

Click on the hub we just placed in our workspace. You are shown the physical view of the hub and it is a physical view literally. You can even see the Power button of the hub.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 40

Click on the “Config” tab just beside the “Physical” tab. You are shown the global settings of the hub. You can change the display name of the hub. Change it from “Hub0” to “Hub”. Then close it.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 41

Now we are going to place five computers around the hub to form Hub and Spoke topology. From the components on the lower left corner click on “End devices”. From the options displayed, click on the first choice called “Generic” hold “CTRL” key and click on the workspace at five points around the hub where you want to place your computers. This is a shortcut to place many devices.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 42

Click on any “PC” we just placed. You should see something similar to “CPU”. This is the physical view of the PC. We can even see the Power button

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 43

Click on the “Config” tab beside “Physical” tab. On the global settings, change the name of the PC to “PC 2”. On gateway/ DNS select “DHCP”. We will set up a DHCP server to assign IP addresses to the PC’s. You can have a look at other tabs beside “Config” tab.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 44

Perform this action for other PC’s also and name them differently. Then from “End Devices” select “Server” and place it on the workspace as below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 45

Click on “Server”. Go to “Config” tab. Here, we can configure Static IP address / Gateway / Subnet Mask. Click on the INTERFACE “FastEthernet0” to the left. Set IP configuration as static and give “IP address” as 192.168.0.254 and “Subnet Mask” as “255.255.255.0”.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 46

Click on the GLOBAL “Settings” to the left. Set IP configuration as static and give “Gateway” as 192.168.0.1 and “DNS Server” as “8.8.8.8”.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 47

Go to “Services” tab. We can see the services which can be configured on our servers HTTP, DHCP etc etc.

Click on “DHCP”. Keep the Pool Name, change Default Gateway and DNS server same. Give “Starting IP address” as “192.168.0.10” and “Subnet Mask” as “255.255.255.0” and “Maximum number of Users” as “150”Turn On DHCP service if it is OFF. Click on “Save”. Close the window.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 48

Now all we need is connecting our devices to create a network. In the components to the lower left corner, Click on “Connections”.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 49

Different types of cabling are displayed. Here’s where Packet tracer assists in our learning abilities. If you are not sure what type of wiring to use, click on the first choice ‘automatic’.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 50

Then on the workspace, click on “Server” and then click on the “Hub”. A connection is established. If the connection end points are red, then there is some problem with your wiring. If end points show green,then your wiring is alright.( We learn that we have to use copper straight through cabling in Star Topology.)

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 51

Do the same for all connections as shown below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 52

Request DHCP addressing for the PCs. Click each PC and click the Desktop tab > IP Configuration.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 53

Click DHCP and wait until the DHCP request is successful.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 54

After Configure Request DHCP addressing for all PCs, hover the mouse over the systems to check if IP addresses are assigned or not.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 55

Now let’s see the functioning of the hub. Click on “Simulation” beside “Real-time” as shown below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 56

The Event List window will open. Click on “Edit Filters”. We will see various protocols.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 57

Deselect “Show All/ None” option. All options are deselected. Then Select ICMP option. What we are doing is trying to ping the machine.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 58

Close the Event List window.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 59

Click on “Add Simple PDU” as shown below. When we move the mouse on the workspace we can see a white envelope moving along with the mouse.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 60

First click on the sending device( Click on “PC0” ). Then select the receiving device (Click on the “Server” ). It should be clear to you that we are pinging the server from PC0. Our screen would look like below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 61

Now let us see how packets travel from PC0 to the Server we are trying to ping. Click on “Capture/ Forward” as shown below.

Click on “Capture/ Forward” again. The ping travels from PC0 to the hub.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 62

Click on “Capture/ Forward” again. The hub forwards the frame on all the ports, except the port through which the frame came in. All hosts except Server discard the frame since it is not addressed to them.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 63

Click on “Capture/ Forward”. The server forwards a frame to the hub.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 64

Click on “Capture/ Forward”. The hub once again forwards the frame on all ports except the input port. All hosts except PC0 discard it since it is not addressed to them. The simulation success message is shown as below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 65

To see the list of complete events undergone in this communication, Click on “Event List” as shown below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 66

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 67

As already seen Hubs forward a frame they receive on all the outbound ports except the port through which it received the frame. When connected using hubs, the host devices share same bandwidth of the medium. Since they share the same bandwidth, hosts can send frames at the same time on the medium which can result in collisions.

In order to prevent frame collisions, Ethernet uses “Carrier Sense Multiple Access/ Collision detect (CSMA? CD)”. Of course this prevents collisions but it still consumes a lot of bandwidth. The only solution is to this problem is to make the collision domain as small as possible. Let’s see how. Click on “Delete” as shown below.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 68

Click on the hub. This will delete the hub and also the connections.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 69

Replace it with a “2960” switch and make the connections in the same way as done previously.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 70

Add a simple ICMP PDU as done previously.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 71

Click on “Capture/ Forward”. The first frame travels to the switch.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 72

Click on “Capture/ Forward” again. The switch forwards the frame only to the Server, it’s intended destination.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 73

Subsequently the frame is forwarded to switch which forwards it to PC0 thus completing the communication.

Cisco Packet Tracer for Beginners - Chapter 1: Startup Guide 74

Now How does this happen? This happens because a switch creates only one collision domain per port forwarding frames only on the outbound port that reaches the destination of the frame. Since the hosts work in their own isolated collision domain, frames will never collide thus solving the problem of collisions. I think you now understood the working of not only hub and switch but also how to use Cisco Packet Tracer. As we move further, we will see some of the practical examples.

Subscribe
Notify of
guest

9 Comments
Inline Feedbacks
View all comments
Evgeni
Evgeni
3 years ago

very this help me thanks you come again, <333333

THE ARRIVAL
THE ARRIVAL
4 years ago

thanks for the clear explaing

Mbongiseni
Mbongiseni
5 years ago

This is a clear tutorial

Bilal Imran
Bilal Imran
5 years ago

Brother thankyou so much. Loved it. It really helped me:)

Gerard Indika
Gerard Indika
5 years ago

thank you sir

Duozhi Wu
Duozhi Wu
5 years ago

Good,it is useful,I like it.

HAFFY ALI
HAFFY ALI
6 years ago

Hi, Great tutorial, where can i find more simulations/tuts similar to the one above? do you have any other website links you can recommend me with?

Steve
Steve
7 years ago

very helpful,
Thank you