Networking_Formulas
Networking_Formulas
To divide a network into subnets, you need to borrow bits from the host part of the address.
- Number of Subnets:
where h is the number of host bits (total bits - network bits). Subtract 2 for the network and
broadcast addresses.
- Subnet Increment:
- Transmission Time:
The time it takes for a signal to travel from the sender to the receiver and back:
3. CSMA/CD
To detect collisions, the minimum frame size must ensure the sender detects collisions before it
- Efficiency of CSMA/CD:
Efficiency is determined by the ratio of time spent transmitting data to the total time for
- TCP Throughput:
The throughput is influenced by the sender's window size and the round-trip time:
Product:
The maximum throughput for a sliding window protocol is determined by the window size and RTT:
The efficiency of a sliding window protocol depends on the round-trip time and window size:
The Bandwidth-Delay Product gives the maximum amount of data that can be "in transit" at one
time. It's used to determine the optimal window size for a TCP connection:
Where:
- Bandwidth is in bps.
- RTT is in seconds.
The maximum utilization of a token ring network is given by the ratio of the transmission time to the
- Link Utilization:
The link utilization can be calculated as the ratio of transmission time to the total time (transmission
The minimum Ethernet frame size is calculated by ensuring that the transmission time is long
For efficient sliding window protocol operation, the maximum window size is calculated based on
- Leaky Bucket Algorithm: Ensures that data is sent at a constant rate, even if the incoming data rate
is bursty.