32
Outline Introduction to Application Layer Peer-to-peer paradigm Client-server paradigm Domain Name System (DNS) Flat-naming vs hierarchical-naming DNS Protocol World Wide Web (WWW) WWW Architecture Hypertext Transfer Protocol (HTTP) Multimedia Voice over IP (VoIP)

Outline Introduction to Application Layer Peer-to-peer paradigm Client-server paradigm Domain Name System (DNS) Flat-naming vs hierarchical-naming

  • View
    251

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Outline Introduction to Application Layer

Peer-to-peer paradigm Client-server paradigm

Domain Name System (DNS) Flat-naming vs hierarchical-naming DNS Protocol

World Wide Web (WWW) WWW Architecture Hypertext Transfer Protocol (HTTP)

Multimedia Voice over IP (VoIP)

Page 2: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Peer-to-peer Paradigm

• The protocol machines are the same at both sides The same state-flow diagram

The same set of tasks and responsibilities

The same set of capabilities

• Forms the basis of telephone network

Page 3: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Client-server Paradigm

• The tasks, capabilities and protocol machines are different at each side.

• Client-side requests service, Server-side provides service.

• Forms the basis of computer networks

Page 4: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Domain Name System (DNS)

Flat Name Space: Each host in the network is unique and independent from each other.

Hierarchical Name Space: Host have a composite names that are all hierarchically organised.

Page 5: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Domain Name System (DNS)

Page 6: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Domain Name System (DNS)

Part of the DNS name space showing the division into zones.

Page 7: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Domain Name System (DNS)

Part of the DNS name space showing the division into zones.

Page 8: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 25.10 Inverse domain

Page 9: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 25.11 Recursive resolution

Page 10: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 25.12 Iterative resolution

Page 11: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 25.13 Query and response messages

Page 12: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Domain Name System (DNS)

•Either TCP or UDP protocols can be used to transport DNS messages :

If the DNS response is less than 512 bytes, UDP is used Otherwise, a TCP connection must be set up. In either case, port 53 is used by the DNS server.

Page 13: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

WWW Architecture

Page 14: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 27.14 Categories of Web documents

Page 15: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 27.15 Static document

Page 16: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 27.19 Dynamic document

Page 17: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 27.20 Active document

Page 18: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 27.1 HTTP transaction

Page 19: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 27.8 Headers

Page 20: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 27.9 Example 1

Page 21: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 27.10 Example 2

Page 22: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 27.10 Example 2

Page 23: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.14 Time relationship

Page 24: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.15 Jitter

Page 25: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.16 Timestamp

Page 26: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004

Figure 28.1 Internet audio/video

Page 27: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Voice over IP

The H323 architectural model for Internet telephony.

Page 28: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Voice over IP (2)

The H323 protocol stack.

Page 29: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 28.26 H.323 example

Page 30: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

SIP – The Session Initiation Protocol

The SIP methods defined in the core specification.

Figure 28.21 SIP address formats

Page 31: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Figure 28.23 Tracking the callee

Page 32: Outline  Introduction to Application Layer  Peer-to-peer paradigm  Client-server paradigm  Domain Name System (DNS)  Flat-naming vs hierarchical-naming

Comparison of H.323 and SIP