Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lecture 3: CSCI E-1 Spring 2013
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Tommy MacWilliam
February 25, 2013
Education
570
0
Share
Lecture 3: CSCI E-1 Spring 2013
Tommy MacWilliam
February 25, 2013
More Decks by Tommy MacWilliam
See All by Tommy MacWilliam
Lecture 9: CSCI E-1 Spring 2013
tmacwill
0
360
Lecture 8: CSCI E-1 Spring 2013
tmacwill
0
580
Lecture 6: CSCI E-1 Spring 2013
tmacwill
1
510
Lecture 7: CSCI E-1 Spring 2013
tmacwill
0
710
Lecture 5: CSCI E-1 Spring 2013
tmacwill
1
800
Incorporating Version Control into Programming Courses
tmacwill
1
130
Lecture 4: CSCI E-1 Spring 2013
tmacwill
0
470
Lecture 2: CSCI E-1 Spring 2013
tmacwill
0
910
Lecture 1: CSCI E-1 Spring 2013
tmacwill
0
340
Other Decks in Education
See All in Education
良い塩梅を実現する、AWSネットワーク3分クッキング
masakiokuda
1
240
応募課題(’25広島)
forget1900
0
1.3k
AI進化史:LLMからAIエージェントへ
mickey_kubo
0
160
2026年度春学期 統計学 第4回 データを「分布」で見る (2026. 4. 30)
akiraasano
PRO
0
100
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
2.7k
SSH公開鍵認証 / 02-b-ssh
kaityo256
PRO
0
160
SL AMIGOS 教育格差と私たちの取り組み - スリランカの支援学校への支援プロジェクト:リシンドゥ リオ 氏 (別府溝部学園短期大学 ビジネス観光コース 留学生):2720 Japan O.K. ロータリーEクラブ2026年4月6日卓話
2720japanoke
0
560
Data Physicalisation - Lecture 9 - Next Generation User Interfaces (4018166FNR)
signer
PRO
1
950
Human-AI Interaction - Lecture 11 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
970
Gitの仕組みと用語 / 01-b-term
kaityo256
PRO
1
350
生成AIを授業の相棒にするデータサイエンス入門(「デジタル✕探究」イノベーターズフォーラム テクニカルセッション講演資料)
datascientistsociety
PRO
0
190
Measuring what matters
jonoalderson
0
280
Featured
See All Featured
Visualization
eitanlees
150
17k
Fireside Chat
paigeccino
42
3.9k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
Marketing to machines
jonoalderson
1
5.2k
Accessibility Awareness
sabderemane
1
110
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
380
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Become a Pro
speakerdeck
PRO
31
5.9k
Transcript
Computer Science E-1 Lecture 3: Internet
From last time...
http://youtu.be/j84eEjP-RL4
Review: March 4
http://youtu.be/9ntPxdWAWq8
traceroute cnn.com
Clients v. Servers
Routers
Network
None
None
None
Internet Service Provider
None
LAN
WAN
None
traceroute reddit.com
IP Address
10.251.202.239
4,294,967,296
“640K ought to be enough for anybody”
IPv4
IPv6
http://www.worldipv6launch.org/
2001:0db8:85a3:0042: 1000:8a2e:0370:7334
340,282,366,920,938,463,463,374, 607,431,768,211,456
http://samsclass.info/ipv6/ exhaustion.htm
http://www.google.com/ipv6/ statistics.html#tab=ipv6-adoption
Private IP Address
10.*.*.* 172.16.*.* 192.168.*.*
NAT
Device Private IP Public IP Source Port Macbook 10.0.0.1 74.125.26.228
1000 iPhone 10.0.0.2 74.125.26.228 1001 iPad 10.0.0.3 74.125.26.228 1002
NAT Request • request from 10.0.0.1 reaches router
NAT Request • request from 10.0.0.1 reaches router • router
looks up source port for 10.0.0.1
NAT Request • request from 10.0.0.1 reaches router • router
looks up source port for 10.0.0.1 • router changes source IP to 74.125.26.228, adds source port 1000
NAT Request • request from 10.0.0.1 reaches router • router
looks up source port for 10.0.0.1 • router changes source IP to 74.125.26.228, adds source port 1000 • router sends modified request to destination
NAT Response • router receives response to 74.125.26.228 with source
port 1000
NAT Response • router receives response to 74.125.26.228 with source
port 1000 • router looks up IP address for source port 1000
NAT Response • router receives response to 74.125.26.228 with source
port 1000 • router looks up IP address for source port 1000 • router forwards response to original client
http://www.whatismyip.com/
DHCP
DHCP • Client broadcasts “I would like to join”
DHCP • Client broadcasts “I would like to join” •
Server responds “I can help”
DHCP • Client broadcasts “I would like to join” •
Server responds “I can help” • Client requests an IP address
DHCP • Client broadcasts “I would like to join” •
Server responds “I can help” • Client requests an IP address • Server offers client an IP address
DHCP • Client broadcasts “I would like to join” •
Server responds “I can help” • Client requests an IP address • Server offers client an IP address • Client confirms IP address
None
Connection Speeds
None
Wireless Networks
WEP, WPA, WPA2
3G, 4G
Firewall
None
VPN
Domains
DNS
HOSTS.TXT
DNS Server
Root DNS Server
root-servers.org
TLD DNS Server
Authoritative Name Server
Domain Resolution • hosts file?
Domain Resolution • hosts file? • cache DNS server?
Domain Resolution • hosts file? • cache DNS server? •
root DNS server
Domain Resolution • hosts file? • cache DNS server? •
root DNS server • TLD DNS server
Domain Resolution • hosts file? • cache DNS server? •
root DNS server • TLD DNS server • authoritative name server
http://www.simpledns.com/lookup- dg.aspx
None
Net Neutrality
None
http://www.popsci.com/technology/article/ 2010-07/order-seven-cyber-guardians- around-world-now-hold-keys-internet
Configuring DNS
None
DNS Records • NS: name servers • MX: email •
A: IPv4 address • AAAA: IPv6 address • CNAME: domain alias
TLDs
TLD Usage .com Companies .edu Education .gov US Government .info
Information .mil US Military .net Networks .org Organizations
ccTLDs
ccTLDs • bit.ly: Libya • about.me: Montenegro • del.icio.us: US
• nic.tm: Turkmenistan
http://gtldresult.icann.org/
Registrars
URL
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Scheme
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Authentication
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Domain
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Port
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Path
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Query String
http://username:password@ foo.example.com:1234/cs/e1/is.html ?fun=yes&boring=no#awesome Fragment
Key-Value Pairs
query=cse1&page=3 • client • the query I want is cse1
• the page I want is 3 • server • what query and page should I look for?
q=e&1?
URL Encoding
q=e%261%3F
URI
urn:isbn:9780811822749
http://cse1.net/psets/pset3.pdf
API
http://developer.mbta.com/lib/rthr/ red.json
https://developers.facebook.com/ tools/explorer/
http://youtu.be/Ve7_4ot-Dzs
Summary
Networking • router • IP address • ISP • network
• WAN, LAN • IPv6 • private IP address • NAT • DHCP • 802.11n • 3G, 4G • mbps • firewall • VPN
Domain Name System • DNS • domains • hosts file
• root DNS server • TLD DNS server • authoritative name server • net neutrality • A record • CNAME record • TLD, ccTLD • registrar • URL • URI • API
Computer Science E-1 Lecture 3: Internet