Physical Layer 12 � Service Application � Move information between two systems connected by a physical link Presentation � Interface Session � Specifies how to send one bit Transport � Protocol � Encoding scheme for one bit Network � Voltage levels Data Link � Timing of signals � Examples: coaxial cable, fiber Physical optics, radio frequency transmitters
Data Link Layer 13 � Service Application � Data framing: boundaries between packets Presentation � Media access control (MAC) � Per-hop reliability and flow-control Session � Interface Transport � Send one packet between two hosts Network connected to the same media � Protocol Data Link � Physical addressing (e.g. MAC address) Physical � Examples: Ethernet, Wifi, DOCSIS
Network Layer 14 � Service Application � Deliver packets across the network � Handle fragmentation/reassembly Presentation � Packet scheduling Session � Buffer management Transport � Interface � Send one packet to a specific destination Network � Protocol Data Link � Define globally unique addresses Physical � Maintain routing tables � Example: Internet Protocol (IP), IPv6
Transport Layer 15 � Service Application � Multiplexing/demultiplexing connections � Congestion control Presentation � Reliable, in-order delivery Session � Interface Transport � Send message to a destination’s port � Protocol Network � Port numbers Data Link � Reliability/error correction � Flow-control information Physical � Examples: UDP , TCP
Session Layer 16 � Service Application � Access management Presentation � Synchronization Session � Interface Transport � It depends… � Protocol Network � Token management Data Link � Insert checkpoints Physical � Examples: none
Presentation Layer 17 � Service Application � Convert data between different representations Presentation � E.g. big endian to little endian Session � E.g. Ascii to Unicode Transport � Interface � It depends… Network � Protocol Data Link � Define data formats � Apply transformation rules Physical � Examples: none
Application Layer 18 Application � Service Presentation � Whatever you want :) � Interface Session � Whatever you want :D Transport � Protocol Network � Whatever you want ;) Data Link � Examples: turn on your smartphone and look at the list of apps Physical
Encapsulation 19 How does data move through the layers? Application Data Presentation Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Data Presentation Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Data Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Data Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Link Data Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Link Physical Data
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Link Physical Data
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Network Data Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Transport Data Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Session Data Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Presentation Data Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Application Data Presentation Session Transport Network Data Link Physical
Encapsulation 19 How does data move through the layers? Data Application Presentation Session Transport Network Data Link Physical
Real Life Analogy 20
Real Life Analogy 20 Label contains routing info
Real Life Analogy 20 Postal Service
Real Life Analogy 20 Un-packing Postal Service
Real Life Analogy Doesn’t know how the Postal network works 20 Doesn’t know contents of letter Postal Service
Network Stack in Practice 21 Host 1 Host 2 Router Application Application Presentation Presentation Session Session Transport Transport Network Network Network Data Link Data Link Data Link Physical Physical Physical
Network Stack in Practice 21 Router Host 2 Host 1 Application Application Transport Transport Network Network Network Data Link Data Link Data Link Physical Physical Physical
Network Stack in Practice 21 Router Host 2 Host 1 Application Application Transport Transport Network Network Network Data Link Data Link Data Link
Network Stack in Practice 21 Router Host 2 Host 1 FTP Client FTP Server TCP TCP IP IP IP Ethernet Ethernet Ethernet
Network Stack in Practice 21 Router Host 2 Host 1 FTP Client FTP Server TCP TCP IP IP IP Ethernet Ethernet Ethernet
Network Stack in Practice 21 Router Host 2 Host 1 Video Server Video Client UDP UDP IP IP IP Ethernet Ethernet Ethernet
Network Stack in Practice 21 Router Host 2 Host 1 Video Server Video Client UDP UDP IP IP IP 802.11n 802.11n 802.11n
Encapsulation, Revisited 22 Web Server TCP IP Ethernet
Encapsulation, Revisited 22 Web Web Page Server TCP IP Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP IP Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page IP Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page TCP Segment IP Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page TCP Segment TCP HTTP Web IP IP Header Header Header Page Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page TCP Segment TCP HTTP Web IP IP Header Header Header Page IP Datagram Ethernet
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page TCP Segment TCP HTTP Web IP IP Header Header Header Page IP Datagram TCP HTTP Web IP Ethernet Ethernet Ethernet Header Header Header Page Header Trailer
Encapsulation, Revisited 22 HTTP Web Web Header Page Server TCP HTTP Web TCP Header Header Page TCP Segment TCP HTTP Web IP IP Header Header Header Page IP Datagram TCP HTTP Web IP Ethernet Ethernet Ethernet Header Header Header Page Header Trailer Ethernet Frame
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP IPv4 Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP IPv4 Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP IPv4 Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP IPv4 Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP IPv4 Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … TCP , UDP , ICMP Think about the difficulty of IPv4 deploying IPv6… Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
The Hourglass 23 HTTP , FTP , RTP , IMAP , Jabber, … • One Internet layer means all networks TCP , UDP , ICMP interoperate • All applications function on all networks IPv4 • Room for development above and below IP • But, changing IP is insanely hard Ethernet, 802.11x, DOCSIS, … Fiber, Coax, Twisted Pair, Radio, …
Orthogonal Planes 24 Application Presentation Session Transport IP Data Link Physical
Orthogonal Planes 24 Data Plane Application Presentation Session Transport IP Data Link Physical
Orthogonal Planes 24 Data Plane Application Presentation Session Transport IP Control Plane BGP RIP OSPF Data Link Physical
Orthogonal Planes 24 Data Plane Application Presentation Well cover this later… Session Transport IP Control Plane BGP RIP OSPF Data Link Physical
Reality Check 25
Reality Check 25 � The layered abstraction is very nice � Does it hold in reality? No.
Recommend
More recommend