Chapter 6r

20
Network Services Networking for Home and Small Businesses – Chapter 6

Transcript of Chapter 6r

Page 1: Chapter 6r

Network Services

Networking for Home and Small Businesses – Chapter 6

Page 2: Chapter 6r

2/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Server– host running software application that

provides information to other hosts on network

– Example: Web Server

Client– name given to a computer application that

someone uses to access information held on a server

– Example: Web browser• host uses web client software to request a

web page

Network ServicesClients/Servers and Their InteractionClient Server Relationship

Page 3: Chapter 6r

3/20Cisco Discovery Home & Small Business Chapter 6: Network Services

DNS (Domain Name Server/System)– provides IP address of web site with the domain name

Telnet– remote login

E-mail– SMTP (Simple Mail Transfer Protocol)– POP3 (Post Office Protocol)– IMAP (Internet Message Across Protocol)

DHCP Web

– uses HTTP protocol FTP

– used to download and/or upload files between clients and servers

Network ServicesClients/Servers and Their InteractionClient Server Relationship Activity 6.1.1

Page 4: Chapter 6r

4/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Application Layer Protocols– determine the way in which a server and client interact– HTTP – way to convey information on the web

Network ServicesClients/Servers and Their InteractionRole of Protocols in Client Server Communication

Page 5: Chapter 6r

5/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Transport Layer Protocols– manages individual conversations between client and servers– formats messages into segments (PDU) to be sent to destination– provides flow control– provides acknowledgments between hosts

Network ServicesClients/Servers and Their InteractionRole of Protocols in Client Server Communication

Page 6: Chapter 6r

6/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Internetwork Layer Protocols– assigns logical addressing (IP)– encapsulates segments into packets– provides routing to the destination

Network ServicesClients/Servers and Their InteractionRole of Protocols in Client Server Communication

Page 7: Chapter 6r

7/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Network Access Protocols–Primary functions• Data link management

– takes IP packets and encapsulates them into frames– the frame reads the MAC address

• Physical network transmissions– how bits are represented (1 and 0)– how bits are sent (media)

Network ServicesClients/Servers and Their InteractionRole of Protocols in Client Server Communication

Page 8: Chapter 6r

8/20Cisco Discovery Home & Small Business Chapter 6: Network Services

TCP Protocols Provides acknowledgment of delivery of the packet

– similar to sending a registered letter through the postal system

How it works . . .– Message is broken into segments– Segments are then numbered in sequence– Keeps track of the number of segments– If sender not receive the segments within a period of time . .– The lost portion is retransmitted

FTP and HTTP are examples of applications that use TCP to ensure delivery of data

Network ServicesClients/Servers and Their InteractionTCP and UDP Transport Protocols

Page 9: Chapter 6r

9/20Cisco Discovery Home & Small Business Chapter 6: Network Services

UDP Protocols

U = UNRELIABLE

“Best effort delivery”

No acknowledgment, no guarantee

No retransmission

Used by:– streaming audio– streaming video– VoIP

Network ServicesClients/Servers and Their InteractionTCP and UDP Transport Protocols Activity 6.1.3

Page 10: Chapter 6r

10/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Used by both TCP and UDP

A port is a numeric identifier within each segment that is used to keep track of specific conversations and destination services requested

Every message includes a source and destination port

Destination port– sent by client in the segment to tell what service is requested• Port 80 = HTTP• Port 21 = FTP

Network ServicesClients/Servers and Their InteractionTCP/IP Port Numbers

Page 11: Chapter 6r

11/20Cisco Discovery Home & Small Business Chapter 6: Network Services

The source port number is randomly generated by the sending device to identify a conversation between two devices.

This allows multiple conversations to occur simultaneously.

The combination of the source and destination IP address and the source and destination port number is known as a socket.

Network ServicesClients/Servers and Their Interaction TCP/IP Port Numbers

Page 12: Chapter 6r

12/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Associates a names with an IP address

Some groups– .com– .edu

Port 53 = DNS– used if clients wants an IP address of a

web site or host

Network ServicesClients/Servers and Their InteractionDomain Name Service Lab Activity 6.2.1

Page 13: Chapter 6r

13/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Host must run FTP client access to access the FTP server

Two ports used to communicate– FTP Request = Port 21– To transfer files when open = Port 20

Network ServicesClients/Servers and Their InteractionFTP Clients and Servers Lab Activity 6.2.3

Page 14: Chapter 6r

14/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Email Protocols SMTP (Simple Mail Transfer Protocol)

– used by email client to send messages to local email server– Port #25

POP3 (Post Office Protocol)– receives/stores messages for the users– when client connects to email server messages are downloaded to the

client; messages are removed from server– Port #110

IMAP (Internet Message Across Protocol)– receives/stores messages but keeps messages on the server unless

deleted by user– Port #143

Network ServicesClients/Servers and Their InteractionEmail Clients and Servers Lab Activity 6.2.4

Page 15: Chapter 6r

15/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Client requests can be identified because the request is made to a specific destination port.

Ports are assigned and managed by an organization known as the Internet Corporation for Assigned Names and Numbers (ICANN).

Well-known ports– 1-1023 (destination ports)

Registered ports– 1024-49151– source and destination ports

Private ports– 49152-65535 (source ports)

Network ServicesClients/Servers and Their InteractionPort Numbers Activity 6.2.7

Page 16: Chapter 6r

16/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Each upper layer relies on the layer below it

Upper Layers– message content

Lower Layers– help to move data

Network ServicesClients/Servers and Their InteractionProtocol Interaction

Page 17: Chapter 6r

17/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Why Use a Layered Model?

Assists in protocol design

Allows competition between vendors

– can all work together

One layer does not affect other layers

Allows for a common language

Network ServicesClients/Servers and Their InteractionProtocol Interaction

Page 18: Chapter 6r

18/20Cisco Discovery Home & Small Business Chapter 6: Network Services

Encapsulation (sending data)

From top to bottom

Application data broken into segments– segments contain source and destination ports

TCP segments sends it down to Internet layer– source and destination IP added (packet)

Packet put into a frame– header and trailer added• header = source and destination MAC• trailer = error checking

Broken into bits – encoded onto the media (cabling)

Network ServicesClients/Servers and Their InteractionProtocol Operation of Sending and Receiving a Message

Page 19: Chapter 6r

19/20Cisco Discovery Home & Small Business Chapter 6: Network Services

De-encapsulation (receiving data) From bottom to top Bits are decoded from the media Frame removes header and trailer Packet removes the IP address

– source and destination IP

Segment is received and reassembled for the user – viewing a web page

Network ServicesClients/Servers and Their InteractionProtocol Operation of Sending and Receiving a Message Activity 6.3.2

Page 20: Chapter 6r

20/20Cisco Discovery Home & Small Business Chapter 6: Network Services