Uploaded by Lauren Young

HW2 Answers

HW2 Answers
HTTP, email
Routers, IP, Packets
Data Link
Frames, Switches, Ethernet
Hubs, NICS, Cable, UTP
The application layer protocol
that powers the web. The
network process to application
and provides services that can
be used by other applications.
Ensures that messages are
delivered error-free, in
sequence, and with no loses or
duplications. Transmits data
using transmission protocols.
Can offer reliability,
detect/recover from errors, and
provide flow controls.
Address the use signaling to
transmit bits. Start path
determination. Provides
connectivity and path selection
between two end systems.
Router live here.
Provides reliable transfer of
data across media. Responsible
for physical addressing,
network topology, error
notification and flow control.
Uses signaling to transmit bits.
Concerned with the
transmission and reception of
the uninstructed row bit stream
over the physical medium.
2. A web client (i.e., browser) will initiate a reliable connection (TCP connection) with a
web server. The client will then send an HTTP request for a particular webpage or web
resource to the server. The server will respond with the requested object, if found. This
process may need to be repeated several times until all of the embedded resources on
a web page have been delivered to the client.
A request line to get a required resource, for example a request GET
/fac/lpress/demo.htm is requesting a resource called /fac/lpress/demo.htm from
the server.
Headers (Example – Accept-Language: EN).
An empty line.
A message body which is optional.
HTTP Status Code HTTP/1.1 200 OK (has not moved)
Headers (Example – Content-Type: html)
An empty line.
A message body which is optional.
All the lines should end with a carriage return and line feed. The empty line should only
contains carriage return and line feed without any spaces.
a) What is the URL of the document requested by the browser?
b) What browser does run on the client?
c) What web server does the server use?
d) How big is the returned document?
e) When was the returned document last modified?
Fri, 01 Jul 2005 06:25:24 GMT
f) What port does the Web server listen on for clients’ requests?
Default port for html 80
Host A to Host B: SYN seqno [w=1]
Host B to Host A: SYN/ACK seqno [x=1] ackno [y=2346 (2345+1)]
Host A to Host B: ACK ackno [z= 7778 (7777+1)
a. How many assignable IP addresses are there?
a. 1022
b. What is the assignable IP address range?
a. to
c. What is the subnet mask?
a. 22 =
Channel partitioning: Multiple-access method in which the available bandwidth of link is shared
in time, frequency, or through code. Divide channel into pieces (time slots, frequency). Allocate
piece to node for exclusive use. Share channel efficiently at high load.
Random Access: Allow collisions and recover from collisions. Efficient at low load, single node
can fully utilize channel. High load, collision overload. Has the right to the medium without
controlled by any other station.
Token ring: IEEE 802.5, shared ring medium and all nodes see all frames. A special 3 byte
pattern circulates around the ring perpetually and represents the "right to transmit". A station
cannot send unless it has been authorized by other stations.
Related documents