Options
Mac address
KESHAV02
Member Posts: 2 ■□□□□□□□□□
in CCNA & CCENT
Can anyone tell what is the source mac address for pc2?
And what is the destination mac address for pc1 ?
pls refer attach file.
Thanks
And what is the destination mac address for pc1 ?
pls refer attach file.
Thanks
Comments
-
Optionschmorin Member Posts: 1,446 ■■■■■□□□□□Can anyone tell what is the source mac address for pc2?
And what is the destination mac address for pc1 ?
pls refer attach file.
Thanks
You may need to explain the question a little bit better. Where is the traffic flowing, and which PC is pinging the other? From which router or switch is this being viewed from, as the mac's change from hop to hop.
We need more information to answer this question.Currently PursuingWGU (BS in IT Network Administration) - 52%| CCIE:Voice Written - 0% (0/200 Hours)mikej412 wrote:Cisco Networking isn't just a job, it's a Lifestyle. -
OptionsKESHAV02 Member Posts: 2 ■□□□□□□□□□sorry I missed that information.
If pc1 is sending Packet to Pc2 what is the source mac address for pc2? and what is the destination mac address for pc1? -
Optionschmorin Member Posts: 1,446 ■■■■■□□□□□sorry I missed that information.
If pc1 is sending Packet to Pc2 what is the source mac address for pc2? and what is the destination mac address for pc1?
PC1's destination mac at the start of the ping is bb. The source mac once pc2 receive the ping is jj.Currently PursuingWGU (BS in IT Network Administration) - 52%| CCIE:Voice Written - 0% (0/200 Hours)mikej412 wrote:Cisco Networking isn't just a job, it's a Lifestyle. -
Optionsbillyr Member Posts: 186If PC 1 is sending a packet to PC 2, then the destination MAC address as it leaves PC 1 will be the MAC address of your default gateway which is DD looking at your Diagram.
Remember the ARP process. The P.C cannot ARP for the other P.C's mac address as ARP messages will not pass through the router. Therefore P.C 1 will simply ARP for the MAC address of its own gateway which now becomes the frames destination MAC address.
As the frame reaches router 2, router2 will now ARP for the MAC address of P.C 2. As the frame is now sent by router 2, the source mac will be HH from router 2 with the destination MAC now being KK of P.C 2 -
OptionsPaul Boz Member Posts: 2,620 ■■■■■■■■□□Just think about the fact that MAC addresses don't step over layer 3 boundaries and it'll make much more sense. As another poster stated, if PC 1 sends a ping to PC 2 over a routed network, the destination MAC address is going to be the default gateway (router) connected to PC 1. Once the packet arrives at the last router in the chain it'll use ARP to specify the MAC address of PC 2. When PC 2 sends a response its going to have the MAC address of its default gateway. As you can see from this example, once the traffic goes from layer 2 (switched) to layer 3 (routed) the MAC address becomes irrelevant, as it just points to the next hop.CCNP | CCIP | CCDP | CCNA, CCDA
CCNA Security | GSEC |GCFW | GCIH | GCIA
pbosworth@gmail.com
http://twitter.com/paul_bosworth
Blog: http://www.infosiege.net/