Internet Networking Spring 2002 Tutorial 11 T/TCP (TCP extension for Transactions)
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking...
-
Upload
kelley-walters -
Category
Documents
-
view
235 -
download
0
Transcript of Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking...
![Page 1: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/1.jpg)
Networking BasicsNetworking Basics
TCP/IP TRANSPORTTCP/IP TRANSPORT
andand
APPLICATION LAYERAPPLICATION LAYER
Version 3.0Cisco Regional Networking Academy
![Page 2: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/2.jpg)
ObjectivesObjectives
• Describe the functions of the TCP/IP transport layer.
• Describe flow control.
• Describe the processes of establishing a connection between peer systems.
• Describe windowing.
• Describe acknowledgment.
• Identify and describe transport layer protocols.
• Describe TCP and UDP header formats.
• Describe TCP and UDP port numbers.
• List the major protocols of the TCP/IP application layer.
• Provide a brief description of the features and operation of well-known TCP/IP applications.
![Page 3: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/3.jpg)
Table of ContentTable of Content
1 TCP/IP Transport Layer
2 TCP/IP Application Layer
![Page 4: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/4.jpg)
TCP/IP TRANSPORT LAYERTCP/IP TRANSPORT LAYER
![Page 5: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/5.jpg)
Introduction to transport layerIntroduction to transport layer
• The primary duties of the transport layer are to transport and regulate the flow of information from the source to the destination, reliably and accurately.
• The transport layer defines end-to-end connectivity between host applications
• Transport services include the following basic services:
– Segmentation of upper-layer application data
– Establishment of end-to-end operations
– Transport of segments from one end host to another end host
– Flow control provided by sliding windows
– Reliability provided by sequence numbers and acknowledgments
![Page 6: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/6.jpg)
Session establishment, maintenance, and termination Session establishment, maintenance, and termination overview overview
• One function of the transport layer is to establish a connection-oriented session between similar devices at the application layer.
Sende
r
Receiver
![Page 7: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/7.jpg)
Flow control Flow control
Sende
r
Receiver
![Page 8: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/8.jpg)
TCP: TCP: Three way handshakingThree way handshaking
A B
![Page 9: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/9.jpg)
TCP: TCP: Window and AcknowledgmentWindow and Acknowledgment
![Page 10: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/10.jpg)
TCP: TCP: Sliding window and AcknowledgmentSliding window and Acknowledgment
![Page 11: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/11.jpg)
TCP: TCP: Sequence and acknowledgmentSequence and acknowledgment
![Page 12: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/12.jpg)
TCP: TCP: Sequence and acknowledgmentSequence and acknowledgment
![Page 13: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/13.jpg)
Transport Layer:Transport Layer: TCP TCP
• TCP supplies a reliably transportation between end-user applications.
• These are its characteristics: – Connection-oriented.
– Supplies a virtual circuit between end-user applications
– Breacking outgoing messages into segments and reassembles messages at the destination.
– Resends anything not received by acknowledgement.
– Flow control: Windowing.
• The protocols that use TCP include: FTP, HTTP SMTP, Telnet.
![Page 14: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/14.jpg)
TCP Header formatTCP Header format
RFC-761
RFC-761
![Page 15: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/15.jpg)
TCP Header format:TCP Header format: Port number Port number
• Source Port 16 bits.
• Destination Port 16 bits.
• Source Port 16 bits.
• Destination Port 16 bits.
![Page 16: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/16.jpg)
TCP Header format: TCP Header format: SequenceSequence
• Sequence Number: 32 bits– The sequence number of the
first data octet in this segment (except when SYN is present).
• Sequence Number: 32 bits– The sequence number of the
first data octet in this segment (except when SYN is present).
![Page 17: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/17.jpg)
TCP Header format: TCP Header format: AcknowledgmentAcknowledgment
• Acknowledgment Number: 32 bits– This field contains the value of the
next sequence number the sender of the segment is expecting to receive.
• Acknowledgment Number: 32 bits– This field contains the value of the
next sequence number the sender of the segment is expecting to receive.
![Page 18: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/18.jpg)
TCP Header format: TCP Header format: Code bitsCode bits
• Control Bits: 8 bits – ACK: Acknowledgment field significant– RST: Reset the connection– SYN: Synchronize sequence numbers– FIN: No more data from sender
• Control Bits: 8 bits – ACK: Acknowledgment field significant– RST: Reset the connection– SYN: Synchronize sequence numbers– FIN: No more data from sender
![Page 19: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/19.jpg)
TCP Header format: TCP Header format: WindowWindow
• Window: 16 bits– The number of data octets beginning
with the one indicated in the acknowledgment field which the sender of this segment is willing to accept.
• Window: 16 bits– The number of data octets beginning
with the one indicated in the acknowledgment field which the sender of this segment is willing to accept.
![Page 20: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/20.jpg)
Transport Layer:Transport Layer: UDPUDP
• UDP transports data unreliably between hosts. Following are the characteristics:– Connectionless.
– Unreliable, no software checking for message delivery
– Transmit messages, does not need reassemble incoming messages.
– Without acknowledgements.
– Error processing and retransmission must be handled by higher layer protocols.
• The protocols that use UDP include: TFTP, SNMP , DHCP ,DNS .
![Page 21: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/21.jpg)
UDP Header formatUDP Header format
• UDP is a simple protocol that exchanges datagrams, without acknowledgments or guaranteed delivery.
RFC-768
RFC-768
![Page 22: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/22.jpg)
TCP and UDP port numbers TCP and UDP port numbers
• Both TCP and UDP use port (or socket) numbers to pass information to the upper layers.
RFC-1700
RFC-1700
![Page 23: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/23.jpg)
Range of portsRange of ports
• 2 bytes: 0 – 65535.– Numbers below 255 : for public
applications.– Numbers from 255 - 1023 : assigned to
companies for marketable applications.– Numbers above 1023 : are unregulated.
• End systems use port numbers to select proper applications.
• Originating source port numbers are dynamically assigned by the source host; usually, it is a number larger than 1023.
![Page 24: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/24.jpg)
Telnet port numberTelnet port number
![Page 25: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/25.jpg)
TCP/IP APPLICATIONSTCP/IP APPLICATIONS
![Page 26: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/26.jpg)
TCP Application layer protocolsTCP Application layer protocols
• Domain Name System (DNS)
• File Transfer Protocol (FTP)
• Hypertext Transfer Protocol (HTTP)
• Simple Mail Transfer Protocol (SMTP)
• Simple Network Management Protocol (SNMP)
• Telnet
• …
![Page 27: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/27.jpg)
DNS: DNS: Problems with using IP addressProblems with using IP address
![Page 28: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/28.jpg)
DNSDNS
• The DNS server is a device on a network that manages domain names and responds to requests from clients to translate a domain name into the associated IP address.
• The DNS system is set up in a hierarchy that creates different levels of DNS servers.
![Page 29: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/29.jpg)
DNS:DNS: System System
vnnvnn comcom eduedu govgov
comcom eduedu govgov ukukfrfrvnvn
..
![Page 30: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/30.jpg)
..
DNS:DNS: Database Database
vnvn
comcom
cttctt
www.ctt.com.vn 203.162.50.100
www
203.162.4.10
203.162.50.1
203.162.0.1
63.63.0.1
www – 203.162.50.100mail – 203.162.50.101Lab – 203.160.100.1
www – 203.162.50.100mail – 203.162.50.101Lab – 203.160.100.1
ctt – 203.162.50.1aaa – 203.162.70.201bbb – 203.160.9.7
ctt – 203.162.50.1aaa – 203.162.70.201bbb – 203.160.9.7
![Page 31: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/31.jpg)
DNS:DNS: Resolve Resolve www.yahoo.comwww.yahoo.com
vnnvnn yahooyahoo
comcomvnvn
..
Address of com server
Address of com serverAddress of yahoo.com
server
Address of yahoo.com
server
Address of www.yahoo.com
Address of www.yahoo.com
Address ofwww.yahoo.com
Address ofwww.yahoo.com
RequestRequestRequestRequest
ReplyReplyReplyReply
![Page 32: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/32.jpg)
FTP and TFTPFTP and TFTP
• FTP and TFTP are designed to download files or upload files on the Internet.
• FTP is a reliable, connection-oriented service that use TCP. The FTP session is maintained until the client terminates it, or there is some sort of communication error.
• TFTP is a connectionless sevice that use UDP
![Page 33: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/33.jpg)
HTTPHTTP
• Web pages are created with a format language called Hypertext Markup Language (HTML).
• Hyperlinks make the World Wide Web easy to navigate. A hyperlink is an object on a Web page that, when clicked, transfers you to a new Web page.
• An address location known as a Uniform Resource Locator (URL).
• Exsample: http://www.cisco.com/edu
![Page 34: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/34.jpg)
SMTPSMTP
• Email servers communicate with each other using the SMTP to send and receive mail.
• Email client, work with the POP3 or IMAP4 protocol to access email server.
• Email client, work with the SMTP to send mail.• For security, when message recipients check
their e-mail they are often prompted for a password. The password can also be saved in many e-mail programs.
• An e-mail address consists of the recipient’s username and post-office address: [email protected].
![Page 35: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/35.jpg)
SNMPSNMP
![Page 36: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/36.jpg)
SNMPSNMP
• SNMP enables network administrators to manage network performance, find and solve network problems, and plan for network growth.
• SNMP uses UDP as its transport layer protocol.
• Three key components:
– Network management system (NMS)
– Managed devices
– Agents
![Page 37: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/37.jpg)
TelnetTelnet
• Telnet software provides the ability to remotely access another computer.
• The Telnet application works mainly at the application, presentation and session layers of the OSI model.
![Page 38: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/38.jpg)
SummarySummary
• The functions of the TCP/IP transport layer – Flow control – The processes of establishing a connection between peer
systems – Windowing – Acknowledgment
• Transport layer protocols – TCP and UDP header formats – TCP and UDP port numbers
• The processes and protocols at the TCP/IP application layer – Domain Name Services – File Transfer Protocols – Simple Mail Transfer Protocol – Simple Network Management Protocol – Telnet
![Page 39: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/39.jpg)
Q&AQ&A
![Page 40: Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.](https://reader035.fdocuments.in/reader035/viewer/2022062217/56649e2b5503460f94b18f75/html5/thumbnails/40.jpg)