Professional Documents
Culture Documents
datagram
link layer has responsibility of
transferring datagram from one node enterprise
network
to physically adjacent node over a link
Link Layer: 6-4
Link layer: context
datagram transferred by transportation analogy:
different link protocols over trip from Princeton to Lausanne
different links: • limo: Princeton to JFK
• e.g., WiFi on first link, Ethernet • plane: JFK to Geneva
on next link • train: Geneva to Lausanne
combination of hardware,
software, firmware network interface
B’ C
A’ A A’
S4
S1
S3
A S2
F
D I
B C
G H
E
S1
S3
A S2
F
D I
B C
G H
E
IP subnet
6-206-20
Link Layer:
Link layer, LANs: roadmap
introduction
error detection, correction
multiple access protocols
LANs
• addressing, ARP
• Ethernet
• switches
• VLANs
a day in the life of a web
link virtualization: MPLS
request
data center networking
2 8 10 16
switch(es) supporting
… …
VLAN capabilities can be
EE (VLAN ports 1-8) CS (VLAN ports 9-15)
configured to define
multiple virtual LANS … operates as multiple virtual switches
over single physical LAN
infrastructure.
1 7 9 15
2 8 10 16
… …
EE (VLAN ports 1-8) CS (VLAN ports 9-15)
2 8 10 16
1 7 9 15 1 3 5 7
2 8 10 16 2 4 6 8
… … …
EE (VLAN ports 1-8) CS (VLAN ports 9-15) Ports 2,3,5 belong to EE VLAN
Ports 4,6,7,8 belong to CS VLAN
type
challenges:
multiple applications, each serving
massive numbers of clients
reliability
managing/balancing load, avoiding
processing, networking, data
Inside a 40-ft Microsoft container, Chicago data center
bottlenecks
Link Layer: 6-30
Datacenter networks: network elements
Border routers
connections outside datacenter
Tier-1 switches
connecting to ~16 T-2s below
Tier-2 switches
connecting to ~16 TORs below
… … … …
Top of Rack (TOR) switch
… … … …
one per rack
40-100Gbps Ethernet to blades
Server racks
20- 40 server blades: hosts
9 10 11 12 13 14 15 16
Sounds
web server Google’s network
simple!
64.233.169.105 64.233.160.0/19
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-42
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
Eth
SYNACK
SYN
Phy Comcast 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 TCP
SYNACK
SYN IP
TCP SYNACK (step 2 in TCP 3-
SYNACK
SYN Eth way handshake)
Phy
Google web server
TCP connection established!
64.233.169.105