I've a simple question about IP and MAC. Lets say we have two LANs, A and B, connected by a Bridge (no Network Layer). We have host 'X', which sends an IP packet to host 'Y'. It will send it through a MAC frame. The Payload of that MAC Frame will be our ip packet.
The question is: since X doesn't know Y's MAC Address, which MAC Destination Address will be used in the Frame's Header?
Thank you for your time.
If the X
doesn't know the MAC address of Y
it will first send an ARP request to ff:ff:ff:ff:ff:ff
(broadcast) requesting the MAC address for the IP address of Y
. Y
will respond with it's MAC address which X
will then use as a destination MAC address to send the frame.
Btw, since the bridge is in between they're actually on the same LAN, not A and B.