IST 201 - John Rouda

Download Report

Transcript IST 201 - John Rouda

IST 201
Chapter 11
Lecture 2
Ports





Used by TCP & UDP
Keep track of different types of transmissions
crossing the network simultaneously.
Combination of IP address & port number is
referred to as a socket.
Pass info to upper layer protocols
Transmissions that originate w/o a known
appl. port # get a dynamically assigned port
number greater than 1023.
TCP – Transmission Control Protocol






Operates @ transport layer
Part of the TCP/IP protocol suite
Connection – oriented
Breaks messages (data) into segments
Passes to next layer
Reassembles segments into messages
TCP Protocols

FTP




Port #53
Domain Name Service, System, Server
Telnet

Port #25
Simple Mail Transfer Protocol
DNS

Port #80
Hypertext Transfer Protocol
SMTP


File Transport Protocol
HTTP

Port #21, #20
Port #23
Terminal network
TCP Segment Format
Bit 15 Bit 16
Bit 0
Source Port (16)
Bit 31
Destination Port (16)
Sequence Number (32)
Acknowledgment Number (32)
Header
Reserved Code
Window (16)
Length (4)
(6)
Bits (6)
Checksum (16)
Urgent (16)
Options (0 or 32 if Any)
Data (Varies)
20
Bytes
UDP – User Datagram Protocol



Operates @ transport layer
Part of the TCP/IP protocol suite
Connectionless


No acknowledgements; no receipts
Error handling & retransmission must
be handled by upper layer protocols.
UDP Segment Format
Bit 15 Bit 16
Bit 0
Source Port (16)
Bit 31
Designated Router (16)
Length (16)
Checksum (16)
Data (If Any)
No Sequence or Acknowledgement Fields
8
Bytes
UDP Protocols

TFTP – Port 69


SNMP – Port 161


Simple Network Management Protocol
DHCP – Port 67, Port 68


Trivial File Transport Protocol
Dynamic Host Configuration Protocol
DNS – Port 53

Domain Name Server, System, Service
Application Layer



Closest layer to end user
Intermediary between user’s software
applications
Provides services to application software




Spreadsheets
Word processing
Banking
Direct interface to web browsers, e-mail
Application Layer
Responsibilities




Identify and establish availability of
intended communication partners
Synchronize co-operating applications
Establish agreement on procedures for
error recovery
Control data integrity
Direct Network Applications


Server
Application that
operate on
client/server
network
Examples



FTP
Web browsers
E-mail
Client
Server
Indirect Network
Using a host application – word
processing, spreadsheet, etc. and
opening, printing or saving to a
network server.
Client
Make/Break a Connection


Alternative to connection-oriented and
connectionless
Examples


Accessing a web page
Printing to a network server
DNS – Domain Name Service


System used on the Internet to
translate domain names to IP addresses
Each LAN usually has a least one DNS
server
.us
.mil
.edu
.org
.com
.net
.gov
FTP






Download/upload files
Client/server application
Server must have the FTP software running
for clients to be able to access it.
Requires authentication
Establishes a connection – uses TCP
Commands are sent and executed on the
server

Create folders, copy, move, erase, rename files
TFTP





Connectionless – uses UDP
Small, easy to implement
File downloads/uploads
Read/write files only
Fast
HTTP



Works with the WWW
Browser is client/server application
Make/break a connection
SMTP



E-mail servers communicate with one another
to send/receive mail
Supplies little security
No authentication required





POP3 (Port 110) or IMAP4
Clients use to download mail
Both use TCP
Clients use SMTP to send mail
Clients use POP3 or IMAP4 to receive
SNMP




Allows the exchange of management
information between network devices
Manage network performance
Find/resolve network problems
Plan for growth
SNMP Components

Managed device

Network node w/SNMP agent installed to collect
and store local information


Agent


Routers, servers, switches, hubs, hosts, printers
Software module that reside on a managed device
Network Management System


Executes applications that monitor and control
devices
Usually resides on a server; processing and
memory resources there primarily used
Telnet




Terminal emulation software that allows
the capability to remotely access
another device
Commonly used to manage network
devices
Client – local host
Server – remote host

Special software called a daemon