Introduction and Overview of Network and Telecommunications (contd.)

Slides:



Advertisements
Similar presentations
Protocol layers and Wireshark Rahul Hiran TDTS11:Computer Networks and Internet Protocols 1 Note: T he slides are adapted and modified based on slides.
Advertisements

Transport Layer3-1 Transport Overview and UDP. Transport Layer3-2 Goals r Understand transport services m Multiplexing and Demultiplexing m Reliable data.
Networks and TCP/IP Part 2. PORTS Ports – What and Why are They?  Typically: Computers usually have only one network access point to the internet 
Summer Workshop on Cyber Security Computer Networks Security (Part 1) Dr. Hamed Mohsenian-Rad University of California at Riverside and Texas Tech University.
Introduction to Transport Layer. Transport Layer: Motivation A B R1 R2 r Recall that NL is responsible for forwarding a packet from one HOST to another.
Transport Layer3-1 Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
Networking Based on the powerpoint presentation of Computer Networking: A Top Down Approach Featuring the Internet, Third Edition, J.F. Kurose and K.W.
Lecture 8 Chapter 3 Transport Layer
1 Computer Networks Transport Layer Protocols. 2 Application-layer Protocols Application-layer protocols –one “piece” of an app –define messages exchanged.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
Gursharan Singh Tatla Transport Layer 16-May
Internet Communication Models. Two Communication Paradigms: Stream vs. Message StreamMessage Connection-orientedConnectionless 1-1 communication1-1, 1-many,
Process-to-Process Delivery:
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
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.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
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.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Data Communications and Computer Networks Chapter 3 CS 3830 Lecture 12 Omar Meqdadi Department of Computer Science and Software Engineering University.
CS 1652 The slides are adapted from the publisher’s material All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Jack Lange.
Introduction 1-1 “Real” Internet delays and routes  What do “real” Internet delay & loss look like?  Traceroute program: provides delay measurement from.
Fundamentals of Computer Networks ECE 478/578 Lecture #19: Transport Layer Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Transport Layer 3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Part.
Transport Layer3-1 Chapter 3 Transport Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
Transport Layer1 Ram Dantu (compiled from various text books)
1 Transport Layer Lecture 7 Imran Ahmed University of Management & Technology.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
OSI Model Data Communications. 7 layer “research” model ApplicationPresentationSessionTransportNetworkLinkPhysical.
Transport Layer 3-1 Chapter 3 Outline r 3.1 Transport-layer services r 3.2 Multiplexing and demultiplexing r 3.3 Connectionless transport: UDP.
Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable data transfer.
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Networks Part 2: Infrastructure + Protocols NYU-Poly: HSWP Instructor: Mandy Galante.
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
MULTIPLEXING/DEMULTIPLEXING, CONNECTIONLESS TRANSPORT.
“Real” Internet delays and routes  What do “real” Internet delay & loss look like?  Traceroute program: provides delay measurement from source to router.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Transport Layer3-1 Chapter 3: Transport Layer Our goals: r understand principles behind transport layer services: m multiplexing/demultipl exing m reliable.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Introduction and Overview of Network and Telecommunications.
Introduction 1-1 source application transport network link physical HtHt HnHn M segment HtHt datagram destination application transport network link physical.
Communication Networks NETW 501 Tutorial 2
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Process-to-Process Delivery:
Reading for next class No new reading, but there will be a quiz Ch 4.1 – 4.23: Internet applications.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Ch 3. Transport Layer Myungchul Kim
CSEN 404 Transport Layer I Amr El Mougy Lamia Al Badrawy.
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
Introduction and Overview of Network and Telecommunications (contd.)
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.
Introduction to Networks
Chapter 5 Network and Transport Layers
LESSON Networking Fundamentals Understand TCP/IP.
Introduction and Overview of Network and Telecommunications
Review: Switch Model: Reduce the Mess
Slides taken from: Computer Networking by Kurose and Ross
Introduction to TCP/IP
OSI Protocol Stack Given the post man exemple.
Introduction and Overview of Network and Telecommunications (contd.)
Understand the OSI Model Part 2
Introduction to Networks
Lectures Computer networking تمرین 3 نمره. پژوهش عملیاتی 2 نمره.
Process-to-Process Delivery:
Chapter 3 Transport Layer
Presentation transcript:

Introduction and Overview of Network and Telecommunications (contd.)

Reading for next class Ch 4.1 – 4.23: Internet applications

Review: Internet protocol stack Application: supporting network applications – FTP, SMTP, HTTP Transport: process-process data transfer – TCP, UDP Internet: routing of datagrams from source to destination – IP Link: data transfer between neighboring network elements – Ethernet, (WiFi), PPP Physical: bits “on the wire ”

TCP vs. UDP: Two Communication Paradigms StreamMessage Connection-orientedConnectionless 1-1 communication1-1, 1-many, many-many Sequence of bytesSequence of messages Arbitrary length transferLimited to 64K bytes Widely usedMultimedia applications Based on TCP (Guaranteed) Built on UDP (Not Guaranteed)

Message (Connectionless) Transport In the Internet UDP (message service) does not make any guarantees. A packet may be – Lost – Duplicated – Delayed – Delivered out-of-order

Why using message service? No connection establishment – Get straight to the point No connection state – A server can support more active clients simultaneously Fine application-level control over what data is sent, and when

Some Examples ApplicationTCP or UDP? TCP Remote terminal accessTCP WebTCP File transferTCP Streaming multimediaUDP, TCP Internet telephonyUDP, TCP Name translationTypically UDP Remote file serverTypically UDP TCP today: >95% Internet traffic ~75% on-demand and live streaming

Encapsulation Encapsulation is the mechanism used to effect protocol layering – Lower layer wraps higher layer content, adding its own information (header) to make a new message for delivery – Like sending a letter in an envelope; postal service doesn’t look inside

Hello World! TCPHTTP message TCPHTTP messageIP TCPHTTP messageIP TCPHTTP messageIP TCPHTTP messageIP TCPHTTP message Wire HTML Example HTTP message

Another Illustration Think of these nesting dolls:

Why Using Packets?

Connections between Computers n(n-1)/2 Overhead Telephone and Telegraph Wires in Broadway, 1890 From Book of Old New York. Henry Collins Brown. 1913

Switch Model: Reducing the Mess Analogy – Airport hubs

Tie-1 ISP: e.g., Sprint

Question Why you fly, you can check a map to determine what cities are on the route. However, there is no map of the internet, so how do you know what route a packet is taking?

An Analogy State CollegePhillyNYCBoston Local host: Alice Remote host: Jack

Traceroute Widely used command-line tool to let hosts peek inside the network – On all OSes (tracert on Windows) – Provides delay measurement from source to router along end-end Internet path towards destination.

Traceroute 3 probes Local host: Alice Remote host: Jack Probe successive hops to find network path – sends 3 packets that will reach each router on path towards destination – Each router returns packets to sender – sender times interval between transmission and reply.

Traceroute Local host: Alice Remote host: Jack Technically, a hop is defined as the action that occurs when a packet “jumps” from one router to the next. 1 hop 2 hop 3 hop N-1 hop N hop

Traceroute Question 1 How many computers (incl. local host, remote host, and intermediate routers) does this route have?

Traceroute Question 2 How many hops does this route have?

Traceroute Question 3 For a route with N hops, how many computer does it have? Local host: Alice Remote host: Jack 1 hop 2 hop 3 hop N-1 hop N hop

Traceroute Question 4 Local host sends 3 packets to each computer on the route (incl. routers and remote host). If the route has N hops, how many packets does local host send in total? Local host: Alice Remote host: Jack 1 hop 2 hop 3 hop N-1 hop N hop

Traceroute Question 5 For a route with N hops, how many packets are forwarded by the router that is closest to the local host? Local host: Alice Remote host: Jack 1 hop 2 hop 3 hop N-1 hop N hop

Traceroute Example 1 C:\> tracert allspice.lcs.mit.edu 1 20ms 25ms 15ms philadelphia4.t3.ans.net ( ) ms 120ms 140ms New-York2.t3.ans.net ( ) 3 300ms 280ms 260ms Cambridge1.bbnplanet.net ( ) 4 339ms 279ms 279ms Allspice.lcs.mit.edu ( ) 3 delay measurements

Traceroute Question 6 C:\> tracert allspice.lcs.mit.edu 1 20ms 25ms 15ms philadelphia4.t3.ans.net ( ) ms 120ms 140ms New-York2.t3.ans.net ( ) 3 300ms 280ms 260ms Cambridge1.bbnplanet.net ( ) 4 339ms 279ms 279ms Allspice.lcs.mit.edu ( ) How many computers are there in this route? How many hops?

Traceroute Question 7 C:\> tracert allspice.lcs.mit.edu 1 20ms 25ms 15ms philadelphia4.t3.ans.net ( ) ms 120ms 140ms New-York2.t3.ans.net ( ) 3 300ms 280ms 260ms Cambridge1.bbnplanet.net ( ) 4 339ms 279ms 279ms Allspice.lcs.mit.edu ( ) How many packets are sent by local host? How many packets are forwarded by New York (New- York2.t3.ans.net )?

Traceroute Question 8 C:\> tracert allspice.lcs.mit.edu 1 20ms 25ms 15ms philadelphia4.t3.ans.net ( ) ms 120ms 140ms New-York2.t3.ans.net ( ) 3 300ms 280ms 260ms Cambridge1.bbnplanet.net ( ) 4 339ms 279ms 279ms Allspice.lcs.mit.edu ( ) What’s the average round trip time form local host to Cambridge1.bbnplanet.net?

Traceroute Example 2 C:\> tracert ms 1 ms 1 ms ms 11 ms 9 ms c hsd1.pa.comcast.net [ ] 3 11 ms 10 ms 10 ms te sur02.statecollege.pa.pitt.comcast.net [ ] 4 17 ms 15 ms 15 ms be-3-ar03.lowerpaxton.pa.pitt.comcast.net [ ] 5 21 ms 21 ms 27 ms he ar01.pittsburgh.pa.pitt.comcast.net[ ] 6 45 ms 31 ms 32 ms be-7016-cr01.newyork.ny.ibone.comcast.net [ ] 7 29 ms 28 ms 29 ms ae12.edge1.NewYork2.level3.net [ ] ms 302 ms 306 ms ae-4-4.car1.Manchesteruk1.Level3.net [ ] ms 210 ms 207 ms ae-4-4.car1.Manchesteruk1.Level3.net [ ] ms 103 ms 106 ms ms 107 ms 107 ms ae29.erdiss-sbr1.ja.net [ ] ms 106 ms 106 ms ae31.londpg-sbr1.ja.net [ ] ms 109 ms 109 ms ae21.read-rbr3.ja.net [ ] ms 117 ms 105 ms ae1.read-rbr2.ja.net [ ] ms 107 ms 107 ms ae2.oxfo-rbr2.ja.net [ ] ms 107 ms 107 ms Oxford-University-2.ja.net [ ] ms 110 ms 108 ms csurb.backbone.ox.ac.uk [ ] ms 110 ms 110 ms boucs.backbone.ox.ac.uk [ ] ms 107 ms 107 ms boucs-lompi1.sdc.ox.ac.uk [ ] ms 109 ms 108 ms aurochs-web-154.nsms.ox.ac.uk [ ] Trace complete. Level3: Trans-atlantic link comcast Janet: UK’s research network oxford

Try it yourself Step 1: Start  Run  cmd Step 2: Trace route to – Somewhere in the U.S. – Somewhere outside U.S. Discuss the results with classmates next to you – How may hops are there in the path? – What’s the average delay from you computer to the remote host? – How many networks does the path traverse?