in
IEOC CCIE Forums

IEOC - INE's Online Community

Welcome to INE's Online Community - IEOC - a place for CCIE and CCENT candidates to connect, share, and learn. Our Online Community features CCIE forums and discussions for all tracks including Routing & Switching, Voice, Security, Service Provider, Wireless,, and Storage. Through these online communities you can discuss your questions with thousands of your peers, hundreds of CCIE's and INE's own team of world renowned CCIE instructors and authors, Brian Dennis - Quintuple CCIE #2210, Brian McGahan – Triple CCIE #8593, Petr Lapukhov - Quad CCIE #16379, and Mark Snow - Dual CCIE #14073.
Latest post 03-07-2017 2:08 PM by major133. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-06-2017 8:30 PM

    changing layer 2 address

    Hi

     

    1.jpg

     

    as you see into this picture

    when pc1 send frame to pc2 , src mac=0000.0000.0003 dst mac =0000.0000.0004

    but why sw don`t change layer 2 mac address to be outgoing port f0/0

    so when frame sent out from sw wiill be like this

    src mac=0000.0000.0003 dst mac=0000.0000.0002 ?


    • Post Points: 35
  • 03-06-2017 9:26 PM In reply to

    Re: changing layer 2 address

    Cool

    • Post Points: 5
  • 03-06-2017 9:31 PM In reply to

    • rriker
    • Top 50 Contributor
    • Joined on 02-21-2013
    • Milwaukee, WI
    • Elite
    • Points 7,050

    Re: changing layer 2 address

    Simple, a switch that connects to endpoints (PCs) together on a common VLAN, as depicted in your picture, the switch would learn the MACs of PC1 and PC2. The CAM or MAC Address table would get populated with a MAC to Port binding, the port that learned the MAC address. So when PC1 would send a frame out to the switch, the switch looks at the layer 2 header and sees the destination as PC2, looks in its CAM table and finds an entry. The switch then knows which port to send the frame out to.

    If you were Layer 3 Routing, then the layer 2 header would get stripped off at the layer 3 gateway and would be rebuilt as the layer 3 gateway would forward the frame out the exit interface to the destination. Layer 2 headers are only maintained inside the same broadcast domain, once traffic exits the broadcast domain, the layer 2 header needs to be rewritten on a per hop basis. 

    HTH

    Rob

    Rob Riker, CCIE #50693, CCNP Service Provider, VCP5-DCV

    • Post Points: 20
  • 03-07-2017 2:08 PM In reply to

    Re: changing layer 2 address

    Hi rob

    thank you very much

    1.jpg

    • Post Points: 5
Page 1 of 1 (4 items)
IEOC CCIE Forums Internetwork Expert CCIE Training
About IEOC | Terms of Use | RSS | Privacy Policy
© 2010 Internetwork Expert, Inc. All Rights Reserved