Modeling and Measuring Link Capacity in Communication Networks