Dina Katabi
dk@mit.edu www.nms.lcs.mit.edu/~dina
Administrative Information
Instructors
Dina Katabi (dk@mit.edu)
Office Hours in 32-G936 on Tue 2:30pm-3:30pm
Michael Lewy
Phone (617) 253-6171
Course Webpage
http://nms.lcs.mit.edu/~dina/6.263
Grades
HW (weekly) Project Midterm Final 10% 30% 25% 35%
Syllabus
Routing & Switching Queuing Wireless Congestion Control Compression & Coding Network Security
Datagram Network
Switched networks
Circuit Switching
Three phases:
1.
Host 1 Node 1 Node 2 Host 2
2. 3.
Circuit Establishment: allocates certain bandwidth and establish a path Data Transfer Circuit Termination
(1)
(2)
DATA
(3)
Switch
Frames
Slots = 0 1 2 3 4 5
0 1 2 3 4 5
Communication Network Switched Communication Network Packet-Switched Communication Network Datagram Network Virtual Circuit Network
10
Per-packet routing At each node the entire packet is received, stored, and then forwarded (Store-andForward Networks) No capacity is allocated E.g. The Internet
11
Router
Queue
12
Host E
13
All data in a single flow follows Different packets might follow one path different paths No Reordering of data Packets may be reordered
14
Communication Network Switched Communication Network Packet-Switched Communication Network Datagram Network Virtual Circuit Network
15
16
Node 1
Node 2
VC establishment
Data transfer
VC termination
17
Host E
18
In Reality
The Internet is a datagram network But part of the Internet use circuit-switching (Phone links) or virtual circuit (ATM) The Internet works by abstracting an ATM region or a circuit-switched region as a single link
19
20
Addressing
A network is a graph Each node should have an address
E.g., IP addresses, Phone numbers
21
22
Internet Routing
(see BG-5.2.3 for Algs.)
23
Forwarding
Whats the difference between routing and forwarding?
Routing is finding the path Forwarding is the action of sending the packet to the next-hop toward its destination
R1
A C F B E G
Router
R2 R3
Dest. Addr
A B C E F G
Next-hop
R1 R2 R1 R3 R1 R3
Forwarding:
For every packet, we need to look up the next hop toward its destination in the table
24
AS-3
AS-2
Problem: find minimum cost path between two nodes (Shortest path) Factors
4 C
A 3 B 9 1 1 D 1
6 2 E F
26
R1
2
R2
2
R4
3
R6
3 2
R3
R5
R7
R8
27
R2
2
R4
4 3
R6
2 3
R3
R5
R7
R8
The shortest paths from all sources to a destination (e.g., R8) is the spanning tree routed at that destination.
28