Week3 2
Week3 2
Client wants IP for www.amazon.com; 1st approx: client queries a root server to find com DNS server client queries com DNS server to get amazon.com DNS server client queries amazon.com DNS server to get IP address for www.amazon.com
Adapted from Computer Networking JFK & KWR 3
organizations DNS servers, providing authoritative hostname to IP mappings for organizations servers (e.g., Web, mail). can be maintained by organization or service provider
Adapted from Computer Networking JFK & KWR 4
when host makes DNS query, query is sent to its local DNS server
acts as proxy, forwards query into hierarchy
Adapted from Computer Networking JFK & KWR 5
contacted server replies with name of server to contact I dont know this name, but ask this server
requesting host
cis.poly.edu
gaia.cs.umass.edu
Adapted from Computer Networking JFK & KWR 6
2 7 6
8
authoritative DNS server dns.cs.umass.edu
requesting host
cis.poly.edu
gaia.cs.umass.edu
Adapted from Computer Networking JFK & KWR 7
10
File, size F dN uN
us
11
P2P Client-Server
10
15
20
25
30
35
Chapter 2: Summary
our study of network apps now complete!
application architectures
client-server P2P hybrid
specific protocols:
2: Application Layer
13
Chapter 2: Summary
Most importantly: learned about protocols
typical request/reply message exchange:
client requests info or service server responds with data, status code
Important themes: control vs. data msgs in-band, out-of-band centralized vs. decentralized stateless vs. stateful reliable vs. unreliable msg transfer complexity at network edge
2: Application Layer
14
TCP
UDP
Transport Layer
IP
Ethernet ireless W
15
16
Chapter 3 outline
3.1 Transport-layer services 3.5 Connection-oriented transport: TCP 3.2 Multiplexing and segment structure demultiplexing reliable data transfer 3.3 Connectionless flow control transport: UDP connection management 3.4 Principles of reliable 3.6 Principles of data transfer congestion control 3.7 TCP congestion control
17
18
19