This is a free, Complete course for the CCNA 200-301. If you like these articles, Please subscribe to follow along with the series. Also please like, And leave a comment and share the article to help spread this free series of articles. Let's get started In this lab you'll practice and develop your understanding of some of the concepts.
articles on Ethernet LAN. Switching As you can see, The network topology we will use in this lab is like the example network. I used in those previous lecture articles with two switches, Each with 2 PCs connected to them.
Let'S get started and go through the steps First off. There is a note saying that both switches have an empty MAC address table and all PCs have an empty ARP table. Keep that in mind, As you try to answer step 1, Which asks us if PC1 pings to PC3 what messages will be sent over the network and which devices will receive them. So if PC1 wants to send a ping to PC3, It has to know PC3's MAC address, We can type ping 19216813 on PC1 to send a ping, But until PC1 knows PC3's MAC address, It can't send the ping That means PC1 will have to send an ARP Request So that's the first message Now, Which devices will receive the ARP request. Well, The ARP request is a broadcast message, So ALL devices on the local network will receive it, Except for PC1, Of course, Which sends the message. Pc2 and PC4 will ignore the message, But then PC3 will send an ARP reply, Which is the second message.
Unlike the ARP request, Which is a broadcast message. The ARP reply is a unicast message, So the message will be sent through SW2 and SW1 and then be received by PC1. Only no copies of the message will be sent to PC2 or PC4. Then PC1 will be able to add PC3's MAC Address to its ARP table and use that information as the destination address of its ping. So the third message that will be sent is an ICMP echo request from PC1.
This is a unicast message that will be received by PC3. Only Then PC3 will send an ICMP echo reply, Which is also a unicast message that will be received by PC1 only after passing, Through SW2 and SW1, Of course, So that's it. Those are the messages that will be sent over the network if PC1 pings PC3. Now there won't be just one ping.
Pc1 will send multiple pings 4 by default from a windows PC Step 2 asks us to send the ping and use Packet, Tracer's ‘simulation mode', To verify our answer. First, Let me click on simulation mode here in the bottom right, Then, To send a ping from a PC in packet. Tracer click on the PC, Click on desktop and click on command, Prompt Now, Just type in the command PC3's IP address is 19216813, So the command is ping 19216813 Immediately. You can see that both an ICMP message, The ping and an ARP message - appear: I'll click on the ICMP message and then click on Layer. 2.
Look at the info here. The next-hop address is a unicast. The ARP process looks it up in the ARP table, But the next-hop IP address is not in the ARP table. The ARP process tries to send an ARP request for that IP address and buffers this packet Buffers means it holds the packet, So it can send it later Now.
Let'S click on the ARP message and look here at the information This time I'll click on ‘Outbound, PDU details', Which shows us detailed information about the frame. Do you recognize these fields? Preamble, SFD, Destination, Address, Source, Address type data which is the encapsulated packet and then FCS. If you readed my last two articles, You should recognize all of these fields of the Ethernet header and trailer Notice, In particular the TYPE field of 0806, Which indicates ARP and the destination MAC address of all F's, Which is the broadcast address. Now I'll exit from here and click through the processthe ARP reaches SW1 is broadcast to PC2 and SW2 and then broadcast to PC3 and PC4. Only PC3 replies this time with a unicast message which arrives at SW2, Then SW1 and then PC1 PC1 can then finally send its ICMP echo request, Which is unicast and goes to SW1 SW2 and then PC3 PC3 then sends the ICMP echo reply back through SW2 SW1 And then arriving at PC1 I'll just press this play button and you can see the rest of the pings being sent between PC1 and PC3.
There should be 4 in total, As these Packet Tracer PCs operate like windows, PCs, Cisco devices, However, Send 5 pings by default. Now, Step 3 tells us to generate network traffic and allow the switches to learn all MAC address of the PCs on the network. Remember switches, Dynamically learn and enter MAC addresses into their MAC address table by looking at the source address field of frames t receive.
So since we just pinged between PC1 and PC3, Both switches should know their MAC addresses, But just in case I'll switch back to realtime modeand, Send one more ping from PC1 to PC3, Because sometimes Packet Tracer has problems with simulation mode. Next let's send a ping from PC2 to PC4 so that the switches can learn their MAC addresses, I'll, Go on PC2 and now I'll ping PC4 Ping 19216814. Step 4 asks us to use, Show commands on the switches to identify the MAC address of each PC Because the interface each PC is connected to is displayed on the network diagram. If we look for that interface in the MAC address table, We will be able to identify the MAC address of each PC I'll go on SW1.
We have to be in privileged exec mode to view the MAC address table So use the command enable or just 'en'. The command to view the mac address table is show mac. Space address HYPHEN table, Make sure you don't mix up the space and hyphen .
First of all, Let's find PC1, Which is attached to the fastethernet 0/1 interface. Here it is, And you can see the MAC address here - Note that the MAC address in your lab, Maybe different, I'm, Not sure if packet tracer keeps the MAC addresses consistent if you load the labs up on another computer, How about PC2 Well its connected to Fastethernet0/2? So here is PC2's MAC address. Now, As for PC3 and PC4, We have a problem. Sw1 only knows that it can reach these two MAC addresses via gigabit ethernet 0/1.
Just by looking at this MAC table, We don't know which address belongs to PC3 and which belongs to PC4. So let's go on to SW2 Once again I'll enter privileged exec mode, Enable Now let's view the MAC address table Show mac. Address-Table PC3 is connected to fastethernet 0/1, So this must be its MAC address and PC4 is connected to fastethernet 0/2.
So this must be its MAC Address. We have successfully used the show mac address table command to identify the MAC address of each PC. Now let's do step 5, Which is to clear the dynamic MAC addresses from the mac address table of each switch, Since I'm already on SW2 I'll start here. The command is clear: mac, Address-table dynamic, But before I hit enter, I want to show you something I'll use the question mark, Which is also known as 'context-sensitive help'. As you can see, It doesn't display any additional options here.
If you remember, From the day 6 lecture article, When I did the demonstration in GNS3, I could clear specific MAC addresses by specifying the address or interface Packet. Tracer, However, Does not support this option. You have to clear all MAC addresses, So I enter the command, Then I'll use the up arrow on the keyboard to go back to the show. Mac address-table command enter it once more and you can see the mac.
Address-Table is now empty. I'll do the same on SW1, Clear mac, Address-table, Dynamic Press, The up arrow twice to go back to the show, Mac address-table command hit enter and there we go. The address table is now empty. We have successfully completed this lab. For reading. Please subscribe to the channel like the article, Leave a comment and share the article with anyone else studying for the CCNA.
Although no system is ever 100 percent protected, the ability for differentiating between typical network traffic as well as potentially harmful malware is considered crucial and provides the focus of this associate-level certification path. Also, if you wish to acquire this certification, you should gain the Cisco CCNP 300-810 Dumps, which are being offered at the EveDumps.