Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,

Slides:



Advertisements
Similar presentations
Introduction 2 1: Introduction.
Advertisements

CCNA – Network Fundamentals
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Transport Protocols Slide 1 Transport Protocols.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
TCP. Learning objectives Reliable Transport in TCP TCP flow and Congestion Control.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
5/12/05CS118/Spring051 A Day in the Life of an HTTP Query 1.HTTP Brower application Socket interface 3.TCP 4.IP 5.Ethernet 2.DNS query 6.IP router 7.Running.
Networking. Protocol Stack Generally speaking, sending an message is equivalent to copying a file from sender to receiver.
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Gursharan Singh Tatla Transport Layer 16-May
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
Process-to-Process Delivery:
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Lect3..ppt - 09/12/04 CIS 4100 Systems Performance and Evaluation Lecture 3 by Zornitza Genova Prodanoff.
1 Transport Layer Computer Networks. 2 Where are we?
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.
Common Devices Used In Computer Networks
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
1 Chapter 1 OSI Architecture The OSI 7-layer Model OSI – Open Systems Interconnection.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
I. Basic Network Concepts. I.1 Networks Network Node Address Packet Protocol.
TCP : Transmission Control Protocol Computer Network System Sirak Kaewjamnong.
SMUCSE 4344 transport layer. SMUCSE 4344 transport layer end-to-end protocols –transport code runs only on endpoint hosts encapsulates network communications.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 2.5 Internetworking Chapter 25 (Transport Protocols, UDP and TCP, Protocol Port Numbers)
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
The Transmission Control Protocol (TCP) Application Services (Telnet, FTP, , WWW) Reliable Stream Transport (TCP) Connectionless Packet Delivery.
1 Introduction to Computer Networks University of ilam Dr. Mozafar Bag-Mohammadi Transport Layer.
Information Flow Across the Internet. What is the Internet? A large group of computers that link together to form the Worldwide Area Network (WAN)
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Multimedia and Networks. Protocols (rules) Rules governing the exchange of data over networks Conceptually organized into stacked layers – Application-oriented.
Networks and Distributed Systems Mark Stanovich Operating Systems COP 4610.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
81 Sidevõrgud IRT 0020 loeng okt Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Transmission Control Protocol (TCP) BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Transport Protocols.
Networks and Distributed Systems Sarah Diesburg Operating Systems COP 4610.
Midterm Review Chapter 1: Introduction Chapter 2: Application Layer
1 End-to-End Protocols User Datagram Protocol (UDP) Transmission Control Protocol(TCP)
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Transmission Control Protocol (TCP) TCP Flow Control and Congestion Control CS 60008: Internet Architecture and Protocols Department of CSE, IIT Kharagpur.
Lecture Topics: 11/29 IP UDP TCP DNS. Homework 9 Write a simple web server –not as hard as it sounds Specification out tonight Skeleton code out by tomorrow.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI transport layer CCNA Exploration Semester 1 – Chapter 4.
1 28-Sep-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI network layer CCNA Exploration Semester 1 Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 OSI network layer CCNA Exploration Semester 1 – Chapter 5.
Chapter 3 Part 3 Switching and Bridging
LESSON Networking Fundamentals Understand TCP/IP.
Chapter 9: Transport Layer
Networking Fundamentals
Instructor Materials Chapter 9: Transport Layer
Transport Layer Unit 5.
I. Basic Network Concepts
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
Basic Mechanisms How Bits Move.
Chapter 3 Part 3 Switching and Bridging
Introduction to Computer Networks
Routing and the Network Layer (ref: Interconnections by Perlman
OSI Reference Model Unit II
Process-to-Process Delivery: UDP, TCP
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Networking Fundamentals

Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers, bridges, switches) –Terminal (workstations) Links – connections for transmitting data Protocol – standards for formatting and interpreting data and control information

Network = {nodes and links}

Nodes have addresses

Links have bandwidths and latencies

Wires aren’t perfect Attenuation (resistance) –degrades quality of signal Delay (speed of light * 2/3) –speed of light: 8ms RTT coast-to-coast 8 minutes to the sun Noise (microwaves and such) Nodes aren’t perfect either –Unreliability is pervasive!

Getting Data Across (imperfect wires) Split up big files into small pieces –the pieces are called packets Each packet (~1500 bytes) is sent separately –packets can be corrupted noise, bugs –packets can be dropped corrupted, overloaded nodes –packets can be reordered retransmission + different paths Allows packets from different flows to be multiplexed along the same link

Layers Each layer abstracts the services of various lower layers, providing a uniform interface to higher layers. Each layer needs to know: –How to interpret a packet’s payload e.g., protocol numbers –How to use the services of a lower layer

OSI Levels Presentation Transport Network Data Link Physical Application Presentation Transport Network Data Link Physical Application Node A Node B Network

Layers Application Presentation Session Transport Network Data-Link Physical HTTP TCP IP Ethernet Twisted Pair OSI ReferenceRealityPacket Format Ethernet Payload IP Payload App data

The Internet Protocol (IP) Connects disparate networks –Single (hierarchical) address space –Single network header Assumes data link is unreliable Provides unreliable service –Loss: A B D E –Duplication: A B B C D E –Corruption: A Q C D E –Reordering: A C D B E

IP Addresses 32 bits long, split into 4 octets: –For example, Hierarchical: –First bits describe which network –Last bits describe which host on the network UW subnets include: –128.95, … UW CSE subnets include: – , , …

Packet Forwarding Buffer incoming packets Decide which output link Buffer outgoing packets Send packet

Routing How do nodes determine which output link to use to reach a destination? Distributed algorithm for converging on shortest path tree Nodes exchange reachability information: –“I can get to x in 3 hops”

Shortest path tree (1) (2) (1) (2) (x) Is the cost to get to 6. The metric (cost per link) here is 1. Simple algorithm: 6 broadcasts “I’m alive” to neighbors. Neighbors send “I can get to 6 in 1 hop”, etc.

Route Aggregation What hierarchical addressing is good for. UW routers can advertise x.x –instead of x, ,x, … Other routers don’t need forwarding table entries for each host in the network.

Routing Reality Routing in the Internet connects Autonomous Systems (AS’s) –AT&T, Sprint, UUNet, BBN… Shortest path, sort of… money talks. –actually a horrible mess –nobody really knows what’s going on –get high $$ job if you are a network engineer that messes with this stuff

TCP Service Model Provide reliability, ordering on the unreliable, unordered IP Bytestream oriented: when you send data using TCP, you think about bytes, not about packets.

TCP Ports Connections are identified by the tuple: –IP source address –IP destination address –TCP source port –TCP destination port Allows multiple connections; multiple application protocols, between the same machines Well known ports for some applications: (web: 80, telnet: 23, mail:25, dns: 53)

TCP’s Sliding Window Simple reliability: –Send one packet, wait for acknowledgment, then send the next… Better performance: –Keep several unacknowledged packets in the network (a window)

Sliding Window Example Send 1 Send 2 Send 3 Send 4 Send 5 Send 6 Send 7 Send 8 Send 9 Ack 1 Ack 2 Ack 3 Ack 4 Ack 5 Ack 6 Ack 7 Ack 8 Window size = 3 Can send up to three packets into the network at a time. Each packet has a sequence number for ordering

TCP’s Congestion Control How big should the window be? Performance is limited by: –(window size) / round trip time –Performance of bottleneck link (modem?) If window is too small, performance is wasted. If window is too big, may overflow network buffers, causing packet loss.

Steps for a web access Name lookup –Client to local DNS server –Local DNS may return a cached binding, or lookup the name for itself TCP Connection setup –Client to remote IP, port 80 Send HTTP request –“GET /index.html” Receive HTTP response –“blah blah blah” maybe several packets TCP Connection teardown

HTTP 1.1 Incremental improvements “Persistent connections” allow multiple requests over the same connection –Web transfers are often small –Avoid connection setup and teardown overhead –TCP is better the longer you use it: it learns how fast to send to get best performance without overflowing buffers.