Performance Analysis of Gateway Load Balancing in Ad Hoc Networks With Random Topologies