Rearrange network configuration