1
1
John Magee
8 July 2013 Some images courtesy Wikimedia Commons
CS101 Lecture 6: Internetworking:
Internet Protocol, IP Addresses, Routing, DNS
2
Overview/Questions What does Internet Protocol actually do? What is - - PDF document
CS101 Lecture 6: Internetworking: Internet Protocol, IP Addresses, Routing, DNS John Magee 8 July 2013 Some images courtesy Wikimedia Commons 1 Overview/Questions What does Internet Protocol actually do? What is an IP address? How
1
8 July 2013 Some images courtesy Wikimedia Commons
2
Q: Other human protocols?
Got the time?
TCP connection response Get http://www.awl.com/kurose-ross
time
Introduction 1-3
TCP connection request
(http://en.wikipedia.org/wiki/Packet_switched_network)
roughly hierarchical at center: small # of well-connected large networks
Level3), national & international coverage
Tier 1 ISP Tier 1 ISP
Introduction 1-5
Large Content Distributor (e.g., Google) Large Content Distributor (e.g., Akamai)
IXP IXP Tier 1 ISP Tier-1 ISPs & Content Distributors, interconnect (peer) privately … or at Internet Exchange Points IXPs
6
9
A four-layer model of network interaction to facilitate communication standards. Each layer deals with a particular aspect of network communication. Network protocols are usually specific to one layer of this model. IP is a layer 2 protocol.
Transport Layer 3-10
network layer: logical
transport layer: logical
– relies on, enhances, network layer services
processes = kids app messages = letters in
hosts = houses transport protocol = Ann
network-layer protocol =
11
– TCP guarantees delivery of packets as well as data integrity.
– UDP does not guarantee delivery of packets. – Does provide data integrity of packets
Transport Layer 3-12
reliable, in-order delivery
– congestion control – flow control – connection setup unreliable, unordered
– no-frills extension of “best- effort” IP services not available: – delay guarantees – bandwidth guarantees
application transport network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical
13
14
Layering of key network protocols (diagram showing internet (2), transport (3), and application (4) layers
15
Some high-level protocols which rely upon Internet Protocol, and the ports they use.
Port A numeric designation that corresponds to a particular high-level protocol
16
17
18
Class A: first byte network number, and three bytes for host number. Class B: first two bytes for network number, and two bytes for host number Class C: first three bytes for network number, and one byte for host number
An IP address is stored in four bytes
19
Class Leading Bits Number of Networks Addresses/Network Class A 128 16,777,214 Class B 10 16,384 65,534 Class C 110 2,097,152 254
20
21
22
– packet length – source and destination IP addresses – fragment sequence – time to live (number of hops remaining).
23
24
United Airlines Route map, source: http://www.united.com/page/article/0,6722,1020,00.html
25
26
IAD to PDX (cancelled) IAD to ORD to PDX (2 hops) IAD to DEN to PDX (2 hops) IAD to LAX to PDX (2 hops) IAD to DFW to DEN to PDX (3 hops)
27
28
29
30
31
32
33
34
35