Escolar Documentos
Profissional Documentos
Cultura Documentos
Jennifer Rexford
Fall 2014 (TTh 3:00-4:20 in CS 105)
COS 561: Advanced Computer Networks
http://www.cs.princeton.edu/courses/archive/fall14/cos561/
Multipath
Mobile user
WiFi and cellular at the same time
High-end servers
Multiple Ethernet cards
Data centers
Rich topologies with many paths
Benefits of multipath
Higher throughput
Failover from one path to another
Seamless mobility
Multiple paths
Sequence of links between sender and receiver
E.g., four-tuple of source and dest address and port
Multiple subflows
Flow of TCP segments over an individual path
All associated with a single TCP connection
B
Each host tells its Initial
Sequence Number (ISN)
to the other host.
Bs port
Acknowledgment
20
Flags
Checksum
Advertised window
Urgent pointer
Options (variable)
As port
As ISN plus 1
20
Flags
Checksum
Advertised window
Urgent pointer
Options (variable)
Bs port
Sequence number
Flags: SYN
FIN
RST
PSH
URG
ACK
Bs ISN plus 1
20
Flags
Checksum
Advertised window
Urgent pointer
Options (variable)
Sequence Number
Host A
ISN (initial sequence number)
Sequence
number = 1st
byte
Host B
TCP Data
TCP Data
10
TCP Header
Source port
Destination port
Sequence number
Flags: SYN
FIN
RST
PSH
URG
ACK
Acknowledgment
HdrLen 0
Flags
Advertised window
Checksum
Urgent pointer
Options (variable)
Data
11
Data ACKd
Outstanding
Un-ackd data
Data OK
to send
Data not OK
to send yet
12
Destination port
Sequence number
Flags: SYN
FIN
RST
PSH
URG
ACK
Acknowledgment
HdrLen 0
Flags
Advertised window
Checksum
Urgent pointer
Options (variable)
Data
13
time
Examples
Maximum segment size (MSS)
Window scaling
Support for Selected ACKs
But, some middleboxes:
Unknown options
Ignored by receiving host
15
Incremental Deployment
Challenges
16
17
From http://queue.acm.org/detail.cfm?id=2591369
18
20
Challenges: NAT
Network Address Translators (NAT)
Problem: NAT changes the IP address and port number
WiFi
LTE
NAT1
NAT2
22
Challenges: Security
Security
Malicious parties creating subflows
To highjack (part of) the connection
24
Sequence Numbers
Challenges across subflows
Out-of-order packets due to RTT differences
Access networks that rewrite sequence numbers
Middleboxes upset by discontinuous TCP byte stream
Need to retransmit lost packets on a different subflow
Enables
Efficient detection of loss on each subflow
Retransmission of lost packet on a different subflow
25
27
28
Failover
If WiFi becomes unavailable
iOS 7 will use the cellular data connection
29
30
A multipath
TCP flow with
two subflows
Regular TCP
12Mb/s
12Mb/s
12Mb/s
32
12Mb/s
8Mb/s
12Mb/
s
8Mb/s
12Mb/
s
8Mb/s
33
12Mb/s
9Mb/s
9Mb/s
12Mb/s
12Mb/s
9Mb/s
34
12Mb/s
12Mb/s
12Mb/s
12Mb/s
12Mb/s
12Mb/s
35
12Mb/s
12Mb/s
12Mb/s
12Mb/s
12Mb/s
12Mb/s
Discussion
37