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