Options

frame leaves an interface

yrwinsyrwins Member Posts: 81 ■■□□□□□□□□
If the PC001 sends a packet to the IP address of the PC003,
what will be the Layer 2 destination address be in the frame when the router01
receives it?


PC001
> router01
> PC003

the mac address (layer 2) of the pc001!


When a frame leaves an interface, on an Ethernet network, the source layer 2
address will be the interface that is sending the frame. The destination layer 2
address will be the next device on that same Ethernet network who is either
receiving the packet for itself, or in the case of a router to receive the
packets so they can continue forwarding it. When the router receives a frame
from the PC on the right, the destination layer 2 address will be the routers
2/0 layer 2 address.


I'm really confuse..

Comments

  • Options
    fearlessfreap24fearlessfreap24 Member Posts: 10 ■□□□□□□□□□
    This is how I think of it: a router is layer 3. layer three is about how to get your info to and from end points. layer 2 is all about getting from one spot to another and is just a vehicle for your information. layer 2 addressing is based on MAC addresses. when a frame is sent, the source address is the MAC of the sender (PC1) and the destination is the MAC of the next hop (R1). in layer 3, the source address is the IP address of the sender (PC1) and the destination address is the IP address of the final destination (PC3).

    in short,
    Layer 2 = hop to hop
    Layer 3 = end to end.

    I hope this helps.
  • Options
    yrwinsyrwins Member Posts: 81 ■■□□□□□□□□
    Thanks.

    but if a swith dosent change any mac address, and it just arrive at the router (fa 0/0 frame get in). were it get change? at the router! and if so that they is going out (fa 0/1 frame is goin out) ... so is not receives , is leaving the router.
Sign In or Register to comment.