Node has a connection open to node . The packets from to go through an intermediate router . Ethernet switch is the first switch on the network path between and . Consider a packet sent from to over this connection.
Which of the following statements is/are TRUE about the destination and addresses on this packet at the time it leaves ?
View worked solution
Answer: B
To determine the correct destination IP and MAC addresses when the packet leaves Node , we analyze the roles of the Network Layer (Layer 3) and the Data Link Layer (Layer 2):
-
Destination IP Address (End-to-End):
IP addressing is responsible for end-to-end delivery. The source IP is and the destination IP is the final destination, which is . This IP address remains unchanged as the packet travels across intermediate routers. Thus, the destination IP address is the IP address of .
-
Destination MAC Address (Hop-by-Hop):
MAC addressing is responsible for hop-by-hop delivery within a local network segment.
- Since is on a different network (connected via router ), cannot send the frame directly to 's MAC address. Instead, must send it to its default gateway, which is the router . Therefore, the destination MAC address is the MAC address of .
- The Ethernet switch is a transparent Layer 2 device. It forwards frames based on their destination MAC address but is not the destination itself. Hence, the destination MAC address is not that of .
Comparing this with the given options:
- A is False: The destination IP is of the final host , not the intermediate router .
- B is True: The destination IP is indeed the IP address of .
- C is False: The destination MAC is that of the next-hop router , not the transparent switch .
- D is False: The destination MAC is that of the router , not the final host (which is on a different network).
Free practice · Your answers on this page are not saved.
