Gateway distribution