Top Banner
The Internet: Fundamentals
52

The Internet: Fundamentals

Jan 08, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Internet: Fundamentals

The Internet: Fundamentals

Page 2: The Internet: Fundamentals

Announcements

¤  Lab moved to tomorrow: ¤  Lab 11

¤  This week: ¤  In class exam tomorrow (Thursday, August 1st)

¤  OLI: Encryption due 11:59PM, August 1st

¤  Lab 12 moved to August 7th

¤  Monday: Lab Exam 2

2

Page 3: The Internet: Fundamentals

Overview

¤  Computer Networks

¤  Protocols

¤  Some history

¤  Addressing

¤  Packet switching

¤  End-to-end principle

¤  Net neutrality

3

Page 4: The Internet: Fundamentals

Computer networks

4

Page 5: The Internet: Fundamentals

Computer Networks

Page 6: The Internet: Fundamentals

Computer Networks

¤  A computer network is a set of independent computer systems connected by telecommunication links for the purpose of sharing information and resources

6

Page 7: The Internet: Fundamentals

Computer Networks

¤  A computer network is a set of independent computer systems connected by telecommunication links for the purpose of sharing information and resources

7

Nodes (computers in the network)

Data links (ethernet, wifi)

Page 8: The Internet: Fundamentals

The internet

¤  a global system of interconnected computer networks

¤  the biggest computer network of all: the network of networks

8

Page 9: The Internet: Fundamentals

Protocols agreeing to communicate

9

Page 10: The Internet: Fundamentals

The need for protocols

10

Page 11: The Internet: Fundamentals

Protocols and network connections

¤ “Data links” are the physical connections

¤ Signals propagate through data links

¤ could be voltages, photons, radio waves

¤ Question: how does a sequence of voltage changes become data (bits)?

11

Page 12: The Internet: Fundamentals

Answer: Physical Network Protocols

¤  From

to

¤  Protocols are agreements on a technical standard

¤  Devices (hardware/software) obey or implement protocols

12

0100100

Page 13: The Internet: Fundamentals

A modem implements a physical protocol

13

Modem (modulator - demodulator) transforms between

physical states (analog) and bits (digital)

Page 14: The Internet: Fundamentals

Modem

Page 15: The Internet: Fundamentals

With physical protocols

15

Page 16: The Internet: Fundamentals

Higher-level protocols

¤ Question: how does a sequence of bits become a message that makes sense to a person?

¤  encodings (we already saw this)

¤  and protocols (agreements on when to send what information)

¤ Example: our use of file extensions is a protocol.

¤ A file kitty.jpg is interpreted as a jpeg-compressed file.

16

Page 17: The Internet: Fundamentals

Without higher-level protocols

17

0100100

Page 18: The Internet: Fundamentals

With higher-level protocols

18

0100100

Page 19: The Internet: Fundamentals

What is the Internet? ¤ It’s our world!

¤ But to a techie the Internet is a collection of protocols ¤  Implemented in software and hardware ¤ Designed to interconnect all types of networks

(cell phones, Ethernet, wifi, …)

¤ No one entity controls/owns the Internet ¤ But to connect to it, you need a machine that

obeys the protocols

19

Page 20: The Internet: Fundamentals

History From Arpanet to Internet

20

Page 21: The Internet: Fundamentals

Some Internet History

¤ Why history?

¤ It reveals some reasons for the way things are now: ¤ Security vulnerabilities ¤ Political stances ¤ Governance structures

21

Page 22: The Internet: Fundamentals

ARPANET to Internet

22

Dec. 1970 Arpanet

Page 23: The Internet: Fundamentals

ARPANET to Internet

23

2000’s Internet Map (small section)

Page 24: The Internet: Fundamentals

ARPANET Design Goals

¤  Connect geographically separated computers ¤  Universities

¤  Research institutes, e.g. SRI

¤  Be robust to loss of parts of network ¤  Remaining parts continue functioning

¤  Not a goal: security—all connected systems were trusted

¤  This worked until the Morris worm incident

24

Page 25: The Internet: Fundamentals

ARPANET Innovations

¤  Packet switching

¤  TCP/IP: the foundational Internet protocols

¤  Applications ¤  remote logins

¤  email

¤  electronic bulletin boards

25

Page 26: The Internet: Fundamentals

ARPANET to Internet

¤ Originally ARPANET was a wide-area network – not an internet (all the links were the same type)

¤ TCP/IP made it an internet: connected disparate network types (early 80s)

¤ Commercial ISPs made it public: the Internet (late 80s to early 90s)

26

Page 27: The Internet: Fundamentals

Internet Design Goals

In order of priority:

1.  Survivability

2.  Support multiple types of communication service

3.  Accommodate a variety of networks

4.  Permit distributed management of Internet resources

5.  Cost effective

6.  Host attachment should be easy

7.  Resource accountability

27

David D. Clark, The Design Philosophy of the DARPA Internet Protocols, ACM SIGCOMM, Computer Communication Review Vol. 18, No. 4, 1988, 106-114.

Page 28: The Internet: Fundamentals

Internet addressing getting from here to there: where is “here”? where is “there”?

28

Page 29: The Internet: Fundamentals

IP Addresses

•  Each computer on the Internet is assigned an IP Address consisting of four numbers between 0 and 255 inclusive

____ . ____ . ____ . ____

Example: 128. 2. 13. 163

Data sent on the Internet must always be sent to some IP address

•  How many bits per address?

•  How many computers can be on the Internet at the same time?

29

Page 30: The Internet: Fundamentals

Where do IP addresses come from?

¤  An IP address isn’t part of a computer!

¤  Groups of addresses are allotted to various organizations by IANA (Internet Assigned Numbers Authority)

These organizations assign addresses to computers.

¤  Static versus dynamic assignments ¤  static for important server machines

¤  dynamic for others

30

Page 31: The Internet: Fundamentals

What does an IP address “say”

¤  Identifies a particular machine at a particular time

¤  Identifies (somewhat vague) geographic location based on organization that “owns” it

¤  What it doesn’t say ¤  who is using the machine to do what

¤  what kind of machine it is

31

Page 32: The Internet: Fundamentals

Packet switching getting from here to there: basic transportation mechanism

32

Page 33: The Internet: Fundamentals

The path from “here” to “there”

¤  For now, think of sending a message (group of bits) from one machine to another through the Internet

¤  We attach the source and destination IP addresses to the message

¤  “The Internet” gets it from source to destination ¤  but how? using packet switching

33

Page 34: The Internet: Fundamentals

Design Decisions

¤ No limit on message size

¤ Flexible and robust delivery mechanism

34

Page 35: The Internet: Fundamentals

Routing

¤ There are multiple paths from one node (computer) to another

35

Page 36: The Internet: Fundamentals

Circuit Switching the road not taken

¤ Two network nodes (e.g. phones) establish a dedicated connection via one or more switching stations.

36

Page 37: The Internet: Fundamentals

Circuit Switching the road not taken

¤ Two network nodes (e.g. phones) establish a dedicated connection via one or more switching stations.

37

Page 38: The Internet: Fundamentals

Circuit switching

¤ Advantages

¤  reliable ¤  uninterruptible ¤  simple to

understand

¤ Disadvantages ¤ costly ¤  inflexible ¤ wasteful ¤ hard to expand

38

Page 39: The Internet: Fundamentals

Packet Switching

¤  Two network nodes (e.g. computers) communicate by breaking the message up into small packets ¤  each packet sent separately

¤  with a serial number and a destination address.

¤  Routers forward packets toward destination ¤  table stored in router tells it which neighbor to send packet

to, based on IP address of destination

¤  Packets may be received at the destination in any order ¤  may get lost (and retransmitted)

¤  serial numbers used to put packets back into order at the destination

39

Page 40: The Internet: Fundamentals

Packet Switching

15110 Principles of Computing, Carnegie Mellon University 40

ISP

ISP

Router

Router

Router

Router

Router

1 2 3

1 1

1

1

1

1

1

2

2 2

2

2

3

3

3

3

3

3

3 2

2 3

2

Page 41: The Internet: Fundamentals

Routing and Internet structure

¤ Core à provides transport services to edges ¤  Routers forward packets

¤  Internet Service Providers (ISPs) provide data transmission media (fiber optic etc.)

¤  domain name servers (DNS) provide directory of host names (more on this next time)

¤ Edges à provide the services we humans use ¤  individual users, “hosts”

¤  private networks (corporate, educational, government…)

¤  business, government, nonprofit services

41

Page 42: The Internet: Fundamentals

End-to-end principle Internet article of faith

42

Page 43: The Internet: Fundamentals

Core architectural guideline

¤  Idea: routers should stick to getting data quickly from its source to its destination! ¤  they can be fast and stupid

¤ Everything else is responsibility of edges, e.g. ¤  error detection and recovery

¤  confidentiality via encryption

¤  …

43

Page 44: The Internet: Fundamentals

Benefits of End-to-end

¤  Speed and flexibility

¤  Support for innovation: routers need know nothing about apps using their services

¤  Equality of uses: routers can’t discriminate based on type of communication (net neutrality)

44

Page 45: The Internet: Fundamentals

Controversies

¤ End-to-end principle under pressure ¤  because of technical developments

¤  video streaming requires high-quality delivery service

¤  because of social and economic developments

¤  lack of trust because of bad actors on the Internet

¤  profit opportunities for ISPs

¤  corporate and government monitoring of communications

45

Page 46: The Internet: Fundamentals

Governing the Internet

¤  Internet Society: a range of partners from non-profit agencies, local and global NGOs, academia, technologists, local councils, federal policy and decision makers, business (www.isoc.org)

¤  Internet Service Providers (ISPs) regulated in the USA by the Federal Communications Commission (FCC)

46

Page 47: The Internet: Fundamentals

Network neutrality current issue

47

Page 48: The Internet: Fundamentals

Net neutrality principle

¤ All communications are treated equally

¤ regardless of source, destination, or type

48

Page 49: The Internet: Fundamentals

Where is there net neutrality?

¤  In principle, most places

¤  But some governments already censor or otherwise control the Internet within their borders

49

Page 50: The Internet: Fundamentals

Net neutrality and the FCC (grossly oversimplified)

¤  Historically the FCC prohibited ISPs from violating net neutrality

¤  2014: Federal court ruled FCC had no authority for their then-current regulations because ISPs were not “common carriers”

¤  2015: FCC voted (on party lines) to enforce net neutrality based on a different legal authority.

¤  Verizon, Comcast, etc. unhappy

¤  Facebook, Netflix, Google, etc. happy

¤  2017: FCC votes to drop its previous order, freeing broadband providers to block or throttle content as they see fit

¤  June 11, 2018 – The repeal of the FCC's rules took effect.

50

Page 51: The Internet: Fundamentals

Next time: the Internet for humans

¤  From packet switching to reliable transport

¤  From IP addresses to names

¤  From the Internet to the web

51

image: Aleksei Bitskoff, bitskoff.blogspot.com

Page 52: The Internet: Fundamentals

Questions for the exam tomorrow