Transport Layer: Computer Networking: A Top Down Approach
Transport Layer: Computer Networking: A Top Down Approach
Transport Layer
Computer Networking: A
Top Down Approach
4th edition.
Jim Kurose, Keith Ross
Addison-Wesley, July
2007.
Last Lecture
Todays Lecture
Network Layer
IP Header
Fragmentation/Reassembly
Sample RTT
Sample RTT fluctuates from segment to segment
EstimatedRTT
TCP maintains an average of Sample RTT (RFC 2988)
EstimatedRTT = (1- )*EstimatedRTT + *SampleRTT
The new value of Estimated RTT is a weighted combination of
the previous value of Estimated RTT plus new value of Sample
RTT.
congestion
TCP takes arrival of ACKs as successful delivery
Self Clocking
TCP uses ACKs to trigger its increase in congestion window size
Host A
RTT
Host B
one segm
en
two segm
ents
four segm
ents
time
Chapter 4
Network Layer
Computer Networking: A
Top Down Approach
4th edition.
Jim Kurose, Keith Ross
Addison-Wesley, July
2007.
Network layer
Transport segment from sending to receiving host
On sending side encapsulates segments into
datagrams
On receiving side, delivers segments to transport
layer
Network layer protocols in routers
Router examines header fields in all IP datagrams
passing through it
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
network
data
link
data link
physical
physical
network
data link
physical
network
data link
physical
network
data link
physical
network
data link
physical
application
transport
network
data link
physical
Forwarding Table
o Router Forwards a
packet by examining the
destination address of the
packet
o Routing Algorithm
value in arriving
determines the values
packets header
that are inserted in the
routers forwarding tables
0100
0101
0111
1001
0111
3
2
2
1
1
3 2
Network Layer
Host, router network layer functions:
Transport layer: TCP, UDP
Network
layer
IP protocol
addressing conventions
datagram format
packet handling conventions
Routing protocols
path selection
RIP, OSPF, BGP
forwarding
table
ICMP protocol
error reporting
router signaling
Link layer
physical layer
type of
ver head.
len service
length
fragment
16-bit identifier flgs
offset
time to
header
protocol
live
checksum
total datagram
length (bytes)
for
fragmentation/
reassembly
data
(variable length,
a TCP
or UDP segment)
e.g. timestamp,
record route
taken etc
Find other use?
fragmentation:
in: one large datagram
out: 3 smaller datagrams
reassembly
header
Identification Number
o
o
Flag Bit
o
o
Offset Field
o
Flag
1st Fragment
1480 bytes
777
2nd Fragment
1480 bytes
777
185
1 (there is more)
3rd Fragment
1020 bytes
777
370
0 (Last )
1 (there is more)