Internet History
Internet History
7. Application
6. Presentation
Upper Layers
5. Session
3. Network
2. Data Link
Lower Layers
1. Physical
7. Application Layer
• Purpose
– User application to network service interface
• Examples
– File request from server
– E-mail services
– etc.
Application Layer Function
• Purpose
– Formats data for exchange between points of
communication
• Ex: Between nodes in a network
• Example:
– Redirector software
• Formats for transmission to the server
Presentation Layer Function
• Protocol conversion
• Data translation
• Encryption
• Character set conversion
• Expansion of graphics command
Redirector Example
C:/CORRES/USDA
F:/PUR/ORDER
REDIRECTOR
TO SERVER TO LOCAL
DISK
5. Session Layer
• Purpose
– Oversee a communication session
• Establish
• Maintain
• Terminate
• Example
Session Layer Function
• Purpose
– Repackage proper and efficient delivery of
packages
• Error free
• In sequence
• Without duplication
• Example
Transport Layer Function
• Purpose
– Addressing and routing the packets
• Example application at the router
– If the packet size is large, splits into small
packets
Network Layer Function
• Address messages
• Address translation from logical to physical
– Ex: nganesa ----------> 102.13.345.25
• Routing of data
– Based on priority
– Best path at the time of transmission
• Congestion control
End of Module 2
Module 3
• Purpose
– Manages the flow of data over the physical
media
• Responsible for error-free transmission over
the physical media
• Assures error-free data submission to the
Network Layer
Data Link Layer Function
• Point of origin
– Packages data for transmission over physical line
• Receiving end
– Packages data for submission to the network layer
• Deals with network transmission protocols
– IEEE 802. protocols
Data Link Layer Subdivision
Client request
Client Server
Tiered Web Architectures
• Disadvantages
– Interdependency (coupling) of components
– No redundancy
– Limited scalability
• Typical application
– 10-100 users
– Small company or organization, e.g., law office,
medical practice, local non-profit
3-Tier C-S Architecture
• Disadvantages
– No redundancy
• Typical Application
– 100-1000 users
– Small business or regional organization, e.g., specialty retailer,
small college
Multitier C-S Architecture
• Disadvantages
– Higher costs (maintenance, design, electrical load, cooling)
• Typical Application
– 1000+ users
– Large business or organization
Internet and World Wide Web
• 1981 – IBM PC
• 1984 – Apple Macintosh
• 1986 – Modem becomes option on PCs
Internet - 1980s
Internet Timeline
NSF Net
Internet 1990s
• 1991 - Tim Berners-Lee releases World Wide
Web!
– TBL is computer programmer at CERN, a physics lab in
Europe (new book Weaving the Web by TBL)
• 1993 - Mosaic (becomes Netscape) designed by
graduate students at University of Illinois
– first point-and-click browser
– later developed into Netscape Navigator
• These are the two most significant events in the formation of the WWW
Internet 1990s
• 1991 - Tim Berners-Lee releases World Wide
Web!
– TBL is computer programmer at CERN, a physics lab in
Europe (book Weaving the Web by TBL)
• 1993 - Mosaic (becomes Netscape) designed by
graduate students at University of Illinois
– first point-and-click browser
– later developed into Netscape Navigator
• These are the two most significant events in the formation of the WWW
World Wide Web
Client Server
• I would like to open a
connection • OK
• Display response
• Close connection
• OK
HTTP is the set of rules governing the format and content of the
conversation between a Web client and server
An HTTP example
The message requesting a Web page must begin with the word
“GET” and be followed by a space and the location of a file on the
server, like this:
GET /fac/lpress/shortbio.htm
The protocol spells out the exact message format, so any Web
client can retrieve pages from any Web server.
Network protocols
• The Web client and the Web server are application programs
• Application layer programs do useful work like retrieving Web
pages, sending and receiving email or transferring files
• Lower layers take care of the communication details
• The client and server send messages and data without knowing
anything about the communication network
The application layer is boss – the top layer
Layer Function
Application Do useful work like Web browsing, email,
and file transfer
Lower layers Handle communication between the client
and server
• Your boss says: Send this package to Miami -- I don't care if you use
Federal Express, UPS, or any other means. Also, let me know when it
arrives or if it cannot be delivered for some reason.
• The application program says: Send this request to the server -- I don't care
how you do it or whether it goes over phone lines, radio, or anything else
about the details. Just send the message, and let me know when it arrives or
if it cannot be delivered for some reason.
There are five TCP/IP layers, the application layer and four lower layers.
Many application layer protocols are used on
the Internet, HTTP is only one
Protocol Application
http:// /~urquhar5/tour/active.html
identifies type File Location on Remote Computer
of transfer
www.msu.edu
Domain Name -
name of remote computer
CISC 856 TCP/IP and Upper Layer Protocols
dakota tornado
Subdomains
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The workstation annie asks its configured name
server, dakota, for www.nominum.com’s address
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The name server dakota asks a root name server, m, for
www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The root server m refers dakota to the com name servers
• This type of response is called a “referral”
m.root-servers.net
dakota.west.sprockets.com Here’s a list of the
com name servers.
Ask one of them.
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The name server dakota asks a com name server, f,
for www.nominum.com’s address
What’s the IP address
of
www.nominum.com?
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The com name server f refers dakota to the
nominum.com name servers
Here’s a list of the
nominum.com
name servers.
Ask one of them.
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The name server dakota asks a nominum.com name server,
ns1.sanjose, for www.nominum.com’s address
What’s the IP address
of
www.nominum.com?
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The nominum.com name server ns1.sanjose
responds with www.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
annie.west.sprockets.com
ping www.nominum.com.
The Resolution Process
• The name server dakota responds to annie with
www.nominum.com’s address
Here’s the IP
address for
www.nominum.com
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping www.nominum.com.
Resolution Process (Caching)
• After the previous query, the name server dakota now knows:
– The names and IP addresses of the com name servers
– The names and IP addresses of the nominum.com name servers
– The IP address of www.nominum.com
• Let’s look at the resolution process again
annie.west.sprockets.com
ping ftp.nominum.com.
Resolution Process (Caching)
• The workstation annie asks its configured name
server, dakota, for ftp.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
Resolution Process (Caching)
• dakota has cached a NS record indicating ns1.sanjose is an
nominum.com name server, so it asks it for
ftp.nominum.com’s address
What’s the IP address
of ftp.nominum.com?
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
Resolution Process (Caching)
• The nominum.com name server ns1.sanjose
responds with ftp.nominum.com’s address
m.root-servers.net
dakota.west.sprockets.com
Here’s the IP
address for ns1.sanjose.nominum.net
ftp.nominum.com
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
Resolution Process (Caching)
• The name server dakota responds to annie with
ftp.nominum.com’s address
Here’s the IP
address for
ftp.nominum.com
m.root-servers.net
dakota.west.sprockets.com
ns1.sanjose.nominum.net
f.gtld-servers.net
annie.west.sprockets.com
ping ftp.nominum.com.
DNS Name Resolution Example
Introduction
1. What is the IP
address of
udel.edu ?
It is 128.175.13.92
1. What is the
host name of
128.175.13.74
It is strauss.udel.edu
88
There are 3 components:
• Name Space:
Specifications for a structured name space and data
associated with the names
• Resolvers:
Client programs that extract information from Name
Servers.
• Name Servers:
Server programs which hold information about the structure
and the names.
89
Name Space
90
Resolvers
Query
Response
91
Iterative Resolution
a.root
server
a3.nstl a.gtld-
d.com server
5
udel ns1.goo
server gle.com
3 iterative response (referral)7
“I don't know. Try a.root-servers.net.”
iterative response (referral) 9
“I don't know. Try a.gtld-servers.net.”
1 iterative response (referral)
iterative response (referral)
“I don't know. Try a3.nstld.com.”
2 4 “I don't know. Try ns1.google.com.”
6 iterative response
8 “The IP address of www.google.com
client 10 is 216.239.37.99.”
iterative request
“What is the IP address of
92
www.google.com?”
Recursive Resolution
root
server
edu 3 com
server server
7 4
udel 2 8 google
serve server
6 5
r
9
1
10 recursive request
“What is the IP address of
www.google.com?”
client recursive response
“The IP address of www.google.com is
216.239.37.99.”
93
Name Server
Architecture: Zone
From data
Name Server Process
disk file
Authoritative Data Master
Zone transfer server
(primary master and
slave zones)
Cache Data
(responses from
other name servers)
Agent
(looks up queries
on behalf of resolvers)
94
Name Server (cont’d)
Authoritative Data:
Name Server Process
Authoritative Data
(primary master and
slave zones) Response
Cache Data
(responses from
other name servers)
Agent
(looks up queries Resolver
Query
on behalf of resolvers)
95
Name Server (cont’d)
Cached Data :
Name Server Process
Authoritative Data
(primary master and
slave zones) Response
Cache Data
(responses from
other name servers)
Agent
(looks up queries Query Resolver
on behalf of resolvers)
97
Block Diagram
Query Query
Foreign
User Name
Resolver
Program Server
Response
Response
Reference
Addition
Cache
98
How to make a web page
• Three steps:
– Make your pilot web space public (in advanced
features)
– Create a file named index.html
– Use FTP to transfer a file named index.html into your
web directory
Netscape Composer