64
Networks Chapters 15 and 16

Networks Chapters 15 and 16. Physical Networks

Embed Size (px)

Citation preview

Page 1: Networks Chapters 15 and 16. Physical Networks

Networks

Chapters 15 and 16

Page 2: Networks Chapters 15 and 16. Physical Networks

Physical Networks

Page 3: Networks Chapters 15 and 16. Physical Networks
Page 4: Networks Chapters 15 and 16. Physical Networks

How Far Fetched?

http://www.youtube.com/watch?feature=player_embedded&v=5WCTn4FljUQ

1981

Page 5: Networks Chapters 15 and 16. Physical Networks

The Ubiquitous Web

“When I took office, only high energy physicists had ever heard of what is called the Worldwide Web…. Now even my cat has its own page.”

- President Bill Clinton, 1996

Page 6: Networks Chapters 15 and 16. Physical Networks

World Wide Web

2005

Page 7: Networks Chapters 15 and 16. Physical Networks

How Many?

This is a topic that is important to us at Cisco. We believe the number of internet connected devices reached:

8.7 billion

in 2012.

Page 8: Networks Chapters 15 and 16. Physical Networks

How Many?

Country Population

USA 315,718,000

Canada 35,056,064

France 65,619,000

Japan 127,360,000

India 1,354,040,000

China 1,354,040,000

The world 6,952,794,452

The Internet 8,700,000,000

Page 9: Networks Chapters 15 and 16. Physical Networks

Internet All Over the World

• Africa

• Asia

• Europe

• Latin America/Carribean

• Middle East

• North America

• Oceania/Australia

Page 10: Networks Chapters 15 and 16. Physical Networks

Internet All Over the World

Page 11: Networks Chapters 15 and 16. Physical Networks

Internet All Over the World

By country: http://www.internetworldstats.com/top25.htm

Page 12: Networks Chapters 15 and 16. Physical Networks

Languages of the Internet• Arabic

• Chinese

• English

• French

• German

• Japanese

• Korean

• Portugese

• Russian

• Spanish

• Everything else

Page 13: Networks Chapters 15 and 16. Physical Networks

Languages of the Internet

Page 14: Networks Chapters 15 and 16. Physical Networks

Basic Connectivity

• Circuit switching

Page 15: Networks Chapters 15 and 16. Physical Networks

Basic Connectivity

• Circuit switching

Page 16: Networks Chapters 15 and 16. Physical Networks

Basic Connectivity

• Packet switching

Page 17: Networks Chapters 15 and 16. Physical Networks

Basic Connectivity

• Packet switching

Page 18: Networks Chapters 15 and 16. Physical Networks

Basic Connectivity

• Packet switching

Page 19: Networks Chapters 15 and 16. Physical Networks

LAN Topologies

Page 20: Networks Chapters 15 and 16. Physical Networks

LAN Topologies

Page 21: Networks Chapters 15 and 16. Physical Networks

LAN Topologies

Page 22: Networks Chapters 15 and 16. Physical Networks

WANs

Page 23: Networks Chapters 15 and 16. Physical Networks

When Do You Notice Packets?

When transmitting MPEGs, if the reference frame packet is lost, it isn’t possible to resolve the relative descriptions.

Page 24: Networks Chapters 15 and 16. Physical Networks

Bandwidth

• Rate at which data are transmitted across a network.

• Usually measured in bits/sec.

• “Goodput” will be less than physical throughput.

• Is limited by the weakest link in the chain.

Page 25: Networks Chapters 15 and 16. Physical Networks

Bandwidth

http://www.speedtest.net/

Page 26: Networks Chapters 15 and 16. Physical Networks

Bandwidth

http://www.internetfrog.com/mypc/speedtest/

Page 27: Networks Chapters 15 and 16. Physical Networks

Protocols

Page 28: Networks Chapters 15 and 16. Physical Networks

The Restaurant Protocol

• Enter the restaurant. • Wait until greeted and taken to table.• Sit. Wait for menus.• Order drinks.• Order food.• Wait for food to come, then eat.• Ask for bill.• Pay bill.• Leave

Page 29: Networks Chapters 15 and 16. Physical Networks

English Is a Communication Protocol

• Put the children’s cereal on the bottom shelves.

Page 30: Networks Chapters 15 and 16. Physical Networks

Ambiguity

• You can have potatoes or rice and beans.

or

Page 31: Networks Chapters 15 and 16. Physical Networks

Ambiguity

• You can have potatoes or rice and beans.

andor

Page 32: Networks Chapters 15 and 16. Physical Networks

Ambiguity• You can have potatoes or rice and salad.

andor

Page 33: Networks Chapters 15 and 16. Physical Networks

Robustness

The audio speaker is so construction that a sound of volume will come out of it when a key is depressed due to the finger. This is due to an electricity of alternate flowing in the coil in it.

Page 34: Networks Chapters 15 and 16. Physical Networks

Robustness

Page 35: Networks Chapters 15 and 16. Physical Networks

Network Protocols

• Efficient

• Unambiguous

• Robust

We need a protocol that is:

Page 36: Networks Chapters 15 and 16. Physical Networks

Communication Protocols You May Have Heard Of

• tcp• ip• http• https

Page 37: Networks Chapters 15 and 16. Physical Networks

The Internet Protocol Stack

TLS/SSL

Page 38: Networks Chapters 15 and 16. Physical Networks

IP Addresses

232 = 4,294,967,296 different ip addresses

Page 39: Networks Chapters 15 and 16. Physical Networks

Human Friendly Domain Names

Page 40: Networks Chapters 15 and 16. Physical Networks

Domain Name Servers

Page 41: Networks Chapters 15 and 16. Physical Networks

TCP/IP

Page 42: Networks Chapters 15 and 16. Physical Networks

Watching It Work

http://www.wimp.com/internetworks/

Page 43: Networks Chapters 15 and 16. Physical Networks

The Internet Protocol Stack

TLS/SSL

Page 44: Networks Chapters 15 and 16. Physical Networks

World Wide Web

Page 45: Networks Chapters 15 and 16. Physical Networks

Memex

Vannevar Bush’s Memex machine, described in the essay, “As We May Think” in 1945.

http://en.wikipedia.org/wiki/Vannevar_Bush

Page 46: Networks Chapters 15 and 16. Physical Networks

Memex

Vannevar Bush’s Memex machine, described in the essay, “As We May Think” in 1945.

http://en.wikipedia.org/wiki/Vannevar_Bush

“Bush’s great insight was realizing that there’s more value in the connections between data than in the data itself.” - Brewster Kayle (Wired)

Page 47: Networks Chapters 15 and 16. Physical Networks

Hypertext

http://www.cs.utexas.edu/~ear/

Page 48: Networks Chapters 15 and 16. Physical Networks

Hypertext Transfer Protocol (HTTP)

Client Server

Page 49: Networks Chapters 15 and 16. Physical Networks

HTML

Our project:

http://www.cs.utexas.edu/~ear/cs302/Homeworks/WebpageProject.html

Page 50: Networks Chapters 15 and 16. Physical Networks

Building and Publishing a Site

Site Builder Server

FTP

Page 51: Networks Chapters 15 and 16. Physical Networks

Secure Communication

• http://www.statesman.com

• https://www.bankofamerica.com

Page 52: Networks Chapters 15 and 16. Physical Networks

Cookies

Page 53: Networks Chapters 15 and 16. Physical Networks

GET /index.html HTTP/1.1Host: www.example.org

GET /spec.html HTTP/1.1Host: www.example.orgCookie: name=valueAccept: */*

HTTP/1.1 200 OKContent-type: text/htmlSet-Cookie: name=value (content of page)

Cookies

Page 54: Networks Chapters 15 and 16. Physical Networks

Cookies• Check whether this is a new or returning user• Shopping cart

First generation:

Cookie:

Little Red Book

How to Make a Bomb

Page 55: Networks Chapters 15 and 16. Physical Networks

Cookies• Check whether this is a new or returning user• Shopping cart

Second generation:

Cookie:

Session id: 754623598761

Backend DB: id = 754623598761

order = Little Red Book

How to Make a Bomb

Page 56: Networks Chapters 15 and 16. Physical Networks

Cookies• Check whether this is a new or returning user• Shopping cart• Remember user name/password

Page 57: Networks Chapters 15 and 16. Physical Networks

Cookies• Check whether this is a new or returning user• Shopping cart• Remember user name/password• Preferences

webpage

clicks

Page 58: Networks Chapters 15 and 16. Physical Networks

Cookies• Check whether this is a new or returning user• Shopping cart• Remember user name/password• Preferences• Tracking

id

request, id

id, url, date/time, ???

Id, url, date/time, ???

………

Page 59: Networks Chapters 15 and 16. Physical Networks

Third-Party CookiesToday:

Tomorrow:

www.site1.com

www.site2.com

MegaId#, ad

ad

MegaId#

#77654, site1

#77654, site2

Page 60: Networks Chapters 15 and 16. Physical Networks

Cookies• Cookies can have other attributes:

• Can cookies infect your computer with viruses?

Set-Cookie: RMID=732423sdfs73242; expires=Fri, 31-Dec-2010 23:59:59 GMT; path=/; domain=.example.net

Page 61: Networks Chapters 15 and 16. Physical Networks

Disabling Cookies

Let’s try it: http://www.washingtonpost.com

Mozilla help: http://support.mozilla.com/en-US/kb/Enabling+and+disabling+cookies?s=cookies&as=s

Page 62: Networks Chapters 15 and 16. Physical Networks

Flash Cookies

Let’s try it:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html

Page 63: Networks Chapters 15 and 16. Physical Networks

Computing in the Cloud

Page 64: Networks Chapters 15 and 16. Physical Networks

Computing in the Cloud