Top Banner
© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter 3
33

Application Layer Functionality and Protocols

Feb 23, 2016

Download

Documents

alaqua

Application Layer Functionality and Protocols. Network Fundamentals – Chapter 3. Objectives. Define the application layer as the source and destination of data for communication across networks. Explain the role of protocols in supporting communication between server and client processes. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Application Layer Functionality and Protocols

© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1Version 4.0

Application Layer Functionality and Protocols

Network Fundamentals – Chapter 3

Page 2: Application Layer Functionality and Protocols

2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Objectives Define the application layer as the source and

destination of data for communication across networks.

Explain the role of protocols in supporting communication between server and client processes.

Describe the features, operation, and use of well-known TCP/IP application layer services (HTTP, DNS, SMTP).

Page 3: Application Layer Functionality and Protocols

3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Applications – The Interface Between Human and Data Networks Explain that applications provide the means for generating and

receiving data that can be transported on the network

Page 4: Application Layer Functionality and Protocols

4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

4

OSI and TCP/IP Models – Application LayerThe Application layer, Layer seven, is the top layer

of both the OSI and TCP/IP models. It provides the interface between the applications

we use to communicate and the underlying network over which our messages are transmitted.

Application layer protocols are used to exchange data between programs running on the source and destination hosts.

There are many Application layer protocols and new protocols are always being developed

Page 5: Application Layer Functionality and Protocols

5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Applications – The Interface Between Human and Data Networks Explain the role of applications, services and protocols in

converting communication to data that can be transferred across the data network

Page 6: Application Layer Functionality and Protocols

6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The most widely-known Application layer protocols are those that provide for the exchange of user information.- Domain Name Service Protocol (DNS) - Hypertext Transfer Protocol (HTTP)- Telnet, a terminal emulation protocol- File Transfer Protocol (FTP)

(SMTP, POP) E-mail

6

Page 7: Application Layer Functionality and Protocols

7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Applications – The Interface Between Human and Data Networks Define the separate roles applications, services and protocols play

in transporting data through networks

Page 8: Application Layer Functionality and Protocols

8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Application Layer Software

Within the Application layer, there are two forms of software programs or processes that provide access to the network.

1) Network-Aware Applications: Some end-user applications are network-aware, meaning that they implement the application layer protocols and are able to communicate directly with the lower layers of the protocol stack. Ex: Email client, web browser

8

Page 9: Application Layer Functionality and Protocols

9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

2) Application layer Services: Other programs may need the assistance of Application layer services to use network resources, like file transfer or network print spooling.

Each application or network service uses protocols which define the standards and data formats to be used. Without protocols, the data network would not have a common way to format and direct data

9

Application Layer Software

Page 10: Application Layer Functionality and Protocols

10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Applications – The Interface Between Human and Data Networks Describe the role protocols play in networking and be able to

identify several message properties that can be defined by a protocol

Page 11: Application Layer Functionality and Protocols

11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The Role of Protocols in Supporting Communication Describe the roles of client and server processes in data networks

Page 12: Application Layer Functionality and Protocols

12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The Client-Server Model

In the client/server model, the device requesting the information is called a client and the device responding to the request is called a server.

Client and server processes are considered to be in the Application layer. Data transfer from a client to a server is referred to as an upload and data

from a server to a client as a download.

12

Advantages of using a client-server-

model are centralized

administration and security is easier to

enforce

Page 13: Application Layer Functionality and Protocols

13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Servers In a client/server network, the server runs a service, or

process, sometimes called a server daemon. Like most services, daemons typically run in the

background and are not under an end user's direct control.

When a daemon "hears" a request from a client, it exchanges appropriate messages with the client, as required by its protocol, and proceeds to send the requested data to the client in the proper format

httpd, telnetd, ftpd and etc

13

Page 14: Application Layer Functionality and Protocols

14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The Role of Protocols in Supporting Communication List common Application Layers services and protocols

Page 15: Application Layer Functionality and Protocols

15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The Role of Protocols in Supporting Communication Compare and contrast client server networking with peer-to-peer

networking and peer-to-peer applications

Page 16: Application Layer Functionality and Protocols

16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Peer-to-Peer Model

Peer-to-peer networking involves two distinct forms. In a peer-to-peer network, two or more computers

are connected via a network and can share resources (such as printers and files) without having a dedicated server.

Every connected end device (known as a peer) can function as either a server or a client.

Peer-to-peer networks decentralize the resources on a network without using a centralized server.

16

Page 17: Application Layer Functionality and Protocols

17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

A peer-to-peer application (P2P), unlike a peer-to-peer network, allows a device to act as both a client and a server within the same communication.

17

Page 18: Application Layer Functionality and Protocols

18© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Some P2P applications use a hybrid system where resource sharing is decentralized but the indexes that point to resource locations are stored in a centralized directory

Peer-to-peer applications can be used on peer-to-peer networks, client/server networks, and across the Internet.

18

Page 19: Application Layer Functionality and Protocols

19© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the DNS protocol and how this protocol

supports DNS services

Page 20: Application Layer Functionality and Protocols

20© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the HTTP protocol and how this protocol

supports the delivery of web pages to the client

Page 21: Application Layer Functionality and Protocols

21© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Some Specific Used Protocols The Transport layer uses an addressing scheme called a

port number. Port numbers identify applications and Application layer services that are the source and destination of data

Domain Name System (DNS) - TCP/UDP Port 53 Hypertext Transfer Protocol (HTTP) - TCP Port 80 Simple Mail Transfer Protocol (SMTP) - TCP Port 25 Post Office Protocol (POP) - UDP Port 110 Telnet - TCP Port 23 Dynamic Host Configuration Protocol - UDP Port 67 File Transfer Protocol (FTP) - TCP Ports 20 and 21

21

Page 22: Application Layer Functionality and Protocols

22© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

DNSThe Domain Name System (DNS) was created for

domain name to address resolution for these networks. (www.cisco.com to IP-address)

DNS is a client/server service but a bit different from others

The DNS client runs as a service itself. The DNS client, sometimes called the DNS

resolver, supports name resolution for our other network applications and other services that need it

Try nslookup22

Page 23: Application Layer Functionality and Protocols

23© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

A DNS server provides the name resolution using the name daemon, which is often called named, (pronounced name-dee).

When a client makes a query, the server's "named" process first looks at its own records to see if it can resolve the name. If it is unable to resolve the name using its stored records, it contacts other servers in order to resolve the name

Once a match is found and returned to the original requesting server, the server temporarily stores the numbered address that matches the name in cache.

ipconfig /displaydns command displays all of the cached DNS entries on a Windows XP or 2000 computer system.

23

Page 24: Application Layer Functionality and Protocols

24© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the POP and SMTP protocols, and how

these protocols support e-mail services

Page 25: Application Layer Functionality and Protocols

25© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Email Services & SMTP/POP Protocols

Post Office Protocol (POP) and Simple Mail Transfer Protocol (SMTP) are involved in email services.

Users use an application called a Mail User Agent (MUA), or e-mail client to allow messages to be sent and places received messages into the client's mailbox.

In order to receive e-mail messages from an e-mail server, the e-mail client can use POP.

Sending e-mail from either a client or a server uses message formats and command strings defined by the SMTP protocol. 25

Page 26: Application Layer Functionality and Protocols

26© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

The e-mail server operates two separate processes: Mail Transfer Agent (MTA) (Between servers and servers) Mail Delivery Agent (MDA) Between servers and clients)

26

SMTP

POP

Page 27: Application Layer Functionality and Protocols

27© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the Telnet protocol and identify several of

its uses in examining and managing networks

Page 28: Application Layer Functionality and Protocols

28© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the SMB protocol and the role it plays in

supporting file sharing in Microsoft-based networks

Page 29: Application Layer Functionality and Protocols

29© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

FTP FTP was developed to allow for file transfers between a client

and a server. An FTP client is an application that runs on a computer that is used to push and pull files from a server running the FTP daemon (FTPd).

The client establishes the first connection to the server on TCP port 21. This connection is used for control traffic, consisting of client commands and server replies.

The client establishes the second connection to the server over TCP port 20. This connection is for the actual file transfer and is created every time there is a file transferred.

The file transfer can happen in either direction. The client can download (pull) a file from the server or, the client can upload (push) a file to the server.

29

Page 30: Application Layer Functionality and Protocols

30© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

File Sharing Service & SMB The Server Message Block (SMB) is a client/server file sharing

protocol. Unlike the file sharing supported by FTP, clients establish a long

term connection to servers. Once the connection is established, the user of the client can

access the resources on the server as if the resource is local to the client host.

SMB file-sharing and print services have become the mainstay of Microsoft networking.

The LINUX and UNIX operating systems also provide a method of sharing resources with Microsoft networks using a version of SMB called SAMBA.

30

Page 31: Application Layer Functionality and Protocols

31© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Features, Operation, and Use of TCP/IP Application Layer Services Describe the features of the Gnutella protocol and the role it plays

in supporting P2P services

Page 32: Application Layer Functionality and Protocols

32© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Summary

Page 33: Application Layer Functionality and Protocols

33© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public