Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Intermediate TCP/IP TCP Operation.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Transport Layer TCP and UDP IS250 Spring 2010
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Gursharan Singh Tatla Transport Layer 16-May
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
Review: –What is AS? –What is the routing algorithm in BGP? –How does it work? –Where is “policy” reflected in BGP (policy based routing)? –Give examples.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
TCP/IP Protocol Suite Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
Mukesh N. Tekwani Elphinstone College Mumbai
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
University of the Western Cape Chapter 12: The Transport Layer.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
TCP/IP Transport and Application (Topic 6)
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Data Communications and Networks
Networking Basics CCNA 1 Chapter 11.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
1 Transport Layer: Basics Outline Intro to transport UDP Congestion control basics.
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
2: Transport Layer 11 Transport Layer 1. 2: Transport Layer 12 Part 2: Transport Layer Chapter goals: r understand principles behind transport layer services:
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 5 Network and Transport Layers
The Transport Layer Implementation Services Functions Protocols
Introduction to TCP/IP networking
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer.
Layered Architectures
TCP/IP Transmission Control Protocol / Internet Protocol
Internet Protocol (IP)
Process-to-Process Delivery:
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Net 323 D: Networks Protocols
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
NET 323D: Networks Protocols
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Layer 9/22/2019.
Unit – III Network Essentials
Presentation transcript:

Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University

Network Basics Communication Media 1/0

OSI 7-Layer Model Application Transport Network Link Physical Presentation Session Application Layer Transport Layer (TCP/UDP) 5-Layer Model

Bit Communication media (copper, fiber, air, etc.) Signal processing (0/1 representation, speed, etc.) Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Frame Typically contains a few hundreds of bytes Special mark for start and end of each frame Checksum error detections Erroneous frames can be discarded or retransmitted Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Packets, also known as datagram Packet routing and congestion control Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Packets, also known as datagram Packet routing and congestion control Challenges of path finding Network heterogeneity  e.g., from Ethernet to Token Ring to FDDI Multi-hop  A data packet may have to go several hops before reaching its destination Multi-path  The shortest route is not always the best route  What really matters is the amount of delay on a given route Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Data stream Provide a virtual tunnel for end-to-end connection Flow control Partition data into packets and assign each one a sequence number Provide service to assemble the received packets back into their original order Error detection and correction Lowest layer to which application programs are typically written Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Enable data exchange between application to application Establishment Synchronization Re-establishment Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Data representation and conversion Character representation  ASCII, UTF-8, or Unicode Integer representation  Little/Big-endian, 32/64-bit Floating point representation  IEEE 754, VAX Data compression/decompression Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

Dictate the semantics of how requests for services are made, such as requesting a file or checking for . The container for all applications and protocols Telnet, HTTP, POP, SMTP, Finger, FTP, etc. Virtually all distributed systems are applications In Java, almost all network software written will be for the application. Application Transport Network Link Physical Presentation Session OSI 7-Layer Model

A typical message as it appears on the network. 2-2 OSI 7-Layer Model

Internet Protocol (IP) An implementation of network layer Designed for packet-switched network  Each packet contains no more than 64K bytes Connectionless  Each packet is routed independently with sender and receiver address (what is the advantage?) Best-effort  Packets could be discarded during transmission because of the exhaustion of resources or a failure at the data link or physical layer Unreliable  Reliability is ensured at higher layer, such as TCP

IP Header A B C D E F A B C D E F |Version| HL |Type of Service| Total Length | | Identification |Flags| Fragment Offset | | Time to Live | Protocol | Header Checksum | | Source Address | | Destination Address | | Options | Padding |

Version: 4 bits helps smooth the transition to future version of IP Header length: 4 bits specifies the length of the header, in multiples of 32 bits limits the header to 15 * 32bits = 60 bytes Type of Service: 4 bits Specify a tradeoff between fast service and reliable service, not commonly used Total length: 16 bits Length of packet, the of which is limited to 64K bytes Time-To-Live (TTL): 8 bits limit the life of the packet on the network  Initialized to thirty  Decremented each time the packet arrives at a routing step  Discarded when it is equal to 0 Identification (16 bits), Flags (3 bits), and Fragment Offset (13 bits) Partition a datagram into packet if it is too large  Each packet must be no larger than 2^16 = 64K  The maximum number of fragments per datagram is 2^13 = 8192 Flags field controls whether these datagrams may be fragments  If a gateway can support only smaller packets, fields marked “do not fragment” are discarded A B C D E F A B C D E F |Version| HL |Type of Service| Total Length | | Identification |Flags| Fragment Offset | | Time to Live | Protocol | Header Checksum | | Source Address | | Destination Address | | Options | Padding | IP Header

User Datagram Protocol (UDP) An implementation of transport layer on top of IP Unreliable data transmission No guaranteed on delivery Packets could be received out of order Add port identification numbers and payload checksum to IP Ports allow multiplexing of data streams Highly efficient because of low overhead Suitable for delivering data that is small amount and needs to be sent frequently Typically used for latency-sensitive or low-overhead applications (video, time, DNS, etc.)

UDP Header | Source | Destination | | Port | Port | | | | | Length | Checksum |

Transmission Control Protocol (TCP) An implementation of transport layer on top of IP Reliable data transmission that can be used to send a sequence of bytes Provide guaranteed delivery and ordering of bytes, i.e., data are always received in their original order Port numbers, like UDP Checksums payload Flow control Sensitive to packet loss and round-trip time Error recovery: retransmit lost/corrupted packets

TCP Header a b c d e f a b c d e f | Source Port | Destination Port | | Sequence Number | | Acknowledgment Number | | Data | |U|A|E|R|S|F| | | Offset| Reserved |R|C|O|S|Y|I| Window | | | |G|K|L|T|N|N| | | Checksum | Urgent Pointer | | Options | Padding | | data |

IP + TCP/UDP = INTERNET Resource sharing between networks Information sharing Computing resource sharing Hardware and software independence Interoperable with any CPU architecture, operating system, and network interface card Reliability and robustness Data can be rerouted if necessary in order to reach its destination, regardless of the state of intermediary networks Distributed management and control