What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications...

49
What is the Internet? Session 2: Basic Principles Elena Silenok @silenok Charlie Robbins @nodejitsu Questions? Just Raise Your Hand

Transcript of What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications...

Page 1: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

What is the Internet?Session 2: Basic Principles

Elena Silenok @silenokCharlie Robbins @nodejitsu

Questions? Just Raise Your Hand

Page 2: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Topics

• Network architecture / Principles

• Protocols (List and Association)

• Relationship between IP Address & DNS

• TLDs, domain lookup, IPv4 vs IPv6, Root Servers

• Routers / BGP / Autonomous Systems

Page 3: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

History • Theory of Packet Switching (early 1960’s)

• decentralized network with multiple paths between any two points

• dividing complete user messages into message blocks (packets)

• delivery of these messages by store and forward switching

Page 4: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

History • Theory of Packet Switching (early 1960’s)

• decentralized network with multiple paths between any two points

• dividing complete user messages into message blocks (packets)

• delivery of these messages by store and forward switching

• ARPANET, Packet Radio Network and Packet Satellite Network

Page 5: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

History • Theory of Packet Switching (early 1960’s)

• decentralized network with multiple paths between any two points

• dividing complete user messages into message blocks (packets)

• delivery of these messages by store and forward switching

• ARPANET, Packet Radio Network and Packet Satellite Network

• Intelligent network or intelligent endpoints?

Page 6: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

History • Theory of Packet Switching (early 1960’s)

• decentralized network with multiple paths between any two points

• dividing complete user messages into message blocks (packets)

• delivery of these messages by store and forward switching

• ARPANET, Packet Radio Network and Packet Satellite Network

• Intelligent network or intelligent endpoints?

• End-to-end model

Page 7: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

History • Theory of Packet Switching (early 1960’s)

• decentralized network with multiple paths between any two points

• dividing complete user messages into message blocks (packets)

• delivery of these messages by store and forward switching

• ARPANET, Packet Radio Network and Packet Satellite Network

• Intelligent network or intelligent endpoints?

• End-to-end model

• IANA / ICANN

Page 8: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

Page 9: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

• Quad notation (dot notation) - 127.0.0.1

Page 10: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

• Quad notation (dot notation) - 127.0.0.1

• Internet Assigned Number Authority (IANA)

Page 11: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

• Quad notation (dot notation) - 127.0.0.1

• Internet Assigned Number Authority (IANA)

• ~4 billion IPv4 addresses

Page 12: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

• Quad notation (dot notation) - 127.0.0.1

• Internet Assigned Number Authority (IANA)

• ~4 billion IPv4 addresses

• 2001:0db8:85a3:0000:0000:8a2e:0370:7334

Page 13: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP addresses• Unique for every computer, 32 bits (IPv6 128 bits)

• Quad notation (dot notation) - 127.0.0.1

• Internet Assigned Number Authority (IANA)

• ~4 billion IPv4 addresses

• 2001:0db8:85a3:0000:0000:8a2e:0370:7334

• IPv6 - 2 ^128 addresses (40 undecillion, 282 decillion, 366 nonillion, 920 octillion, 938 septillion, 463 sextillion, 463 quintillion, 374 quadrillion, 607 trillion, 431 billion, 768 million, 211 thousand and 456)

Page 14: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

IP address utilization

Page 15: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Names• TLD - Top-Level Domains (.com, .net, .ly)

Page 16: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Names• TLD - Top-Level Domains (.com, .net, .ly)

• 21 Generic (.com, .aero, .biz, .edu, .name, .pro, .xxx, etc.)

Page 17: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Names• TLD - Top-Level Domains (.com, .net, .ly)

• 21 Generic (.com, .aero, .biz, .edu, .name, .pro, .xxx, etc.)

• ~250 Country code (always 2-letter) (.tv, .vc, .uk, .at, .bi, .fm, .ca, .cc, .ly, .jp, etc.)

Page 18: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Names• TLD - Top-Level Domains (.com, .net, .ly)

• 21 Generic (.com, .aero, .biz, .edu, .name, .pro, .xxx, etc.)

• ~250 Country code (always 2-letter) (.tv, .vc, .uk, .at, .bi, .fm, .ca, .cc, .ly, .jp, etc.)

• 17 Internationalized (.рф, .香港, .ไทย, !"#$%.)

Page 19: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Names• TLD - Top-Level Domains (.com, .net, .ly)

• 21 Generic (.com, .aero, .biz, .edu, .name, .pro, .xxx, etc.)

• ~250 Country code (always 2-letter) (.tv, .vc, .uk, .at, .bi, .fm, .ca, .cc, .ly, .jp, etc.)

• 17 Internationalized (.рф, .香港, .ไทย, !"#$%.)

• Operated by IANA

Page 20: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Name System

• Distributed database - Internet “phone book”

Page 21: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Name System

• Distributed database - Internet “phone book”

• Translation between IP addresses and domain names

Page 22: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Name System

• Distributed database - Internet “phone book”

• Translation between IP addresses and domain names

• Invented in 1983, “hosts” file at SRI before

Page 23: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Domain Name System

• Distributed database - Internet “phone book”

• Translation between IP addresses and domain names

• Invented in 1983, “hosts” file at SRI before

• BIND (Berkeley Internet Name Domain) Server

Page 24: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

DNS Architecture

Page 25: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Root NameserversLetter IPv4 address IPv6 address AS-number[3] Old name Operator Location

#sites (global/local)[4]Software

A 198.41.0.4 2001:503:ba3e::2:30 AS19836 ns.internic.net VeriSign Distributed using anycast6/0

BIND

B192.228.79.201 (since January 2004; originally was 128.9.0.107)[5]

2001:478:65::53 (not in root zone yet)

none ns1.isi.edu USC-ISI Marina Del Rey, California, U.S.0/1

BIND

C 192.33.4.12 AS2149 c.psi.net Cogent Communications

Distributed using anycast6/0

BIND

D 128.8.10.90 AS27 terp.umd.edu University of Maryland College Park, Maryland, U.S.1/0

BIND

E 192.203.230.10 AS297 ns.nasa.gov NASA Mountain View, California, U.S.1/0

BIND

F 192.5.5.241 2001:500:2f::f AS3557 ns.isc.org Internet Systems Consortium

Distributed using anycast2/47

BIND 9[6]

G 192.112.36.4 AS5927 ns.nic.ddn.mil Defense Information Systems Agency

Distributed using anycast6/0

BIND

H 128.63.2.53 2001:500:1::803f:235 AS13 aos.arl.army.mil U.S. Army Research Lab

Aberdeen Proving Ground, Maryland, U.S.2/0

NSD

I 192.36.148.17 2001:7fe::53 AS29216 nic.nordu.net Autonomica Distributed using anycast36

BIND

J192.58.128.30 (since November 2002; originally was 198.41.0.10)

2001:503:c27::2:30 AS26415 VeriSign Distributed using anycast63/7

BIND

K 193.0.14.129 2001:7fd::1 AS25152 RIPE NCC Distributed using anycast5/13

NSD[7]

L199.7.83.42 (since November 2007; originally was 198.32.64.12)[8]

2001:500:3::42 AS20144 ICANN Distributed using anycast37/1

NSD[9]

M 202.12.27.33 2001:dc3::35 AS7500 WIDE Project distributed using anycast5/1

BIND

Page 26: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Root Server Geography

Page 27: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Internet Data Flow

Page 28: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

OSI ModelData unit Layer Function

Hostlayers

Data

7. Application Network process to application

Hostlayers

Data 6. Presentation Data representation, encryption and decryption, convert machine dependent data to machine independent data

Hostlayers

Data

5. Session Interhost communication

Hostlayers

Segments 4. Transport End-to-end connections and reliability, flow control

Medialayers

Packet 3. Network Path determination and logical addressing

Medialayers Frame 2. Data Link Physical addressingMedialayers

Bit 1. Physical Media, signal and binary transmission

Page 29: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

TCP/IP• End-to-End Principle (smart ends, dumb network)

• Robustness Principle (send carefully, accept liberally)

Page 30: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

TCP/IP• End-to-End Principle (smart ends, dumb network)

• Robustness Principle (send carefully, accept liberally)

• IP is “best effort” delivery

Page 31: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

TCP/IP• End-to-End Principle (smart ends, dumb network)

• Robustness Principle (send carefully, accept liberally)

• IP is “best effort” delivery

• TCP (on top of IP) is connection-oriented and reliable

Page 32: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

TCP/IP• End-to-End Principle (smart ends, dumb network)

• Robustness Principle (send carefully, accept liberally)

• IP is “best effort” delivery

• TCP (on top of IP) is connection-oriented and reliable

■ data arrives in-order■ data has minimal error (i.e. correctness)■ duplicate data is discarded■ lost/discarded packets are resent■ includes traffic congestion control

Page 33: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Routers / BGP

Page 34: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Border Gateway Protocol (BGP)

• Protocol backing the core routing decisions on the Internet

Page 35: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Border Gateway Protocol (BGP)

• Protocol backing the core routing decisions on the Internet

• Table of IP networks (‘prefixes’, e.g. 44.0.0.0/8)

Page 36: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Border Gateway Protocol (BGP)

• Protocol backing the core routing decisions on the Internet

• Table of IP networks (‘prefixes’, e.g. 44.0.0.0/8)

• Replaced Exterior Gateway Protocol (EGP) to remove reliance on NSFNet network

Page 37: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Border Gateway Protocol (BGP)

• Protocol backing the core routing decisions on the Internet

• Table of IP networks (‘prefixes’, e.g. 44.0.0.0/8)

• Replaced Exterior Gateway Protocol (EGP) to remove reliance on NSFNet network

• Fully decentralized routing

Page 38: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Border Gateway Protocol (BGP)

• Protocol backing the core routing decisions on the Internet

• Table of IP networks (‘prefixes’, e.g. 44.0.0.0/8)

• Replaced Exterior Gateway Protocol (EGP) to remove reliance on NSFNet network

• Fully decentralized routing

• Used by ISPs, not users

Page 39: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Autonomous Systems (AS)

• Collection of connected IP routing prefixes

Page 40: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Autonomous Systems (AS)

• Collection of connected IP routing prefixes

• AS number (ASN) uniquely defines each network on the Internet

Page 41: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Autonomous Systems (AS)

• Collection of connected IP routing prefixes

• AS number (ASN) uniquely defines each network on the Internet

• Over 37 000 in 2011 (vs ~5000 in 1999)

Page 42: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Autonomous Systems (AS)

• Collection of connected IP routing prefixes

• AS number (ASN) uniquely defines each network on the Internet

• Over 37 000 in 2011 (vs ~5000 in 1999)

• Assigned by IANA

Page 43: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Autonomous Systems (AS)

• Collection of connected IP routing prefixes

• AS number (ASN) uniquely defines each network on the Internet

• Over 37 000 in 2011 (vs ~5000 in 1999)

• Assigned by IANA

• Transit and connectivity (eXchange Points)

Page 44: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

BGP tables

Page 45: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Source: Bill Cheswick, Lumeta Corp

Page 46: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland
Page 47: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Internet Traffic

Source: Stephen Eick, Bell Labs / Visual Insight

Page 48: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Internet Authorities

• IANA (Jon Postel at ISI)

• Internet Assigned Numbers Authority

• ICANN (founded 1998)

• Internet Corporation for Assigned Names and Numbers

• COICA (Combating Online Infringement and Counterfeits Act)

Page 49: What is the Internet?silenok.com/content/InternetBasicPrinciples.pdfCogent Communications Distributed using anycast 6/0 BIND D 128.8.10.90 AS27 terp.umd.edu University of Maryland

Questions/Suggestions?

• Elena Silenok

[email protected], twitter: @silenok

• Charlie Robbins

[email protected], twitter: @nodejitsu