Академический Документы
Профессиональный Документы
Культура Документы
Navneet Gaur
Date:
Jan 2015
Description:
Note 1
Note 2
Note 3
Note 4
Important Note
The mask is the local factor that helps the given device in deciding:
If it should send the request locally or to the gateway
The device is not concerned about the mask that is configured at the destination
The Topology
*Click on the image to enlarge
Details
PC - 1
Ip address - 10.1.0.6
Generated on 2015-04-14-07:00
1
Mask - 255.255.255.0
Mac Address - 00:00:00:00:00:01
Gateway Address - 10.1.0.5
Inference
Network ID - 10.1.0.0
Bits to match for identifying same network - 10.1.0.x - Dictated by the mask 255.255.255.0
----------------------------------------------------------------------------PC - 2
Ip address - 10.1.0.10
Mask - 255.255.255.0
Mac Address - 00:00:00:00:00:02
Gateway Address - 10.1.0.9
Inference
Network ID - 10.1.0.0
Bits to match for identifying same network - 10.1.0.x - Dictated by the mask 255.255.255.0
-----------------------------------------------------------------------------
Situation
Ignore the gateway addresses for now. They are not called up in this situation.
Part I
What ?
PC 1 issues a ping for PC 2
How ?
Command on PC 1:
ping 10.1.0.10
Part II
What happens at PC 1 ?
PC 1 needs to build a frame that it can send out of its network interface.
Generated on 2015-04-14-07:00
2
Analysis:
10.1.0.6
Destination IP address We entered it while issuing the ping command
10.1.0.10
Part IV
Result
PC 1 will send the ARP request out of its network interface,which is connected to the Switch, to
resolve the layer 2 address of the destination it is trying to ping
The Switch will receive this frame. It will check the layer 2 information contained in this frame and do
the following.
Generated on 2015-04-14-07:00
3
At the switch
The source layer 2 mac address is 0000.0000.0001
Note this address and associate it with the port on which this frame has entered the Switch.
The destination layer 2 mac address is ff:ff:ff:ff:ff:ff
This is a broadcast layer 2 mac address. So, eject this frame out of all active ports, except the one on which
this frame entered the Switch.
Generated on 2015-04-14-07:00
4
Part VI
Now PC - 1 has all the information it requires to build and send a valid frame to PC - 2
Information that PC - 1 has at its disposal
Sr. Mac - 00:00:00:00:00:01
Dst. Mac - 00:00:00:00:00:02
Src. IP - 10.1.0.6
Dst. IP - 10.1.0.10
-----------------------------The End
Generated on 2015-04-14-07:00
5