924 views
0 votes
0 votes

A PC has just booted up and wants to communicate with a host on a remote subnet. The PC knows the IP addresses of its default gateway and the remote host. However, in order to properly construct a frame, the PC needs an appropriate destination MAC address. What MAC address does the PC need to learn, and what protocol will the PC use to learn that MAC address?

 

1 Answer

Best answer
2 votes
2 votes

Source and destination MAC addresses are rewritten at each router hop along the path from the source to the destination (if the router interface is Ethernet-based). Therefore, the frame sent by the PC should have a destination MAC address of the PC’s default gateway (i.e. the PC’s next-hop router). However, the source and destination IP addresses do not change (unless some other service, such as Network Address Translation (NAT), is in use). The PC can learn the MAC address of its default gateway using ARP (Address Resolution Protocol). While ARP provides IP address to MAC address translation, DNS (Domain Name System) provides domain name to IP address translation.

 

 

The MAC address of the PC’s default gateway learned via ARP is the most suitable answer for this question.

 

selected by

Related questions

0 votes
0 votes
1 answer
1
LRU asked Nov 11, 2021
646 views
A router with MTU of 1024 bytes has received an IP packet of size 4240 bytes with an IP header of 20 bytes. The value of MF and offset of the 3rd fragment is ________
3 votes
3 votes
1 answer
2
LRU asked Oct 10, 2021
1,000 views
Let an IP datagram of the following data and header sizes be sent through a network of MTU 500 bytes. Calculate the fragment offset values that should be set for 3rd frag...
1 votes
1 votes
2 answers
3
LRU asked Oct 7, 2021
907 views
For the given network address 178.100.0.0 we need the 2000 subnets and 15 usable hosts then what will be the subnet mask for this allotment ?
1 votes
1 votes
1 answer
4