Intro To Packet Tracer
Intro To Packet Tracer
Tracer
Packet Tracer – Creating a New Topology
Add the hub by moving the plus sign “+” below PC0 and PC1 and click once.
Repeat the steps above for PC1 connecting it to Port 1 on Hub0. (The actual hub port
you choose does not matter.)
Adding a Switch
Add the switch by moving the plus sign “+” below PC2 and PC3 and click once.
Repeat the steps above for PC3 connecting it to Port 3 on Switch0 on port
FastEtherent0/2. (The actual switch port you choose does not matter.)
Configuring IP Addresses and Subnet Masks on the Hosts
Before we can communicate between the hosts we need to configure IP Addresses and
Subnet Masks on the devices.
Click once on PC0
Choose the Config tab and click on Settings. It is here that you can change the name of PC0.
It is also here where you would enter a Gateway IP Address, also known as the default
gateway and the DNS Server IP Address. We will discuss this later, but this would be the IP
address of the local router. If you want, you can enter the Gateway IP Address 172.16.1.1 and
DNS Server IP Address 172.16.1.100, although it will not be used in this lab.
Click on Interface and then FastEthernet. add the IP Address to 172.16.1.10. Click
once in the Subnet Mask field to enter the default Subnet Mask. You can leave this at
255.255.0.0.
Also, notice this is where you can change the Bandwidth (speed) and Duplex of the Ethernet
NIC (Network Interface Card). The default is Auto (autonegotiation), which means the NIC
will negotiate with the hub or switch. The bandwidth and/or duplex can be manually set by
removing the check from the Auto box and choosing the specific option.
Bandwidth - Auto
If the host is connected to a hub or switch port which can do 100 Mbps, then the Ethernet
NIC on the host will choose 100 Mbps (Fast Ethernet). Otherwise, if the hub or switch port
can only do 10 Mbps, then the Ethernet NIC on the host will choose 10 Mbps (Ethernet).
Duplex - Auto
Hub: If the host is connected to a hub, then the Ethernet NIC on the host will choose Half
Duplex.
Switch: If the host is connected to a switch, and the switch port is configured as Full Duplex
(or Autonegotiation), then the Ethernet NIC on the host will choose Full Duplex. If the
switch port is configured as Half Duplex, then the Ethernet NIC on the host will choose Half
Duplex. (Full Duplex is a much more efficient option.)
To close this dialog box, click the “X” in the upper right.
Repeat these steps for the other hosts. Use the information below for IP Addresses and Subnet Masks.
To verify the information that you entered, move the Select tool (arrow) over
each host.
To delete a device or link, choose the Delete tool and click on the item you wish to delete.
Connecting Hub0 to Switch0
To connect like-devices, like a Hub and a Switch, we will use a Cross-over cable.
Click once the Cross-over Cable from the Connections options.
Click once on Switch0 and choose FastEthernet0/4 (actual port does not
matter).
The link light for switch port FastEthernet0/4 will begin as amber and
eventually change to green as the Spanning Tree Protocol transitions the port
to forwarding.
Verifying Connectivity in Realtime Mode
At this point we will want to reset the network, Whenever you want to reset the
network and begin the simulation again, perform the following tasks:
Continue clicking Capture/Forward button until the ICMP ping is completed. You should
see the ICMP messages move between the hosts, hub and switch. The PDU Last Status
should show as Successful. Click on Clear Event List if you do not want to look at the
events or click Preview Previous Events if you do. For this exercise it does not matter.