Data Communication Project 1 Key

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

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Steps in the client getting web pages from www1.anyorg.com (Per conditions & assumptions given in Project 1) Step A 1- HTTP Request The client (IP 128.192.98.130) browser requests web pages from www1.anyorg.com. 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 clients 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 servers 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 servers 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. A packet is sent to the network layer that inserts the web servers IP address as the from-IP...
View Full Document

This note was uploaded on 12/06/2010 for the course BUSINESS 52347 taught by Professor Mr.volvo during the Spring '08 term at Toledo.

Page1 / 4

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

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online