1
CS 3640: Introduction to Networks and Their Applications
Fall 2018, Lecture 2: More layering and the end-to-end principle. Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
CS 3640: Introduction to Networks and Their Applications Fall 2018, - - PowerPoint PPT Presentation
CS 3640: Introduction to Networks and Their Applications Fall 2018, Lecture 2: More layering and the end-to-end principle. Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain 1 Today in class 1. 2. 3. Some Layering and
1
Fall 2018, Lecture 2: More layering and the end-to-end principle. Instructor: Rishab Nithyanand Teaching Assistant: Md. Kowsar Hossain
2
Today in class
3
Rules of engagement: Recap
4
You should have…
5
Collaboration and cheating policy
6
What you should remember from the previous lecture
7
Today in class
Layering: Recap Provide protocols for applications to use (HTTP, email, etc.) Provide (reliable) end-to-end delivery Provide best-effort global delivery Put bits on the medium
9
Building a picture of the Internet: End-hosts
Home network Enterprise network Mobile network
10
Building a picture of the Internet: Access networks
cable, DSL, dial-up, or satellite access networks.
fiber, or other wide-area network transmission media.
network transmission media.
Local ISP “A” Local ISP “B” Local ISP “C” Home network Enterprise network Mobile network
Building a picture of the Internet: The network core
Local ISP Local ISP Local ISP Home network Enterprise network Mobile network Regional ISP Regional ISP Global ISP Global ISP
Building a picture of the Internet: Encapsulation
Any guesses for why 64K is the size limit of a packet?
Data Application Header Transport Data Header Network Header Data Header Link Data Header Header
Building a picture of the Internet: What is a packet?
because they exist at the network layer.
Data Application Header Transport Data Header Network Header Data Header Link Data Header Header
Building a picture of the Internet: What is a packet?
“time to live” (TTL). This control information is stored in its 20 byte “header”.
should send the packet to.
The picture of the Internet: The exciting life of a packet
In 72ms a packet goes from NYC to Sydney. In its lifetime it travels under the oceans, through war- torn lands, dictatorships, and democracies.
16
Today in class
The three design principles of the Internet
Let’s design a reliable file transfer app
at each node).
Let’s design a reliable file transfer app
Let’s design a reliable file transfer app
Let’s design a reliable file transfer app
Maria trusts the functioning of network elements not in her control.
at her end. We introduced a redundant functionality to the network layer.
Let’s design a reliable file transfer app
Layering can only give you so much
download web pages reliably.
should be implemented.
The end-to-end principle
functionality.
A simplified version of the end-to-end argument
Why is the end-to-end argument a good principle?
the functionality).
When does violating the end-to-end principle make sense?
The impact of the end-to-end principle on the Internet
Discussion
The three design principles of the Internet
Fate-sharing: A good principle on the Internet and in life
Fate-sharing: A good principle on the Internet and in life
transfer again if required.
benefitted from its completion.
The three design principles of the Internet
Highly recommended reading
35
What you should remember from this lecture