Data Communication Project 1 Key

Data Communication Project 1 Key - Steps in the client...

Info icon This preview shows pages 1–2. Sign up to view the full content.

Steps in the client getting web pages from (Per conditions & assumptions given in Project 1) Step A 1- HTTP Request The client (IP browser requests web pages from The HTTP request from the application layer goes to the network layer through the transport layer. The network layer should send the HTTP request to the web server but it does not know the IP address of the web server. Therefore, the client spawns a DNS request Go to Step B.1. 2- HTTP Request From Step B.6 The network layer inserts the IP address of the web server as the to-IP address and the client’s IP address as the from-IP address and passes the packet to the DLL. The client matches the IP address of the web server with its subnet mask and discovers it is on the same subnet. Since the client does not know the MAC address of the web server, it cannot process the packet at the data link layer. To get the MAC address of the web server, it issues an ARP request Go to Step C.1. 3- HTTP Request From Step C.2 The client prepares the DLL packet with its own MAC address as the from-MAC address and the web server’s MAC address as the to-MAC address. The packet is then sent through the physical layer. 4- HTTP Request The to-MAC address in the HTTP request received by the web server is matched with its own MAC address. Since there is a match it is passed to the network layer after checking for errors. Since the to-IP address also matches the web server’s IP address, the HTTP request is passed on to the application layer (web server) through the transport layer. 5- HTTP Response The web server recognizes the HTTP request and sends the web pages to the client from its application layer. The web pages are passed to the transport layer. Since web pages can be large, they may need several packets. The transport layer breaks the web pages into many packets and each packet has the following sequence.
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '08
  • Mr.Volvo
  • IP address, World Wide Web, Web server, MAC address

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern