Options

Mac address

KESHAV02KESHAV02 Member Posts: 2 ■□□□□□□□□□
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

Comments

  • Options
    chmorinchmorin Member Posts: 1,446 ■■■■■□□□□□
    KESHAV02 wrote: »
    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 Pursuing
    WGU (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.
  • Options
    KESHAV02KESHAV02 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?
  • Options
    chmorinchmorin Member Posts: 1,446 ■■■■■□□□□□
    KESHAV02 wrote: »
    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 Pursuing
    WGU (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.
  • Options
    billyrbillyr Member Posts: 186
    If 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
  • Options
    Paul BozPaul 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/
Sign In or Register to comment.