Exam Flashcards
What are the 5 layers?
Application, Transport, Network, Link, Physical
What is c/s architecture?
Client/Server. Always on central server that requests and receives services from client devices
what is p2p archetecture.
Peer-to-peer. No central server, just peers pooling resources
Formula for dtrans
dtrans = L/R (packet size[bits]/ link bandwidth[bits/sec])
Formula non-persistant HTTP response time
2RTT + dtrans for file and each object
Throughput formula
min rate along the path
Formula dnodal
dnodal = dproc + dqueue + dtrans + dprop
Formula dprop
dprop = m/s (length[m]/prop speed[m/s])
Formula de2e
de2e = total packet size/e2e throughput
How many bits is IPv4
32
How many bits is port number
16
What are the reserved port numbers
0-1023
What is UDP and how many bytes is the header
connectionless transport protocol, 8 byte header
How to do checksum
1’s complement sum. Add numbers and wrap around extra bit. Flip each bit. Add together and should be all 1’s
Formula utilization with no window size
U = L/R / (L/R) +RTT
Formula utilization with window size N
U = N(L/R) / (L/R) +RTT
What is TCP and how many bytes is the header
connection-oriented, needs handshake
Formula Estimated RTT
EstRTT = (1-a)estRTT + asampleRTT
Formula Dev RTT
DevRTT = (1-B)DevRTT + B|sampleRTT-estimatedRTT|
What is average TCP throughput
Avg TCP throughput ≈ 3/4 * W/RTT segments/sec
How many bits is IPv6
128
How big is IPv4 datagram
20B fixed, 40B optional
How big is IPv6 datagram
fixed 40 B
What does DHCP stand for
Dynamic Host Configuration Protocol