Week14 - Lec1-DLL Wrap Up
Week14 - Lec1-DLL Wrap Up
Week14 - Lec1-DLL Wrap Up
DLL Wrap Up
Synthesis: a day in the life of a web request
our journey down the protocol stack is now complete!
• application, transport, network, link
putting-it-all-together: synthesis!
• goal: identify, review, understand protocols (at all layers) involved in
seemingly simple scenario: requesting www page
• scenario: student attaches laptop to campus network, requests/receives
www.google.com
Sounds
web server Google’s network
simple!
64.233.169.105 64.233.160.0/19
ARP IP
DNS
ARP query Eth arriving mobile:
Phy ARP client DNS query created, encapsulated in UDP,
encapsulated in IP, encapsulated in Eth. To
send frame to router, need MAC address of
router interface: ARP
ARP ARP query broadcast, received by router, which
Eth
replies with ARP reply giving MAC address of
ARP reply
Phy
router has router interface
ARP server
client now knows MAC address of first hop
router, so can now send frame containing
DNS query
Comcast network
68.80.0.0/13
IP datagram
IP datagram forwarded from campus
containing DNS query
network into Comcast network,
forwarded via LAN
routed (tables created by RIP, OSPF,
switch from client to
IS-IS and/or BGP routing protocols)
1st hop router
to DNS server
Link Layer: 6-7
A day in the life…TCP connection carrying HTTP
HTTP
HTTP to send HTTP request,
SYNACK
SYN TCP
SYNACK
SYN IP client first opens TCP
SYNACK
SYN Eth
Phy Airtel network
socket to web server
68.80.0.0/13
TCP SYN segment (step 1 in TCP
3-way handshake) inter-domain
routed to web server
web server responds with
SYNACK
SYN
SYNACK
SYN
TCP
IP
TCP SYNACK (step 2 in TCP 3-
SYNACK
SYN Eth way handshake)
Phy
Google web server
TCP connection established!
64.233.169.105