Consider the steps required for a client to get ready to send an HTTP request to www.facebook.com.
Question:
Consider the steps required for a client to get ready to send an HTTP request to www.facebook.com. Assume the client already has an IP address and knows the IP addresses of its default router and local DNS server (i.e., DHCP has already been completed).
On the left side are the ordered step numbers, and on the right side are potential steps required. Match the steps to the order in which they are executed (i.e., put the operations in order).
-User types www.facebook.com into their web browser.
-The TCP SYN is sent in a link-layer frame with the client's MAC address as its source and its default router's MAC address as its destination.
-The IP address of www.facebook.com is inserted into the network layer header of the TCP SYN packet, and the network layer determines that it needs to send the packet to its default router.
-The client's operating system creates a DNS query message, requesting the IP address of www.facebook.com from its local DNS server.
-A DNS reply is received, containing the IP address of www.facebook.com.
-The DNS query for www.facebook.com is sent to the local DNS server in an Ethernet frame
-Web browser at the application layer creates the HTTP request message.
-The link layer uses ARP to determine the MAC address of the local DNS server.
-At the transport layer, the client starts to create a TCP socket for communication and determines that it needs the IP address of www.facebook.com.
-The TCP 3-way handshake is completed and the TCP socket is connected.
- The link layer uses ARP to determine the MAC address of the client's default router.
Computer Networking A Top-Down Approach
ISBN: 978-0136079675
5th edition
Authors: James F. Kurose, Keith W. Ross